/* Fonts */
@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/PlayfairDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --white: #FFFFFF;
  --black: #000000;
  --bayou-green: #6B9C80;
  --bayou-green-dark: #5A8B70;
  --sandstone-beige: #D2B48C;
  --steel-blue: #4682B4;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1), 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--black);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

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

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Button & CTAs */
.cta-button {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.cta-primary {
  background-color: var(--bayou-green);
  color: var(--white);
  border: 2px solid var(--bayou-green);
}

.cta-primary:hover, .cta-primary:focus {
  background-color: var(--bayou-green-dark);
  border-color: var(--bayou-green-dark);
  color: var(--white);
  transform: scale(1.02);
}

.cta-secondary {
  background-color: transparent;
  color: var(--bayou-green);
  border: 2px solid var(--bayou-green);
}

.cta-secondary:hover, .cta-secondary:focus {
  background-color: var(--bayou-green);
  color: var(--white);
  transform: scale(1.02);
}

.cta-tertiary {
  color: var(--steel-blue);
  font-weight: 500;
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid transparent;
}

.cta-tertiary:hover, .cta-tertiary:focus {
  border-bottom-color: var(--steel-blue);
}

/* Form Styles */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea {
  font-family: var(--font-body);
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  background-color: #fafafa;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--bayou-green);
  background-color: var(--white);
}

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

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

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
}

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

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

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

.logo-img {
  height: 30px;
  transition: height var(--transition-normal);
}

.hamburger-menu {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--black);
  margin: 5px 0;
  transition: var(--transition-fast);
}

.main-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right var(--transition-normal);
  z-index: 100;
}

.main-nav.open {
  right: 0;
}

.nav-links {
  list-style: none;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.nav-links a {
  font-size: 1.5rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.nav-links a:hover,
.nav-links a:focus {
  background-color: var(--sandstone-beige);
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 80%;
}

.header-phone {
  font-size: 1.125rem;
  font-weight: 600;
}

/* Sections General */
section {
  padding: 4rem 1.5rem;
}

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

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

/* ZERO MODIFICATION FOR HERO IMAGES - NO FILTERS, NO OVERLAYS, NO BLEND MODES */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  /* Crucial: Must be fully transparent/natural, no overlays allowed! */
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 800px;
  /* Text shadow for legibility directly on the unmodified image */
  text-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 4px 20px rgba(0,0,0,0.3);
  color: var(--white);
}

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

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-content .cta-button {
  text-shadow: none;
}

.hero.hero-cottage, .hero.hero-about, .hero.hero-local-area, .hero.hero-contact {
  min-height: 60vh;
}

/* Property Cards */
.property-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.property-card-img-wrapper {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.property-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

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

.property-card .features {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #555;
}

.property-card .cta-button {
  margin-top: auto;
  align-self: flex-start;
}

.featured-cottages .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Two Column Layouts */
.two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.two-column img {
  width: 100%;
  border-radius: var(--border-radius);
  height: auto;
}

/* Testimonials */
.testimonials {
  background-color: #fcf9f5;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

blockquote {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  position: relative;
}

blockquote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bayou-green);
}

/* Call to Action Section */
.contact-cta {
  background-color: var(--bayou-green);
  color: var(--white);
  text-align: center;
}

.contact-cta h2 {
  color: var(--white);
}

.contact-cta .cta-secondary {
  border-color: var(--white);
  color: var(--white);
}

.contact-cta .cta-secondary:hover {
  background-color: var(--white);
  color: var(--bayou-green);
}

/* Amenities List */
.amenities-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.amenities-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Image Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-grid figure {
  overflow: hidden;
  border-radius: var(--border-radius);
  aspect-ratio: 4/3;
}

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

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Local map */
.local-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--border-radius);
}

/* FAQ Accordion */
details {
  background: var(--white);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  border: 1px solid #eee;
}

summary {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--bayou-green);
}

details[open] summary::after {
  content: '-';
}

details p {
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background-color: #222;
  color: #ddd;
  padding: 3rem 1.5rem 1.5rem;
}

.site-footer a {
  color: #ddd;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  height: 30px;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.footer-social img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: transform var(--transition-fast);
}

.footer-social a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom nav {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Animations & Fallbacks */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* Desktop Styles (min-width: 768px) */
@media (min-width: 768px) {
  h1 { font-size: 4rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.75rem; }
  p { font-size: 1.125rem; }
  
  section { padding: 6rem 2rem; }
  
  .header-container {
    padding: 0.5rem 2rem;
  }
  
  .logo-img { height: 40px; }
  .site-header.scrolled .logo-img { height: 30px; }
  .site-header.scrolled .header-container { padding: 0.25rem 2rem; }
  
  .hamburger-menu { display: none; }
  
  .main-nav {
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    flex-direction: row;
    padding: 0;
  }
  
  .nav-links {
    flex-direction: row;
    margin-bottom: 0;
    gap: 1.5rem;
  }
  
  .nav-links a {
    font-size: 1rem;
    padding: 0.5rem;
  }
  
  .nav-links a:hover, .nav-links a:focus {
    background-color: transparent;
    position: relative;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--sandstone-beige);
    transition: width var(--transition-fast), left var(--transition-fast);
  }
  
  .nav-links a:hover::after, .nav-links a:focus::after {
    width: 100%;
    left: 0;
  }
  
  .header-contact {
    width: auto;
    flex-direction: row;
  }
  
  .hero { margin-top: 80px; }
  .hero-content h1 { font-size: 4.5rem; }
  .hero-content p { font-size: 1.5rem; }
  
  .featured-cottages .grid,
  .two-column {
    grid-template-columns: 1fr 1fr;
  }
  
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .amenities-list {
    grid-template-columns: 1fr 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    text-align: left;
  }
  
  .footer-social {
    justify-content: flex-start;
  }
  
  form {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .form-group.full-width {
    grid-column: span 2;
  }
}

/* Desktop Large (min-width: 1024px) */
@media (min-width: 1024px) {
  .amenities-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* 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;
  }
  
  .fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* Helper Classes */
.desktop-only { display: none !important; }
@media (min-width: 768px) {
  .desktop-only { display: block !important; }
  .header-contact.desktop-only { display: flex !important; }
}

.mobile-only { display: block !important; }
.header-contact.mobile-only { display: flex !important; }
@media (min-width: 768px) {
  .mobile-only { display: none !important; }
}
