@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --deep-teal: #2B5891;
  --terracotta-blush: #D78B89;
  --terracotta-hover: #C27A78;
  --soft-alabaster: #F8F8F8;
  --charcoal-grey: #4A4A4A;
  --pure-white: #FFFFFF;
  
  --font-primary: 'Merriweather', serif;
  --font-fallback: 'Open Sans', sans-serif;
  
  --transition-fast: 0.2s ease-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-fallback);
  color: var(--charcoal-grey);
  background-color: var(--soft-alabaster);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--deep-teal);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: var(--deep-teal);
  transition: all var(--transition-normal);
}

ul, ol {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

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

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

.section {
  padding: 5rem 0;
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-fallback);
  font-weight: 600;
  text-align: center;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background-color: var(--terracotta-blush);
  color: var(--pure-white);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--terracotta-hover);
  color: var(--pure-white);
  transform: scale(1.02);
}

.btn-secondary {
  background-color: transparent;
  color: var(--deep-teal);
  border: 1px solid var(--deep-teal);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--deep-teal);
  color: var(--pure-white);
}

.btn-text {
  background-color: transparent;
  color: var(--deep-teal);
  padding: 0;
  border-radius: 0;
  position: relative;
  font-weight: 600;
}

.btn-text::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--deep-teal);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.btn-text:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--soft-alabaster);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.site-header.hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
}

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

.nav-link {
  font-weight: 600;
  color: var(--charcoal-grey);
  position: relative;
}

.nav-link:hover {
  color: var(--deep-teal);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--deep-teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--charcoal-grey);
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--soft-alabaster);
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  z-index: 1001;
  transition: right var(--transition-slow);
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--charcoal-grey);
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.mobile-nav .nav-link {
  font-size: 1.2rem;
}

.mobile-contact {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Hero Section - NO OVERLAYS! */
.hero {
  position: relative;
  margin-top: 80px; /* Offset for header */
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* NO FILTERS, NO OPACITY CHANGES HERE */
}

/* Parallax effect container */
.hero.parallax .hero-bg img {
  transform: translateY(var(--parallax-y, 0));
  will-change: transform;
}

/* Text box for readability without overlaying the whole image */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 3rem 2rem;
  /* Semi-transparent background just behind the text to ensure legibility */
  background: rgba(248, 248, 248, 0.90);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out forwards;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--deep-teal);
}

.hero p {
  font-size: 1.2rem;
  color: var(--charcoal-grey);
  margin-bottom: 2rem;
}

/* Cards (Accommodations & Experiences) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--pure-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.card-img-wrap {
  position: relative;
  padding-top: 66.66%; /* 3:2 aspect ratio */
  overflow: hidden;
}

.card-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  color: var(--deep-teal);
  margin-bottom: 1rem;
}

.card-content p {
  flex-grow: 1;
  color: var(--charcoal-grey);
  margin-bottom: 1.5rem;
}

/* Feature List */
.feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--deep-teal);
  font-weight: bold;
}

/* Testimonials Carousel */
.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  padding: 2rem 0;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 2rem;
}

.testimonial-card {
  background: var(--pure-white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  text-align: center;
}

.testimonial-card blockquote {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  color: var(--deep-teal);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card cite {
  font-weight: 600;
  color: var(--terracotta-blush);
  font-style: normal;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.carousel-dot.active {
  background: var(--deep-teal);
}

.carousel-arrow {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--deep-teal);
  cursor: pointer;
  padding: 0.5rem;
}

/* Forms */
.contact-form {
  background: var(--pure-white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

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

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--deep-teal);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-fallback);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--deep-teal);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Accordion (FAQ & Mobile Footer) */
.accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--deep-teal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-icon {
  font-size: 1.5rem;
  transition: transform var(--transition-fast);
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.accordion-inner {
  padding-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background-color: var(--deep-teal);
  color: var(--soft-alabaster);
  padding: 5rem 0 2rem;
}

.site-footer a {
  color: var(--soft-alabaster);
}

.site-footer a:hover {
  color: var(--terracotta-blush);
}

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

.footer-col h4 {
  color: var(--pure-white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 1rem;
  display: block;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.social-icon:hover {
  background: var(--terracotta-blush);
}

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

/* Two column text layout */
.two-col-text {
  column-count: 2;
  column-gap: 3rem;
}

/* Map Iframe */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.5rem; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header-actions .btn-primary, .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .hero h1 { font-size: 2rem; }
  .hero-content {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .two-col-text {
    column-count: 1;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Mobile Footer Accordion handled via JS */
  .footer-col h4 {
    cursor: pointer;
    position: relative;
    padding-right: 20px;
    margin-bottom: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .footer-col h4::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .footer-col.active h4::after {
    content: '−';
  }
  
  .footer-col-content {
    display: none;
    padding: 1rem 0;
  }
  
  .footer-col.active .footer-col-content {
    display: block;
  }
  
  .footer-col.no-accordion .footer-col-content {
    display: block;
  }
  
  .footer-col.no-accordion h4 {
    border-bottom: none;
    cursor: default;
  }
  
  .footer-col.no-accordion h4::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .hero { min-height: 50vh; }
}

/* Accessibility - Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero.parallax .hero-bg img {
    transform: none !important;
  }
}
