/* ===== BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
}

::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #fff;
}

/* ===== HERO GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.shape-circle-1 {
    width: 420px;
    height: 420px;
    border: 2px solid rgba(212, 160, 23, 0.5);
    border-radius: 50%;
    top: -80px;
    right: -100px;
    animation: float-slow 12s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.3), transparent);
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: float-slow 10s ease-in-out infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(212, 160, 23, 0.15);
    top: 30%;
    left: 8%;
    animation: spin-slow 20s linear infinite;
    opacity: 0.06;
}

.shape-diamond {
    width: 100px;
    height: 100px;
    background: rgba(212, 160, 23, 0.12);
    top: 25%;
    right: 12%;
    transform: rotate(45deg);
    animation: float-slow 8s ease-in-out infinite;
}

.shape-ring {
    width: 160px;
    height: 160px;
    border: 3px solid rgba(96, 165, 250, 0.2);
    border-radius: 50%;
    bottom: 25%;
    right: 8%;
    animation: float-slow 14s ease-in-out infinite reverse;
}

.shape-square-rot {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(212, 160, 23, 0.2);
    bottom: 35%;
    left: 15%;
    animation: spin-slow 15s linear infinite;
    transform: rotate(45deg);
}

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

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* ===== NAVBAR SCROLL STATE ===== */
#navbar.scrolled {
    background: rgba(10, 22, 40, 0.92);
    backdrop-blur-xl;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== MOBILE MENU ===== */
#mobile-menu.open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#mobile-menu.open .menu-line:nth-child(2) {
    opacity: 0;
}
#mobile-menu.open .menu-line:nth-child(3) {
    width: 20px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== SERVICE CARD HOVER ===== */
.service-card {
    opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

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

/* ===== FORM STYLES ===== */
select option {
    background: #0f1f3d;
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .shape-circle-1 {
        width: 250px;
        height: 250px;
    }

    .shape-circle-2 {
        width: 120px;
        height: 120px;
    }

    .shape-triangle {
        border-left-width: 50px;
        border-right-width: 50px;
        border-bottom-width: 87px;
    }

    .shape-diamond {
        width: 60px;
        height: 60px;
    }

    .shape-ring {
        width: 100px;
        height: 100px;
    }
}
