/* ─── CUSTOM STYLES ─── */

:root {
    --font-serif: 'Lora', Georgia, serif;
    --font-sans: 'Nunito', system-ui, sans-serif;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

/* ─── NAVBAR ─── */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-blur-lg;
    box-shadow: 0 1px 20px rgba(15, 26, 62, 0.08);
}

.nav-link {
    position: relative;
}

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

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

/* ─── MOBILE MENU ─── */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

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

.mobile-menu-link {
    position: relative;
    padding-left: 0;
}

.mobile-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #d49a2a;
    transition: width 0.25s ease;
}

.mobile-menu-link:hover::before {
    width: 16px;
}

/* ─── HERO GRADIENT ─── */
.hero-gradient {
    background: linear-gradient(135deg, #0f1a3e 0%, #1e3a8a 30%, #1e40af 50%, #1e3a8a 70%, #0f1a3e 100%);
}

.hero-blob {
    animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-1 {
    animation-delay: 0s;
}

.hero-blob-2 {
    animation-delay: -3s;
}

.hero-blob-3 {
    animation-delay: -5s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-blob {
        animation: none;
    }
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ─── SERVICE CARDS ─── */
.card-gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4ff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-gradient:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(15, 26, 62, 0.12);
}

/* ─── AREA CHIPS ─── */
.area-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4ff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-weight: 600;
    color: #1e3a8a;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.area-chip:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: #fff;
    border-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 26, 62, 0.2);
}

.area-chip:hover svg {
    fill: #fde68a;
}

/* ─── FORM INPUTS ─── */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}
