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

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

body {
    min-height: 100vh;
    overflow-x: hidden;
}

::selection {
    background: #C4704B;
    color: #FDFBF8;
}

/* ── Navbar ── */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(253, 251, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(196, 112, 75, 0.1);
}

#navbar.scrolled .nav-link,
#navbar.scrolled a:not(.btn-primary):not(.btn-secondary) {
    color: #1E1E1A;
}

#navbar.scrolled .font-serif {
    color: #1E1E1A;
}

/* ── Hero ── */
.hero-bg {
    will-change: transform;
}

.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(30, 30, 26, 0.45) 0%,
        rgba(30, 30, 26, 0.35) 40%,
        rgba(30, 30, 26, 0.55) 100%
    );
}

/* ── Vineyard Section ── */
.vineyard-overlay {
    background: linear-gradient(
        to right,
        rgba(30, 30, 26, 0.7) 0%,
        rgba(30, 30, 26, 0.4) 60%,
        rgba(30, 30, 26, 0.2) 100%
    );
}

/* ── Typography ── */
.label {
    letter-spacing: 0.3em;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #C4704B;
    color: #FDFBF8;
    border: 1px solid #C4704B;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: #B55D3C;
    border-color: #B55D3C;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(196, 112, 75, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(253, 251, 248, 0.15);
}

/* ── Inputs ── */
.input-field {
    border: none;
    border-bottom: 1px solid #E8E8E2;
    background: transparent;
    padding: 0.75rem 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 300;
    color: #1E1E1A;
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%;
}

.input-field::placeholder {
    color: #B0B0A6;
    font-weight: 300;
}

.input-field:focus {
    border-bottom-color: #C4704B;
}

.input-field:hover:not(:focus) {
    border-bottom-color: #D4D4CC;
}

select.input-field {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%238A8A80' stroke-width='1.5'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke-linecap='none' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Hero Animations ── */
.hero-subtitle {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-title {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-desc {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.hero-cta {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}

.scroll-indicator {
    animation: fadeIn 1s ease 1.5s both;
}

/* ── Mobile Menu ── */
.mobile-link {
    animation: fadeIn 0.4s ease both;
}

.mobile-link:nth-child(1) { animation-delay: 0.05s; }
.mobile-link:nth-child(2) { animation-delay: 0.1s; }
.mobile-link:nth-child(3) { animation-delay: 0.15s; }
.mobile-link:nth-child(4) { animation-delay: 0.2s; }
.mobile-link:nth-child(5) { animation-delay: 0.25s; }

/* ── Image hover ── */
aspect-ratio: auto;
}

.aspect-\[4\/5\] {
    aspect-ratio: 4/5;
}

.aspect-\[3\/4\] {
    aspect-ratio: 3/4;
}

.aspect-square {
    aspect-ratio: 1;
}

/* ── Focus visible ── */
:focus-visible {
    outline: 2px solid #C4704B;
    outline-offset: 2px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #FAF5EE;
}

::-webkit-scrollbar-thumb {
    background: #D4B596;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C4704B;
}
