/* ===== CSS Variables ===== */
:root {
  --sage: #6b8e6b;
  --sage-dark: #4a6e4a;
  --sage-light: #8aad8a;
  --lavender: #9b8bb4;
  --lavender-dark: #7a6a93;
  --lavender-light: #b5a8c8;
  --cream: #f8f6f3;
  --cream-dark: #ece8e1;
  --white: #ffffff;
  --text-dark: #2c2c2c;
  --text-medium: #555555;
  --text-light: #777777;
  --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);
  --transition: 0.3s ease;
  --max-width: 1200px;
  --nav-height: 72px;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Crimson Text', serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-medium);
}

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: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: rgba(248, 246, 243, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--sage), var(--lavender));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Crimson Text', serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-brand-text {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sage-dark);
}

.nav-brand-text span {
  color: var(--lavender);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-medium);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--lavender));
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sage-dark);
}

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

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: all var(--transition);
  border-radius: 2px;
}

.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);
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  padding: 1rem 0;
  margin-top: var(--nav-height);
}

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

.breadcrumbs a {
  color: var(--sage);
  transition: color var(--transition);
}

.breadcrumbs a:hover {
  color: var(--sage-dark);
}

.breadcrumbs .separator {
  color: var(--text-light);
}

.breadcrumbs .current {
  color: var(--text-medium);
  font-weight: 500;
}

/* ===== Hero ===== */
.hero {
  margin-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(248, 246, 243, 0.82), rgba(248, 246, 243, 0.75)), url('images/hero-hyssophouse.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem;
}

.accommodation-image img,
.service-image-placeholder img,
.about-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 139, 180, 0.1), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 142, 107, 0.1), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-tagline {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--lavender);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--sage-dark);
}

.hero h1 span {
  color: var(--lavender);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-medium);
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  color: var(--sage-dark);
}

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

.section-header .accent-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--lavender));
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--cream-dark);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
}

.feature-icon.sage {
  background-color: rgba(107, 142, 107, 0.12);
  color: var(--sage);
}

.feature-icon.lavender {
  background-color: rgba(155, 139, 180, 0.12);
  color: var(--lavender);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: var(--sage-dark);
}

.feature-card p {
  font-size: 0.95rem;
}

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

.accommodation-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  transition: all var(--transition);
}

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

.accommodation-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, rgba(107, 142, 107, 0.15), rgba(155, 139, 180, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.accommodation-content {
  padding: 1.75rem;
}

.accommodation-content h3 {
  margin-bottom: 0.5rem;
  color: var(--sage-dark);
}

.accommodation-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--lavender);
  font-weight: 500;
}

.accommodation-content p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

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

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(107, 142, 107, 0.1), rgba(155, 139, 180, 0.1));
  border: 1px solid var(--cream-dark);
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-overlay p {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-light);
  font-size: 0.85rem;
  gap: 0.5rem;
}

.gallery-placeholder .icon {
  font-size: 2rem;
  opacity: 0.5;
}

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

.lightbox.active {
  display: flex;
}

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

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

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

.about-text h2 {
  color: var(--sage-dark);
  margin-bottom: 1.5rem;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(107, 142, 107, 0.12), rgba(155, 139, 180, 0.12));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  border: 1px solid var(--cream-dark);
}

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

.value-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--cream-dark);
  transition: all var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-sm);
}

.value-card h4 {
  color: var(--sage-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.contact-info-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--cream-dark);
  margin-bottom: 1.5rem;
}

.contact-info-card h4 {
  color: var(--sage-dark);
  margin-bottom: 0.5rem;
}

.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--cream-dark);
}

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

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

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

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

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

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

/* ===== Map Placeholder ===== */
.map-placeholder {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, rgba(107, 142, 107, 0.08), rgba(155, 139, 180, 0.08));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  border: 1px solid var(--cream-dark);
  margin-top: 3rem;
}

/* ===== Services Page ===== */
.services-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even) > * {
  direction: ltr;
}

.service-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(107, 142, 107, 0.12), rgba(155, 139, 180, 0.12));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  border: 1px solid var(--cream-dark);
}

.service-details h3 {
  color: var(--sage-dark);
  margin-bottom: 1rem;
}

.service-details ul {
  margin-top: 1rem;
}

.service-details ul li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-medium);
  font-size: 0.95rem;
}

.service-details ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--lavender));
}

/* ===== Amenities Grid ===== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.amenity-item {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--cream-dark);
  transition: all var(--transition);
}

.amenity-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.amenity-item .icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.amenity-item h4 {
  font-size: 1rem;
  color: var(--sage-dark);
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--sage), var(--lavender));
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}

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

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

.cta-banner .btn {
  background: var(--white);
  color: var(--sage-dark);
  border: none;
}

.cta-banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

.footer-brand h3 span {
  color: var(--lavender-light);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--sage);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--sage-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== 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: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.85rem; }

  .hero h1 { font-size: 2.75rem; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .service-block:nth-child(even) {
    direction: ltr;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    padding: 0.85rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--cream-dark);
    width: 100%;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 { font-size: 2.25rem; }

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

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

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .hero-description { font-size: 1rem; }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 3.5rem 0;
  }
}
