/* ===== CSS Variables ===== */
:root {
  --olive: #5c6b4f;
  --olive-dark: #4a5640;
  --olive-light: #7a8c6a;
  --cream: #e8d4b8;
  --cream-light: #f5ece1;
  --cream-dark: #d4be9e;
  --white: #ffffff;
  --black: #1a1a1a;
  --gray: #6b6b6b;
  --gray-light: #f5f5f5;
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --radius: 8px;
}

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

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

body {
  font-family: 'Maven Pro', sans-serif;
  color: var(--black);
  line-height: 1.7;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Philosopher', serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--olive-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

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

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

ul { list-style: none; }

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

section {
  padding: 5rem 0;
}

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

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
}

.header.scrolled .nav-link {
  color: var(--olive-dark);
}

.header.scrolled .logo-text {
  color: var(--olive-dark);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-family: 'Philosopher', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-family: 'Maven Pro', sans-serif;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.8;
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

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

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

.nav-link.active {
  color: var(--cream);
}

.header.scrolled .nav-link.active {
  color: var(--olive);
}

.header.scrolled .nav-link::after {
  background: var(--olive);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.header.scrolled .hamburger span {
  background: var(--olive-dark);
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 1rem 0;
  margin-top: 80px;
  background: var(--cream-light);
  border-bottom: 1px solid var(--cream-dark);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray);
}

.breadcrumb-list a {
  color: var(--olive);
}

.breadcrumb-list a:hover {
  color: var(--olive-dark);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--cream-dark);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(92, 107, 79, 0.5) 0%,
    rgba(26, 26, 26, 0.6) 100%
  );
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  padding: 2rem;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.8;
}

/* ===== Inner Page Hero ===== */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(92, 107, 79, 0.6);
  z-index: -1;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
}

.page-hero p {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: 'Maven Pro', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--olive-dark);
  transform: translateY(-2px);
}

.btn-cream {
  background: var(--cream);
  color: var(--olive-dark);
  border-color: var(--cream);
}

.btn-cream:hover {
  background: var(--cream-dark);
  border-color: var(--cream-dark);
  transform: translateY(-2px);
}

/* ===== Section Headings ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--olive-light);
  margin-bottom: 0.5rem;
}

/* ===== About Preview (Index) ===== */
.about-preview {
  background: var(--cream-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* ===== Features / Amenities ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

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

.cabin-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.cabin-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.cabin-card-image {
  height: 250px;
  overflow: hidden;
}

.cabin-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cabin-card:hover .cabin-card-image img {
  transform: scale(1.05);
}

.cabin-card-content {
  padding: 1.5rem;
}

.cabin-card-content h3 {
  margin-bottom: 0.75rem;
}

.cabin-card-content p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.cabin-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cabin-amenity-tag {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  background: var(--cream-light);
  color: var(--olive-dark);
  border-radius: 20px;
}

.cabin-price {
  font-family: 'Philosopher', serif;
  font-size: 1.3rem;
  color: var(--olive);
  font-weight: 700;
}

.cabin-price span {
  font-family: 'Maven Pro', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(92, 107, 79, 0);
  transition: var(--transition);
}

.gallery-item:hover::after {
  background: rgba(92, 107, 79, 0.3);
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

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

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-card .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-light);
  border-radius: 50%;
}

.contact-info-card h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-info-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

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

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: 'Maven Pro', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(92, 107, 79, 0.15);
}

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

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

/* ===== Map ===== */
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.map-wrapper iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--olive);
  color: var(--white);
}

.testimonials .section-header h2 {
  color: var(--white);
}

.testimonials .section-label {
  color: var(--cream);
}

.testimonials .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.testimonial-stars {
  color: var(--cream);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.testimonial-author {
  font-weight: 600;
  color: var(--cream);
  font-size: 0.9rem;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--cream);
  text-align: center;
  padding: 4rem 0;
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--olive-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 1.5rem;
}

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

.footer-brand .logo-text {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.8;
}

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

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.3rem 0;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

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

.footer-social a:hover {
  background: var(--cream);
  color: var(--olive-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== About Page ===== */
.about-story {
  background: var(--cream-light);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ===== Fade-in Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--olive-dark);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    transition: right 0.4s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    color: var(--white);
    font-size: 1.1rem;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

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

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

  section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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