/* ========================================
   Ridgeview Greenhouse — Styles
   Deep Navy + Warm Gold | Minimalist
   ======================================== */

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

:root {
    --navy-950: #0a1628;
    --navy-900: #0f2137;
    --navy-800: #152d4a;
    --navy-700: #1a3658;
    --navy-600: #1e4070;
    
    --gold-500: #C8A961;
    --gold-400: #D4BA7A;
    --gold-300: #E0CA94;
    --gold-600: #A88B3E;
    
    --white: #FFFFFF;
    --off-white: #F8F7F4;
    --cream: #F2F0EB;
    --gray-100: #E8E6E1;
    --gray-200: #D1CFC9;
    --gray-400: #9E9B94;
    --gray-600: #6B6860;
    --gray-800: #3A3834;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--gray-800);
    background: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Labels */
.section-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--navy-900);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.lead {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 32px;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-950);
    border-color: var(--gold-500);
}

.btn-primary:hover {
    background: var(--gold-600);
    border-color: var(--gold-600);
    transform: translateY(-1px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-full {
    width: 100%;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.4s var(--ease-smooth);
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.01em;
}

.nav-logo-icon {
    color: var(--gold-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-500);
    transition: width 0.3s var(--ease-smooth);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    color: var(--gold-500) !important;
}

.nav-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.55) 0%,
        rgba(10, 22, 40, 0.45) 50%,
        rgba(10, 22, 40, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    animation: float 2.5s ease-in-out infinite;
    transition: color 0.3s ease;
}

.hero-scroll:hover {
    color: var(--gold-500);
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Section Spacing */
.section {
    padding: 100px 0;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 0;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold-500);
    z-index: -1;
    opacity: 0.4;
}

/* Divider */
.divider {
    padding: 0 24px;
}

.divider-line {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: var(--gray-200);
}

/* Collections */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.collection-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    transition: all 0.4s var(--ease-smooth);
    overflow: hidden;
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.08);
    border-color: var(--gold-300);
}

.collection-card-img {
    overflow: hidden;
    height: 220px;
}

.collection-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

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

.collection-card-body {
    padding: 28px 24px;
}

.collection-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.collection-card-body p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Services */
.services {
    background: var(--navy-900);
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.services-text .section-title {
    color: var(--white);
}

.services-text .lead {
    color: rgba(255, 255, 255, 0.6);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-num {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold-500);
    padding-top: 4px;
}

.service-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.service-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* Quote Section */
.quote-section {
    background: var(--cream);
    padding: 80px 0;
}

.quote-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.quote-mark {
    color: var(--gold-500);
    opacity: 0.4;
    margin-bottom: 24px;
}

.quote-wrapper blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--navy-900);
    margin-bottom: 24px;
}

.quote-attribution {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
}

/* Visit */
.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.visit-detail svg {
    color: var(--gold-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.visit-detail a {
    color: var(--navy-700);
    transition: color 0.3s ease;
}

.visit-detail a:hover {
    color: var(--gold-600);
}

.visit-map {
    position: relative;
}

.map-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.map-link img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.map-link:hover img {
    transform: scale(1.03);
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.8), transparent);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Contact */
.contact {
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--navy-700);
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--gold-600);
}

.contact-link svg {
    color: var(--gold-500);
}

/* Form */
.contact-form-wrapper {
    background: var(--off-white);
    padding: 40px;
    border: 1px solid var(--gray-100);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.form-group .optional {
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
    color: var(--gray-400);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--gray-800);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gray-200);
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    padding: 16px 20px;
    background: var(--navy-900);
    color: var(--white);
    font-size: 0.9rem;
    margin-top: 16px;
    text-align: center;
}

.form-success.show {
    display: block;
}

/* Footer */
.footer {
    background: var(--navy-950);
    padding: 64px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-logo svg {
    color: var(--gold-500);
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--gold-500);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-layout {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-900);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right 0.4s var(--ease-smooth);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .hero-headline {
        font-size: clamp(2.4rem, 10vw, 3.5rem);
    }
    
    .about-grid,
    .visit-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .about-image::before {
        top: -10px;
        right: -10px;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .services-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section {
        padding: 72px 0;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 28px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .contact-form-wrapper {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 260px;
    }
    
    .collection-card-img {
        height: 200px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal[data-reveal] {
        opacity: 1;
        transform: none;
    }
    
    .hero-scroll {
        animation: none;
    }
}
