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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* ===== NAVBAR ===== */
#navbar {
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(50, 7, 16, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== HERO GEOMETRIC SHAPES ===== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    background: #ffb3c1;
    top: -150px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: #ffd5dc;
    bottom: 10%;
    left: -80px;
    animation: float 10s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 150px;
    height: 150px;
    background: white;
    top: 40%;
    right: 10%;
    opacity: 0.05;
    animation: float 6s ease-in-out infinite;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.06;
}

.geo-triangle-1 {
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #ffb3c1;
    top: 20%;
    left: 5%;
    transform: rotate(15deg);
    animation: spin-slow 20s linear infinite;
}

.geo-square {
    position: absolute;
    opacity: 0.06;
    background: #ffd5dc;
}

.geo-square-1 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 8%;
    transform: rotate(30deg);
    animation: spin-slow 15s linear infinite reverse;
}

.geo-diamond {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.07;
    background: white;
    transform: rotate(45deg);
}

.geo-diamond-1 {
    top: 30%;
    right: 20%;
    animation: float 7s ease-in-out infinite;
}

.geo-dots {
    position: absolute;
    opacity: 0.04;
    background-image: radial-gradient(circle, white 1.5px, transparent 1.5px);
    background-size: 20px 20px;
}

.geo-dots-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 15%;
}

.geo-dots-2 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    right: 15%;
}

/* ===== HERO BADGE ===== */
.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
}

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

/* ===== ABOUT IMAGE ===== */
.about-image-wrapper {
    animation: fadeInLeft 0.8s ease forwards;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    will-change: transform;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        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; }
}

/* ===== MOBILE MENU ===== */
.mobile-link {
    display: block;
}

/* ===== CUSTOM SELECT STYLING ===== */
select option {
    background: #320710;
    color: white;
}

/* ===== FOCUS VISIBLE ===== */
*:focus-visible {
    outline: 2px solid #ff8fab;
    outline-offset: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .geo-triangle-1 {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 70px solid #ffb3c1;
    }
    
    .geo-square-1 {
        width: 50px;
        height: 50px;
    }
}
