/* ===== 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;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== Section Labels ===== */
.section-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #2ec4a6;
}

/* ===== Navigation ===== */
.nav-fixed {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
}

.nav-fixed.scrolled {
    box-shadow: 0 1px 30px rgba(10, 22, 40, 0.06);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2ec4a6;
    transition: width 0.3s ease;
}

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

/* ===== Mobile Menu ===== */
.mobile-menu {
    transition: opacity 0.4s ease, pointer-events 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
}

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

#menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

#menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
    width: 1.5rem;
}

/* ===== Buttons ===== */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

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

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

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

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

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

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

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Reveal Animations ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .reveal-up.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .reveal-left.revealed {
        opacity: 1;
        transform: translateX(0);
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .reveal-right.revealed {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Product Cards ===== */
.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(46, 196, 166, 0.2);
    transform: translateY(-4px);
}

/* ===== Visit Items ===== */
.visit-item {
    border-left: 1px solid rgba(46, 196, 166, 0.2);
    padding-left: 20px;
    transition: all 0.3s ease;
}

.visit-item:hover {
    border-left-color: #2ec4a6;
}

/* ===== Form Styles ===== */
.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9fb5cf;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(10, 22, 40, 0.12);
    padding: 12px 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: #0f1f33;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(10, 22, 40, 0.2);
    font-weight: 300;
}

.form-input:focus {
    border-bottom-color: #2ec4a6;
}

.form-group:focus-within .form-label {
    color: #2ec4a6;
}

.form-input:focus {
    background: rgba(46, 196, 166, 0.02);
    border-bottom-color: #2ec4a6;
}

/* ===== Form Success ===== */
.form-success {
    animation: formSuccessIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-success.hidden {
    display: none;
}

@keyframes formSuccessIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== Decorative Patterns ===== */
.pattern-dots {
    background-image: radial-gradient(circle, rgba(46, 196, 166, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ===== Selection ===== */
::selection {
    background: rgba(46, 196, 166, 0.2);
    color: #0f1f33;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7ac4a9;
}
