:root {
    --bg-light: #F9F9F9;
    --text-light: #111111;

    --bg-dark: #111111;
    --text-dark: #F9F9F9;

    --accent: #2dc400; /* Your Logo Green */
    --muted: #888888;

    --black: #000000;
    --white: #F9F9F9;
    --logo-green: #2dc400; /* Your green */
    --logo-gray: #58595B;  /* Your gray */
    --gray-dark: #a3a3a3; /* gray on dark bg */
    --overlay: rgba(0, 0, 0, 0.6);
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  /* overflow-x: hidden; /* Prevents accidental side-scrolling */ */
}
body {
  width: 100%;
  font-family: sans-serif;
}

section {
  scroll-snap-align: start; /* Lock to the top of the section */
  scroll-snap-stop: normal; /* Allows "coasting" within a long section */
  min-height: 100vh;
  padding: 80px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* Centers your content vertically */
  padding-bottom: 30vh;
  scroll-padding-top: 100vh;
}
/* For mobile, we might need even more breathing room */
@media (max-width: 768px) {
    .section {
        height: auto; /* Let the section be as tall as the content needs */
        min-height: 110vh; /* Extra room to prevent accidental snaps */
    }
}





h4 {
  margin-bottom: 10px;
}

.side-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 100;
}

.dot-link {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--logo-gray);
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
}

/* Tooltip label that appears on hover (Desktop) */
.dot-link::before {
  content: attr(data-label);
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 4px 10px;
  font-size: 10px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.dot-link:hover::before {
  opacity: 1;
}

/* Active State - Matches your Green Logo Color */
.dot-link.active {
  background: var(--logo-green);
  border-color: var(--logo-green);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .side-nav {
    right: 10px; /* Tighter to the edge on mobile */
  }
}






/* Big Screen Adjustment */
@media (min-width: 1024px) {
  .logo {
    height: 36px; /* Larger for desktop */
  }
}

/* Typography */
h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -1px;
}






/* Header/Logo Bar */
.hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* HERO */

.hero-vibe {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* YOUR RENDER IMAGE */
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.4)),
                url('images/main_landing.jpeg') no-repeat center center;
    background-size: cover;
}

.hero-nav {
    position: absolute;
    top: 40px;
    left: 40px;
}

.logo-hero {
    width: 160px;
    /* filter: brightness(0) invert(1); /* Forces logo to white if it's black */ */
}

/* THE GLASS EFFECT */
.hero-glass-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(2px);

    /* FIX: Ensure the card grows with the text but never exceeds the screen */
    display: inline-flex;
    flex-direction: column;
    align-items: center;

    padding: 40px 80px; /* Increased side padding for "breathing room" */
    max-width: 95vw;    /* Safety valve for mobile */
    width: auto;        /* Let the content define the width */

    border-radius: 4px;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    box-sizing: border-box;
}

.hero-glass-card h1 {
    font-size: clamp(2.5rem, 8vw, 5rem); /* Dynamic font: Min 2.5rem, scales with screen, Max 5rem */
    letter-spacing: 0.15em;             /* Use 'em' for better scaling than 'px' */
    margin: 10px 0;
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;                /* Prevents "Barn" and "house" from splitting */

    /* FIX: Offsets the extra space created by letter-spacing on the last character */
    text-indent: 0.15em;
}

.hero-area {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}



.hero-price {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* SCROLL INDICATOR */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 3px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}

.arrow-down {
    width: 1px;
    height: 50px; /* The vertical stem */
    background: rgba(255,255,255,0.5);
    margin-top: 15px;
    position: relative;
}

/* THE ARROW HEAD */
.arrow-down::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: translateX(-50%) rotate(45deg); /* Creates the V shape */
}

/* OPTIONAL: Subtle "Bounce" Animation to draw the eye */
@keyframes hint-scroll {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.scroll-indicator {
    animation: hint-scroll 2s infinite;
}
/* Responsive Tweak */
@media (max-width: 768px) {
    .hero-glass-card h1 { font-size: 3rem; }
    .hero-glass-card { padding: 30px; width: 90%; }
}











/* --- BASE LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Small label above the heading */
.eyebrow {
  display: block;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--logo-green); /* Using your accent color here */
  margin-bottom: 15px;
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 24px;
  text-transform: uppercase;
}


p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-dark); /* Subtle gray for body text */
  margin-bottom: 30px;
}








.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch; /* Momentum scroll for iOS */
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.carousel-track::-webkit-scrollbar { display: none; } /* Hide scrollbar Chrome/Safari */

.carousel-slide {
    flex: 0 0 85%; /* Shows 85% of current, 15% of next */
    height: 450px;
    scroll-snap-align: start;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px; /* Slight architectural softness */
}

@media (min-width: 1024px) {
    .carousel-slide {
        flex: 0 0 90%; /* On desktop, more of the main image is visible */
        height: 550px;
    }
}





/* Optional: Fade the 'inactive' images slightly to focus on the main one */
.carousel-slide {
    transition: opacity 0.4s ease;
}

/* This is a nice high-end touch: the images that aren't 'active' are slightly dimmer */
.carousel-track:hover .carousel-slide {
    opacity: 0.6;
}

.carousel-track .carousel-slide:hover {
    opacity: 1;
}





/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
}


.hint-text {
  margin-top: 15px;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--logo-gray);
  letter-spacing: 1px;
  text-align: left; /* Aligns it with the start of the image */
}

.map-wrapper {
  position: relative;
  width: 100%;
  max-width: 1088px; /* Match your image width */
  line-height: 0;
  display: block;
}


/* Modal Zoom */
.modal-zoom {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.modal-zoom img {
  max-width: 95%;
  max-height: 90vh;
  object-fit: contain;
}



.zoomable {
    height: 100%;
    width: auto; /* Maintains proportion based on height */
    display: block;
    cursor: zoom-in;
    object-fit: cover;
}

/* Ensure the modal is always on top of the carousel and nav-dots */
.modal-zoom {
  z-index: 10000;
}





.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border-radius: 4px;
}
.modal-content p,
.modal-content li {
  /* font-family: Times; */
  line-height: 1.1rem;
}
.modal-content p,
.modal-content li {
  font-size: 0.8rem;
  color: #666;
}
.modal-content li {
  font-size: 1rem;
  color: black;
}

.close-modal {
    position: absolute;
    right: 20px; top: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #000;
}
