/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --royal-blue: #1a3f7a;
  --royal-blue-dark: #122c56;
  --royal-blue-light: #2a5ca8;
  --cream: #f5ecd7;
  --cream-light: #faf6ed;
  --white: #ffffff;
  --text-dark: #1e1e1e;
  --text-muted: #5a5a5a;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lexend', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Marcellus', serif;
  line-height: 1.3;
  color: var(--royal-blue);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--cream {
  background-color: var(--cream-light);
}

.section--blue {
  background-color: var(--royal-blue);
  color: var(--white);
}

.section--blue h2,
.section--blue h3 {
  color: var(--cream);
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section--blue .section__subtitle {
  color: var(--cream);
  opacity: 0.85;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: 'Lexend', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn--primary {
  background-color: var(--royal-blue);
  color: var(--white);
  border-color: var(--royal-blue);
}

.btn--primary:hover {
  background-color: var(--royal-blue-dark);
  border-color: var(--royal-blue-dark);
}

.btn--outline {
  background-color: transparent;
  color: var(--royal-blue);
  border-color: var(--royal-blue);
}

.btn--outline:hover {
  background-color: var(--royal-blue);
  color: var(--white);
}

.btn--white {
  background-color: var(--white);
  color: var(--royal-blue);
  border-color: var(--white);
}

.btn--white:hover {
  background-color: var(--cream);
  border-color: var(--cream);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
  background-color: transparent;
}

.navbar--scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}

.navbar--scrolled .navbar__logo {
  color: var(--royal-blue);
}

.navbar--scrolled .navbar__link {
  color: var(--text-dark);
}

.navbar--scrolled .navbar__link:hover,
.navbar--scrolled .navbar__link--active {
  color: var(--royal-blue);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-family: 'Marcellus', serif;
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 400;
  transition: color var(--transition);
}

.navbar__logo span {
  color: var(--cream);
}

.navbar--scrolled .navbar__logo span {
  color: var(--royal-blue-light);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--white);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--cream);
  transition: width var(--transition);
}

.navbar__link:hover::after,
.navbar__link--active::after {
  width: 100%;
}

.navbar--scrolled .navbar__link::after {
  background-color: var(--royal-blue);
}

.navbar__link--active {
  font-weight: 500;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  z-index: 1001;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: all var(--transition);
}

.navbar--scrolled .navbar__hamburger span {
  background-color: var(--royal-blue);
}

.navbar__hamburger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== INNER PAGE NAVBAR (dark text by default) ===== */
.navbar--inner .navbar__logo {
  color: var(--royal-blue);
}

.navbar--inner .navbar__logo span {
  color: var(--royal-blue-light);
}

.navbar--inner .navbar__link {
  color: var(--text-dark);
}

.navbar--inner .navbar__link::after {
  background-color: var(--royal-blue);
}

.navbar--inner .navbar__link:hover,
.navbar--inner .navbar__link--active {
  color: var(--royal-blue);
}

.navbar--inner .navbar__hamburger span {
  background-color: var(--royal-blue);
}

.navbar--inner {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 1rem 0;
  margin-top: 70px;
  background-color: var(--cream-light);
  border-bottom: 1px solid rgba(26, 63, 122, 0.08);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs__link {
  color: var(--royal-blue);
}

.breadcrumbs__link:hover {
  text-decoration: underline;
}

.breadcrumbs__separator {
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumbs__current {
  color: var(--text-muted);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: linear-gradient(
    135deg,
    rgba(26, 63, 122, 0.85) 0%,
    rgba(18, 44, 86, 0.75) 100%
  );
  background-image: url('images/cabin1-a.webp');
  background-size: cover;
  background-position: center;
}

.hero__content {
  max-width: 750px;
  padding: 2rem;
}

.hero__tagline {
  font-family: 'Lexend', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero__description {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 6rem 0 3rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--royal-blue) 0%,
    var(--royal-blue-dark) 100%
  );
  color: var(--white);
}

.page-hero__title {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero__subtitle {
  font-size: 1.1rem;
  color: var(--cream);
  opacity: 0.9;
}

/* ===== ABOUT INTRO ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background-color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.about-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro__text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-intro__text p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* ===== FEATURES / AMENITIES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--royal-blue);
}

.feature-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== ROOMS GRID ===== */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.room-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.room-card__image {
  height: 240px;
  background-color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  overflow: hidden;
}

.room-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-card__body {
  padding: 1.75rem;
}

.room-card__title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.room-card__description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.room-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.room-card__tag {
  background-color: var(--cream-light);
  color: var(--royal-blue);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.room-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.room-card__price {
  font-family: 'Marcellus', serif;
  font-size: 1.3rem;
  color: var(--royal-blue);
}

.room-card__price span {
  font-family: 'Lexend', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
  background-color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 63, 122, 0.4);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox--open {
  display: flex;
}

.lightbox__image {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-sm);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: opacity var(--transition);
}

.lightbox__close:hover {
  opacity: 0.7;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 1rem;
  transition: opacity var(--transition);
}

.lightbox__nav:hover {
  opacity: 0.7;
}

.lightbox__nav--prev {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-color: var(--cream-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--royal-blue);
}

.contact-info__label {
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--royal-blue);
}

.contact-info__text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-info__text a {
  color: var(--royal-blue);
}

.contact-info__text a:hover {
  text-decoration: underline;
}

.contact-form {
  background-color: var(--cream-light);
  padding: 2.5rem;
  border-radius: var(--radius-md);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(26, 63, 122, 0.15);
  border-radius: var(--radius-sm);
  font-family: 'Lexend', sans-serif;
  font-size: 0.9rem;
  background-color: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--royal-blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ===== MAP ===== */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 3rem;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* ===== CTA SECTION ===== */
.cta {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    var(--royal-blue) 0%,
    var(--royal-blue-dark) 100%
  );
  color: var(--white);
}

.cta h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.1rem;
  color: var(--cream);
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.testimonial-card__stars {
  color: #f4b942;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-card__author {
  font-weight: 500;
  color: var(--royal-blue);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--royal-blue-dark);
  color: var(--white);
  padding: 4rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand h3 {
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background-color var(--transition);
}

.footer__social a:hover {
  background-color: var(--royal-blue-light);
}

.footer__column h4 {
  color: var(--cream);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer__column ul li {
  margin-bottom: 0.6rem;
}

.footer__column ul li a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.footer__column ul li a:hover {
  opacity: 1;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-intro {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar__hamburger {
    display: flex;
  }

  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
  }

  .navbar__menu--open {
    right: 0;
  }

  .navbar__menu .navbar__link {
    color: var(--text-dark);
    font-size: 1.05rem;
  }

  .navbar__menu .navbar__link::after {
    background-color: var(--royal-blue);
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 5rem 0 2.5rem;
  }

  .page-hero__title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.9rem;
  }

  .hero__description {
    font-size: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
