/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --charcoal-900: #0D0D0D;
    --charcoal-800: #141414;
    --charcoal-700: #1C1C1C;
    --charcoal-600: #242424;
    --coral-500: #FF6B4A;
    --coral-400: #FF8566;
    --coral-600: #E5553A;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--coral-500);
    color: white;
}

/* ===== NAVBAR ===== */
.navbar-scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 74, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

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

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

.menu-line.active:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--coral-400);
}

/* ===== HERO ===== */
.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

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

/* ===== SERVICE CARDS ===== */
.service-card {
    will-change: transform;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* ===== REVIEW CARDS ===== */
.review-card {
    position: relative;
    overflow: hidden;
}

.review-card::after {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 120px;
    color: rgba(255, 107, 74, 0.04);
    line-height: 1;
    pointer-events: none;
}

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

select option {
    background: #1C1C1C;
    color: #9CA3AF;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--charcoal-900);
}

::-webkit-scrollbar-thumb {
    background: var(--charcoal-600);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--coral-500);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .service-card {
        padding: 1.5rem;
    }
}
