/* ===== 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 {
    background-color: #0f1115;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

.geo-circle-1 {
    top: 15%;
    right: -5%;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(255, 107, 74, 0.12);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    bottom: 20%;
    left: -8%;
    width: 500px;
    height: 500px;
    border: 2px solid rgba(255, 107, 74, 0.08);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite reverse;
}

.geo-triangle {
    top: 45%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(255, 107, 74, 0.06);
    animation: spin 20s linear infinite;
    transform-origin: center;
}

.geo-dots {
    top: 70%;
    right: 10%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(255, 107, 74, 0.2) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.6;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(3deg); }
}

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

/* ===== NAVBAR ===== */
.nav-scrolled {
    background: rgba(15, 17, 21, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile menu */
#mobileMenu {
    opacity: 0;
    pointer-events: none;
}

#mobileMenu.active {
    opacity: 1;
    pointer-events: all;
}

.menu-line {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

#menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

.mobile-nav-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

#mobileMenu.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.active .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.active .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.active .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.active .mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }

/* ===== SERVICE CARDS ===== */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ===== GALLERY ===== */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover {
    box-shadow: 0 20px 60px rgba(255, 107, 74, 0.15);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    opacity: 1;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #2a2d35;
    border-radius: 4px;
}

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

/* ===== SELECTION ===== */
::selection {
    background: rgba(255, 107, 74, 0.3);
    color: #ffffff;
}
