/* ===== 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 {
    overflow-x: hidden;
}

::selection {
    background: rgba(249, 112, 102, 0.3);
    color: #f6f6f6;
}

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== HERO ===== */
.clip-hero-bg {
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-tagline {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.hero-headline {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-subtext {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.35s;
    opacity: 0;
}

.hero-cta-primary,
.hero-cta-secondary {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

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

/* Hero Image Grid */
.hero-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    position: relative;
}

.hero-img {
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.hero-img--main {
    height: 400px;
    animation-delay: 0.4s;
}

.hero-img--accent {
    height: 200px;
    position: absolute;
    bottom: -20px;
    left: -30px;
    width: 55%;
    z-index: 2;
    border: 4px solid #141414;
    animation-delay: 0.6s;
}

.hero-img--badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
    animation-delay: 1s;
}

.hero-img img {
    width: 100%;
    height: 100%;
    display: block;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== SERVICES ===== */
.service-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }
.service-card:nth-child(5) { transition-delay: 0.4s; }
.service-card:nth-child(6) { transition-delay: 0.5s; }

/* ===== ABOUT ===== */
.about-image-wrapper {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-image-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:nth-child(1) { transition-delay: 0.1s; }
.testimonial-card:nth-child(2) { transition-delay: 0.2s; }
.testimonial-card:nth-child(3) { transition-delay: 0.3s; }

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

/* ===== FORM ===== */
select option {
    background: #1f1f1f;
    color: #f6f6f6;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 1024px) {
    .hero-image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        height: 560px;
    }

    .hero-img--main {
        height: 100%;
    }

    .hero-img--accent {
        height: 100%;
        width: 100%;
        position: relative;
        border: none;
    }

    .hero-img--badge {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 120px;
        margin-top: 16px;
        animation: none;
    }
}

@media (max-width: 1023px) {
    .hero-img--accent {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        border: none;
        margin-top: 16px;
    }

    .hero-img--badge {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 120px;
        margin-top: 16px;
        animation: none;
    }

    .hero-image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }
}

@media (max-width: 767px) {
    .hero-img--main {
        height: 300px;
    }
}
