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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
    font-weight: 300;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 3rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-brand {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

.nav-cta {
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1.25rem;
    transition: background 0.3s, color 0.3s;
}

.nav-cta:hover {
    background: white;
    color: #333 !important;
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-overlay {
    position: relative;
    z-index: 2;
}

.hero-pre {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}

.hero .tagline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.hero-price {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.hero-stats .divider {
    width: 1px;
    height: 1rem;
    background: rgba(255, 255, 255, 0.4);
}

/* Sections */
.section {
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

/* Intro / Overview */
.intro {
    text-align: center;
}

.intro p {
    max-width: 700px;
    margin: 1.5rem auto 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Property Details Grid */
.details {
    background: #f8f8f8;
    max-width: 100%;
    padding: 6rem 2rem;
}

.details .details-grid {
    max-width: 1100px;
    margin: 3rem auto 0;
}

.details h2 {
    color: #1a1a2e;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.detail-card {
    background: white;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #e8e8e8;
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.75rem;
}

.detail-value {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #1a1a2e;
}

/* Features */
.features-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.feature-group h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.feature-group ul {
    list-style: none;
}

.feature-group li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #555;
}

.feature-group li:last-child {
    border-bottom: none;
}

/* Gallery */
.gallery {
    max-width: 1100px;
    margin: 3rem auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 0.75rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-wide {
    grid-column: span 2;
}

/* Orchard & Gardens */
.orchard {
    max-width: 100%;
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #f9f7f2 0%, #f0ebe0 100%);
}

.orchard h2 {
    color: #2d4a22;
}

.orchard-intro {
    text-align: center;
    max-width: 750px;
    margin: 1.5rem auto 3rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.orchard-features {
    max-width: 1100px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.orchard-feature {
    background: white;
    padding: 2.5rem 2rem;
    border: 1px solid #e0ddd4;
}

.orchard-feature h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #2d4a22;
    margin-bottom: 1rem;
}

.orchard-feature p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

.orchard-details {
    list-style: none;
    margin-top: 1.25rem;
}

.orchard-details li {
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: #666;
    border-bottom: 1px solid #f0ede6;
    padding-left: 1rem;
    position: relative;
}

.orchard-details li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    background: #2d4a22;
    border-radius: 50%;
    transform: translateY(-50%);
}

.orchard-details li:last-child {
    border-bottom: none;
}

.tree-inventory {
    max-width: 1100px;
    margin: 0 auto;
}

.tree-inventory > h3 {
    font-size: 1.75rem;
    font-weight: 300;
    color: #2d4a22;
    text-align: center;
    margin-bottom: 2rem;
}

.tree-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.tree-category {
    background: white;
    padding: 1.5rem;
    border: 1px solid #e0ddd4;
}

.tree-category h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d4a22;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tree-count {
    font-weight: 300;
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 0.03em;
}

.tree-category p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

/* Schools */
.schools {
    background: #f8f8f8;
    max-width: 100%;
    padding: 6rem 2rem;
}

.schools h2 {
    color: #1a1a2e;
}

.schools-intro {
    text-align: center;
    max-width: 700px;
    margin: 1.5rem auto 0;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
}

.schools-grid {
    max-width: 1100px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.school-card {
    background: white;
    padding: 2rem;
    border: 1px solid #e8e8e8;
    position: relative;
}

.school-featured {
    border-color: #c9a84c;
    border-width: 2px;
}

.school-badge {
    display: inline-block;
    background: #c9a84c;
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    margin-bottom: 1rem;
}

.school-card h3 {
    font-size: 1.35rem;
    font-weight: 400;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.school-grades {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 0.05em;
}

.school-ratings {
    display: flex;
    gap: 1.25rem;
    margin: 1.25rem 0;
    padding: 1rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.school-rating {
    text-align: center;
}

.rating-value {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a2e;
}

.rating-source {
    display: block;
    font-size: 0.65rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.15rem;
}

.school-highlights {
    list-style: none;
    margin-top: 0.5rem;
}

.school-highlights li {
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: #555;
    border-bottom: 1px solid #f5f5f5;
}

.school-highlights li:last-child {
    border-bottom: none;
}

/* Location */
.location-description {
    text-align: center;
    max-width: 700px;
    margin: 1.5rem auto 3rem;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
}

.map-container {
    width: 100%;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.map-container iframe {
    display: block;
}

.location-details {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    font-size: 0.9rem;
    color: #666;
}

.location-details strong {
    font-weight: 500;
    color: #333;
}

/* Contact */
.contact {
    text-align: center;
    background: #1a1a2e;
    max-width: 100%;
    color: white;
    padding: 6rem 2rem;
}

.contact h2 {
    color: white;
}

.contact p {
    max-width: 600px;
    margin: 1.5rem auto;
    opacity: 0.8;
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}

.contact-btn:hover {
    background: white;
    color: #1a1a2e;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: #888;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
    }

    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .details,
    .orchard,
    .schools,
    .contact {
        padding: 4rem 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .gallery-wide {
        grid-column: span 2;
    }

    .orchard-features {
        grid-template-columns: 1fr;
    }

    .tree-grid {
        grid-template-columns: 1fr;
    }

    .schools-grid {
        grid-template-columns: 1fr;
    }

    .location-details {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
}
