/* === Base & Typography === */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* === Hero Animations === */
.hero-tag {
    animation: fadeUp 0.8s ease forwards;
}

.hero-title {
    animation: fadeUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-card {
    animation: fadeUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

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

/* === Scroll Reveal === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === Service Cards === */
.service-card {
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* === Navbar === */
.nav-scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.nav-scrolled #navbar {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* === Mobile Menu === */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.25s; }

/* === Custom Selection === */
::selection {
    background: rgba(232, 96, 60, 0.3);
    color: #fff;
}

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

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

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

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

/* === Form Focus Styles === */
input:focus,
textarea:focus,
select:focus {
    border-color: rgba(232, 96, 60, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(232, 96, 60, 0.1);
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}
