/* ===== BASE & RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }

/* ===== NAVBAR ===== */
#navbar {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(26,39,68,0.08);
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4a017;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ===== MOBILE MENU ===== */
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
.menu-line { transition: all 0.3s ease; }
#mobile-toggle.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
#mobile-toggle.active .menu-line:nth-child(2) { opacity: 0; }
#mobile-toggle.active .menu-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); width: 1.5rem; }

/* ===== SERVICE CARDS ===== */
.service-card { position: relative; overflow: hidden; }
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #d4a017;
    transition: height 0.4s ease;
}
.service-card:hover::before { height: 100%; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f3f9; }
::-webkit-scrollbar-thumb { background: #b8c8e2; rounded: 4px; }
::-webkit-scrollbar-thumb:hover { background: #8fa8d0; }

/* ===== SELECT ===== */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a2744' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}
