:root {
  --primary-dark: #2C3E50; /* Dark Navy/Charcoal */
  --primary-accent: #D4AF37; /* Muted Gold */
  --background-light: #FFFFFF; /* Pure White */
  --text-dark: #34495E; /* On white backgrounds */
  --text-light: #FFFFFF; /* On dark backgrounds */
  --footer-text-color: #bdc3c7; /* Lighter gray for footer text */
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background-light);
  color: var(--text-dark);
  font-size: 16px; /* Base font size */
}

img,
iframe {
  max-width: 100%;
  height: auto;
}

nav {
  background-color: var(--primary-dark);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  flex-direction: row; /* Keep links in rows on mobile and desktop */
  position: relative;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
  gap: 0.5rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
}
.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

@media (min-width: 900px) {
  .nav-brand img { width: 42px; height: 42px; }
}

.nav-links a {
  color: var(--primary-accent);
  text-decoration: none;
  font-weight: bold;
  padding: 10px 12px; /* horizontal padding for row layout */
  text-align: center;
}

.nav-links {
  display: flex;
  flex-direction: row; /* row layout on mobile too */
  width: auto;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap; /* allow wrapping on very narrow screens */
}

/* Hamburger button (mobile only) */
.hamburger {
  display: none; /* shown on small screens via media query */
  background: transparent;
  border: none;
  padding: 6px;
  margin-right: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column; /* stack bars vertically */
  gap: 6px;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  color: var(--primary-accent);
}
.hamburger .bar {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--primary-accent);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

@media (max-width: 899px) {
  .hamburger {
    display: flex;
  }
  /* Side-drawer styles */
  .nav-links {
    display: flex; /* keep flex for children layout */
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 80%;
    background: linear-gradient(180deg, var(--primary-dark), #243340);
    flex-direction: column;
    padding: 1.25rem 1rem;
    gap: 0.5rem;
    z-index: 1200;
    transform: translateX(-110%);
    transition: transform 0.28s cubic-bezier(.2,.8,.2,1);
    box-shadow: 6px 0 30px rgba(0,0,0,0.35);
  }

  .nav-links a {
    color: var(--text-light);
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 1.05rem;
  }

  .nav-container.menu-open .nav-links {
    transform: translateX(0);
  }

  /* Backdrop to dim the page when drawer is open */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
  }

  .nav-container.menu-open + .nav-backdrop,
  .nav-backdrop[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
  }

  .hamburger[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
  .hamburger[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

.nav-links a:hover {
  text-decoration: underline;
}

.nav-links a.active {
  color: var(--text-light);
}

.icon-links a {
  color: var(--primary-accent);
  font-size: 1.3rem;
  padding: 0 0.5rem; /* Add some spacing for mobile */
}

#contact a {
  color: var(--primary-accent);
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

/* Hero banner */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  background: linear-gradient(135deg, rgba(44,62,80,0.85), rgba(52,73,94,0.75));
  overflow: hidden;
  padding: 2rem 1rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.25));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 1200px;
  width: 100%;
  padding: 1rem;
}

.hero-photo img {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-size: 2.4rem;
  margin: 0;
  color: var(--text-light);
  line-height: 1.05;
  font-weight: 700;
}

.hero-tagline {
  margin: 0.5rem 0 1rem 0;
  color: rgba(212,175,55,0.95);
  font-size: 1.05rem;
  font-style: italic;
}

.btn-primary {
  background-color: var(--primary-accent);
  color: var(--primary-dark);
  padding: 0.9rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Secondary button for hero (outline) */
.btn-secondary {
  background: transparent;
  color: var(--text-light);
  padding: 0.8rem 1.1rem;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.85);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Desktop layout: photo left, text right */
@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }

  .hero-photo {
    flex: 0 0 260px;
  }

  /* align hero CTAs to left on wide screens */
  .hero-text .hero-ctas {
    justify-content: flex-start;
  }

  .hero-text {
    text-align: left;
  }

  .hero-text h1 {
    font-size: 3rem;
  }
}

section {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
}

section h2 {
  color: var(--primary-dark);
  border-bottom: 1px solid var(--primary-accent);
  padding-bottom: 0.5rem;
}

.btn {
  background-color: var(--primary-accent);
  color: var(--primary-dark);
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  display: inline-block;
  margin-top: 1rem;
}

.booking iframe,
.map iframe {
  width: 100%;
  height: 65vh;
  border: none;
  border-radius: 10px;
}

footer {
  background-color: var(--primary-dark);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: var(--footer-text-color);
}

footer a {
  color: var(--primary-accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .social-icons a {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--primary-accent);
  text-decoration: none;
}

#services ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.services-categories {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.service-category {
  background: none;
  padding: 0;
}

.category-title {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin: 0 0 0.75rem 0;
  border-bottom: 2px solid rgba(212,175,55,0.15);
  padding-bottom: 0.5rem;
}

.service-card {
  background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
  color: var(--text-light);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(212, 175, 55, 0.3);
}

.service-card i {
  font-size: 2rem;
  color: var(--primary-accent);
  margin-bottom: 0.5rem;
}

.service-card h3 {
  color: var(--primary-accent);
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.faq-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.faq-item {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-accent);
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.faq-item:hover {
  background-color: #e8f1f5;
}

.faq-item h3 {
  margin-top: 0;
  color: var(--primary-dark);
  font-size: 1rem;
}

.faq-item p {
  margin: 0.5rem 0 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ Accordion (accessible) */
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
}
.faq-item.accordion {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
  background: var(--background-light);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.faq-question:after {
  content: '\25BE';
  margin-left: 1rem;
  transition: transform 0.2s ease;
}
.faq-question[aria-expanded="true"]:after {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 1rem 1rem 1rem;
  line-height: 1.5;
  font-size: 0.97rem;
}

@media (max-width: 640px) {
  .faq-accordion { padding: 0.5rem; }
  .faq-question { padding: 0.75rem; font-size: 0.98rem; }
}

/* Map container for click-to-activate functionality */
.map-container {
  position: relative;
  width: 100%; /* full width of the section */
  height: 450px; /* fixed visible height */
  border-radius: 10px;
  overflow: hidden; /* Ensures the overlay corners are rounded */
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* fill the container */
  pointer-events: none; /* non-interactive until activated */
  transform: none;
}

.map-container.active iframe {
  pointer-events: auto; /* interactive when active */
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 10; /* Ensure overlay is on top */
}

.map-overlay-text {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 1rem;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Larger screens (tablets and desktops) */
@media (min-width: 768px) {
  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
  }

  .nav-links {
    flex-direction: row;
    width: auto;
  }

  .nav-links a {
    padding: 15px;
    width: auto;
    margin-right: 1rem;
  }

  .icon-links {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .icon-links {
    padding-top: 10px;
    align-items: center;
  }
}

#back-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background-color: var(--primary-accent);
  color: var(--primary-dark);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  font-size: 24px;
  text-decoration: none;
  z-index: 1001;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

#back-to-top-btn.show {
  display: block;
  opacity: 1;
}

/* Cookie Consent Banner */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 1rem 2rem;
  display: none; /* Hidden by default */
  justify-content: space-between;
  align-items: center;
  z-index: 2000;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.4);
}

#cookie-consent-banner p {
  margin: 0;
  margin-right: 1rem;
}

#cookie-consent-button {
  background-color: var(--primary-accent);
  color: var(--primary-dark);
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  white-space: nowrap;
}