/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --forest-green: #316b40;
    --terracotta: #C66B3A;
    --sand: #E8D5B7;
    --charcoal: #2B2B2B;
    --ivory: #FFFFFF;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--charcoal);
    overflow-x: hidden;
}




/* ===== Fade-in utilities ===== */
.fade-from-top,
.fade-from-left,
.fade-from-right,
.fade-from-bottom {
  opacity: 0;
 
}

.fade-from-top {
  transform: translateY(-10px);
  transition: opacity 0.8s ease-out 0.2s,
              transform 0.8s ease-out 0.2s;
}

.fade-from-left {
  transform: translateX(-10px);
  transition: opacity 1.2s ease-out 0.4s,
              transform 1.2s ease-out 0.4s;
}

.fade-from-right {
  transform: translateX(1px);
  transition: opacity 1.5s ease-out 0.6s,
              transform 1.5s ease-out 0.6s;
}

.fade-from-bottom {
  transform: translateY(10px);
  transition: opacity 1s ease-out 0.5s,
              transform 1s ease-out 0.5s;
}

/* When in view, clear transforms */
.in-view {
  opacity: 1 !important;
  transform: translate(0,0) !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: white;
  border-bottom: 2px solid var(--forest-green);
  z-index: 1000;
}

.site-header .container {
  max-width: 100vw;
  min-width: 100vw;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo-wrap {
  flex: 0 0 auto;
}

.logo {
  display: block;
  height: 70px;
  width: auto;
  padding: 0 1rem;
}

/* Navigation */
.nav {
  display: flex;
  gap: 1.5rem;
  flex: 1;
  align-items: center;
  font-family: 'Poppins', sans-serif;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  color: black;
  padding: 0.5rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--forest-green);
}

/* Sidebar styles */
/* Mobile dropdown menu */
.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-bottom: 2px solid var(--forest-green);
  z-index: 998;
}

/* Show dropdown */
.mobile-nav.open {
  transform: scaleY(1);
  opacity: 1;
}

/* Mobile nav links */
.mobile-nav a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: black;
  text-decoration: none;
  font-size: 1.2rem;
}

.mobile-nav a:hover {
  color: var(--forest-green);
}


/* Hamburger animation - better "X" alignment */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}


.hamburger span {
  transition: all 0.3s ease;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001; /* above sidebar */
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: black;
  transition: all 0.3s ease;
}



@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}


/* Responsive Navigation */
@media (max-width: 768px) {
  .site-header .nav {
    display: none;
  }
  .site-header .hamburger {
    display: block;
  }
  .site-header .container {
    justify-content: space-between;
    padding-left: 0;
  }
  .site-header .logo-wrap {
    order: 1;
  }
  .site-header .hamburger {
    order: 2;
  }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    color: var(--ivory);
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: var(--forest-green);
    color: var(--ivory);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animated-word container: inline-block so we can fix its width, and control opacity for fade */
.animated-word {
    display: inline-block;
    opacity: 1;
    /* No border/cursor line since you don't want the blinking line */
    /* We'll set min-width dynamically via JS based on longest word, but you can give a fallback: */
    /* min-width: 10ch;  <-- If you prefer a fallback, but JS will override */
    /* Add transition only for opacity so fade works smoothly */
    transition: opacity 0.5s ease;
    /* Optional: you may add text styling (color, font-weight) if desired, but usually inherits from .hero-title */
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* ========================
   About Section Styles
   ======================== */

.about-section {
  min-height: 100vh;
  background: var(--sand);
  color: var(--charcoal);
  padding: 2rem 1rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--forest-green);
  margin-bottom: 2.5rem;
}

/* Grid: Video left, texts right */
.about-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 2rem;
  align-items: start;
  max-width: 1200px;
  width: 100%;
}

/* On small screens, stack */
@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Video styling */
.about-video .video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.about-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}


/* Text column */
.about-texts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.about-paragraph p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
}

/* ========================
   About Section Stats Styles
   ======================== */

.about-stats {
  /* grid with 3 columns, gap between cards */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  width: 100%;
  margin-top: 2.5rem; /* spacing from above content */
  padding: 0 1rem; /* align with overall padding */
}

/* Stack stats vertically on smaller screens */
@media (max-width: 767px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* ========================
   About Section Owners Styles
   ======================== */
.about-owners {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin-top: 3rem; /* spacing from stats */
  padding: 0 1rem;
}

.owner-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--forest-green);
  margin-bottom: 1rem;
}

.owner-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
}

.owner-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  display: block;
}

/* Stack owners section on small screens */
@media (max-width: 991px) {
  .about-owners {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .owner-text, .owner-image {
    width: 100%;
  }
  .owner-text {
    order: 2; /* image first if you like, or remove to keep text first */
  }
  .owner-image {
    order: 1;
    margin-bottom: 1.5rem;
  }
}


/* --- Updated About Grid --- */
.about-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  grid-auto-rows: auto;      /* each row auto‑height */
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
}

/* Make the overflow block span columns 1 through 2 */
.about-overflow-text {
  grid-column: 1 / -1;
  text-align: left;
}

/* On smaller screens, fall back to single column */
@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

}

/* =========================
   Stand‑alone Blockquote
   ========================= */
section#about > blockquote {
  /* Center & constrain width */
 
margin-top: 50px;
  
  /* Typography */
  font-size: 1.3rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--charcoal);
  
  /* Visual styling */
  padding: 1.5rem 2rem;

 
  border-radius: 4px;
  position: relative;
  
  /* Add opening quote mark */
}
section#about > blockquote::before {
  content: "“";
  font-size: 4rem;
  color: var(--forest-green);
  position: absolute;
  top: -10px;
  left: 10px;
  line-height: 1;
}
section#about > blockquote::after {
  content: "”";
  font-size: 4rem;
  color: var(--forest-green);
  position: absolute;
top: -10px;
  right: 10px;
  line-height: 1;
}

/* Ensure it’s outside the grid flow */
.about-overflow-text blockquote {
  /* override any inherited grid placement */
  grid-column: auto;
}



/* Video styling */
.about-video .video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.about-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.stat-card {
  background: var(--ivory);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* If you want equal-height cards, the grid will handle equal rows by default */
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--forest-green);
  margin: 0;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  margin-top: 0.5rem;
}

/* Optional: hover effect */
.stat-card:hover {
  transform: translateY(-4px);
  transition: transform 0.2s ease-in-out;
}



.animals-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  background: url('assets/animals-bg.jpg') center center / cover no-repeat;
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
  margin-top: -100vh;
}

.animals-content {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 4rem 2rem;
}

.animals-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.animals-title {
  text-align: center;
  font-size: 2.5rem;
  font-family: var(--font-heading);
  color: var(--ivory);
  margin-bottom: 2.5rem;
}

/* GRID OF CARDS */
.animal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 0 1rem;
}

/* CARD STYLING */
.animal-card {
  background-color: var(--ivory);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.animal-card:hover {
  transform: translateY(-5px);
}

/* IMAGE */
.animal-image img {
  width: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
}

/* DETAILS */
.animal-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.animal-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--charcoal);
}

.animal-details p {
  line-height: 1.6;
  color: var(--charcoal);
}

/* BUTTON */
.animal-button {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--forest-green);
  color: var(--ivory);
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.animal-button:hover {
  background-color: #275735;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .animals-content {
    padding: 4rem 0;
  }
  .animal-grid {
    grid-template-columns: 1fr;
  }
  .animals-title {
    font-size: 2rem;
  }
  .animal-card {
    min-width: auto;
  }
}


/* Popup Overlay */
.auction-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup Box */
.auction-popup-box {
  position: relative;
  background: var(--ivory);
  padding: 2.5rem 2rem 2rem;
  border-radius: 15px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Close (X) Button */
.auction-popup-close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--charcoal);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.auction-popup-close:hover {
  color: var(--terracotta);
}

/* Popup Title & Message */
.auction-popup-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.auction-popup-message {
  font-size: 1rem;
  margin-bottom: 1.8rem;
  color: var(--charcoal);
}

/* Buttons Container */
.auction-popup-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Popup Buttons */
.auction-popup-button {
  background-color: var(--forest-green);
  color: var(--ivory);
  padding: 10px 0;
  border-radius: 5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  min-width: 140px;
  text-align: center;
  transition: background-color 0.3s ease;
  flex: 1 1 45%;  /* ensures both buttons stretch equally */
  box-sizing: border-box;
}

.auction-popup-button:hover {
  background-color: #0b522b;
}


/* Auctions Section */
.auctions-section {
    padding: 5rem 0;
    background: var(--forest-green);
}

.auction-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--ivory);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.auction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.auction-header .section-title {
    margin-bottom: 0;
    color: var(--charcoal);
}

.auction-badge {
    background: var(--terracotta);
    color: var(--ivory);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.auction-details {
    margin-bottom: 2rem;
}

/* Info grid + icons */
.auction-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--charcoal);
}

.info-item i {
    color: var(--forest-green);
    font-size: 1.2rem;
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.countdown-item {
    background: var(--sand);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--forest-green);
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--charcoal);
    font-weight: 600;
}

.auction-cta {
    text-align: center;
}

/* Button container & buttons */
.button-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.auction-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1 1 auto;              /* equal‑width flex items */
    min-width: fit-content;      /* shrink to fit text */
    padding: 12px 25px;
    font-size: 16px;
    color: #fff;
    background-color: var(--forest-green);
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.auction-button i {
    font-size: 1.2rem;
}

.auction-button:hover {
    background-color: #0b522b;   /* slightly darker forest-green */
}

/* Stack buttons on small screens */
@media (max-width: 600px) {
    .button-container {
        flex-direction: column;
    }
}


/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: var(--ivory);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-cta {
    text-align: center;
}

.gallery-btn {
    background: var(--forest-green);
    color: var(--ivory);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-btn:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.contact-section {
  position: relative;
  padding: 5rem 2rem;
  overflow: hidden;
  color: var(--ivory);
}

.background-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/uitkyk_punt_2.jpg'); /* Replace with actual path */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: blur(8px);
  z-index: 1;
}

.contact-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

#contactheading{
    color: var(--ivory);
}

.section-title {
  font-size: 3rem;
  color: var(--ivory);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--ivory);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

/* Updated to preserve gaps AND evenly space content */
.contact-cards {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Even spacing */
  height: 100%;
  gap: 1.5rem; /* Keeps visual gap intact */
}

/* Each card retains its own height */
.contact-card {
  background: var(--ivory);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  /* No flex-grow — keep cards natural in size */
}


.contact-card i {
  font-size: 1.5rem;
  color: var(--forest-green);
  margin-top: 0.3rem;
}

.contact-card strong {
  font-size: 1rem;
  color: var(--charcoal);
}

.contact-card p {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  background: var(--ivory);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--forest-green);
  box-shadow: 0 0 0 3px rgba(34, 139, 34, 0.1);
}

.submit-btn {
  background: var(--forest-green);
  color: var(--ivory);
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: var(--terracotta);
}


.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    display: none;
}

.form-message.success {
    background-color: #e6f9f0;
    color: #226644;
    border: 1px solid #a0dab2;
}

.form-message.error {
    background-color: #ffeaea;
    color: #a30000;
    border: 1px solid #e0a0a0;
}


/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form {
    margin-top: 2rem;
    padding: 1.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .contact-cards {
    height: auto;
  }
}



/* Services Section */
.services-section {
    padding: 6rem 2rem;
    background: var(--ivory);
    width: 100vw;
    overflow: hidden;
}

.services-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 3rem;
    color: var(--charcoal);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #555;
}

/* Toggle Buttons */
.service-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
}

.toggle-btn {
    flex: 1 1 200px;
    max-width: 220px;
    height: 50px;
    background: var(--forest-green);
    color: var(--ivory);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: center;
}

.toggle-btn:hover,
.toggle-btn.active {
    background: var(--terracotta);
}

/* Service Content */
.service-content {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.service-text {
    flex: 1;
    min-width: 300px;
}

.service-text h3 {
    font-size: 1.8rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.service-text p {
    color: #444;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-text ul {
    margin-left: 1rem;
    margin-bottom: 1.5rem;
    color: #555;
    list-style: disc;
}

.service-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.book-btn {
    background: var(--forest-green);
    color: var(--ivory);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.book-btn:hover {
    background: var(--terracotta);
}

.availability-link {
    color: var(--forest-green);
    font-weight: 600;
    text-decoration: underline;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.availability-link:hover {
    color: var(--terracotta);
}

/* 2x2 Gallery */
.service-gallery {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    min-width: 300px;
}

.service-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/*--------------------------------------
   2. OVERRIDES FOR MIN-WIDTH ON SMALLER SCREENS
---------------------------------------*/
/* Remove forced minimums that prevent shrinking */
@media (max-width: 768px) {
  .service-text,
  .service-gallery {
    min-width: auto !important;
    width: 100%;
  }
}

/*--------------------------------------
   3. UPDATED RESPONSIVE BREAKPOINTS
---------------------------------------*/

/* Large tablets / small desktops */
@media (max-width: 1024px) {
  .services-section {
    padding: 5rem 1.5rem;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .services-section {
    padding: 4rem 1rem;
  }
  .service-toggle {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .toggle-btn {
    flex: 1 1 calc(50% - 0.75rem);
  }
  .service-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .service-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

/* Small tablets / large phones */
@media (max-width: 576px) {
  .services-section {
    padding: 3rem 0.75rem;
  }
  .toggle-btn {
    flex: 1 1 100%;
  }
  .service-gallery {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .section-subtitle {
    font-size: 1.1rem;
  }
  .service-text h3 {
    font-size: 1.6rem;
  }
}

/* Phones */
@media (max-width: 480px) {
  .services-section {
    padding: 2.5rem 0.5rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .service-text h3 {
    font-size: 1.4rem;
  }
  .service-text p,
  .service-text ul {
    font-size: 0.95rem;
    overflow-wrap: anywhere;   /* keep long words from forcing scroll */
  }
  .service-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  .book-btn {
    width: 100%;
  }
}

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Modal Box */
.modal-content {
    background: var(--ivory);
    padding: 2rem;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Modal Heading */
.modal-content h3 {
    margin-bottom: 1rem;
    color: var(--charcoal);
}

/* Modal Buttons */
.modal-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
}

.modal-buttons button {
    background: var(--forest-green);
    color: var(--ivory);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.modal-buttons button:hover {
    background: var(--terracotta);
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #555;
    cursor: pointer;
}


/* Responsive */
@media (max-width: 900px) {
    .service-content {
        flex-direction: column;
    }

    .services-section {
    padding: 6rem 1rem;
    background: var(--ivory);
}

/* Contact Section */
.contact-section {
    padding: 5rem 1rem;
    background: var(--sand);
}

   
}


/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--ivory);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--ivory);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--forest-green);
    color: var(--ivory);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.developer-credits {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #1f1f1f;
    color: #666;
    font-size: 0.85rem;
    gap: 0.5rem;
    flex-wrap: wrap; /* allow stacking if needed */
    text-align: center;
}

.developer-credits span:first-child::after {
    content: "|";
    margin: 0 0.5rem;
    color: inherit;
}

.developer-credits a {
    color: #666;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.developer-credits a:hover {
    text-decoration: underline;
}

/* ----- Media Queries ----- */

@media (max-width: 600px) {
    .developer-credits {
        flex-direction: column;
        gap: 0.25rem;
    }

    .developer-credits span:first-child::after {
        content: ""; /* remove the | on small screens */
        margin: 0;
    }

    .developer-credits a {
        margin-top: 0.25rem;
    }
}



/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: var(--ivory);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.close:hover {
    color: var(--charcoal);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    margin: auto;
    display: block;
    width: 90%;
    max-width: 900px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--ivory);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text-section {
        text-align: center;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-between;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .auction-info {
        grid-template-columns: 1fr;
    }

    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .auction-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .countdown-timer {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .countdown-item {
        padding: 1rem 0.5rem;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
    }

    .auction-card {
        padding: 2rem 1rem;
    }
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}