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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

.shape-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 176, 128, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
}

.shape-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 107, 53, 0.06);
    border: 2px solid rgba(255, 107, 53, 0.15);
    border-radius: 24px;
    top: 20%;
    left: 8%;
    transform: rotate(45deg);
}

.shape-rect-2 {
    width: 80px;
    height: 80px;
    background: rgba(255, 176, 128, 0.08);
    border-radius: 16px;
    bottom: 25%;
    right: 12%;
    transform: rotate(30deg);
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(255, 107, 53, 0.05);
    top: 40%;
    right: 5%;
}

/* ========== WHY US GEOMETRIC SHAPES ========== */
.why-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.shape-rect-3 {
    width: 200px;
    height: 200px;
    background: rgba(255, 107, 53, 0.04);
    border: 2px solid rgba(255, 107, 53, 0.1);
    border-radius: 40px;
    bottom: 10%;
    right: -50px;
    transform: rotate(20deg);
}

.shape-circle-4 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 176, 128, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 40%;
}

/* ========== AREAS SECTION SHAPES ========== */
.areas-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-5 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -100px;
}

.shape-rect-4 {
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    bottom: -40px;
    left: 5%;
    transform: rotate(15deg);
}

/* ========== SERVICE CARDS ========== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ffb080);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* ========== AREA CARDS ========== */
.area-card {
    cursor: default;
}

/* ========== MOBILE MENU ANIMATION ========== */
.menu-line {
    display: block;
}

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

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

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

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-delay="100"] { transition-delay: 0.1s; }
.reveal[data-delay="200"] { transition-delay: 0.2s; }
.reveal[data-delay="300"] { transition-delay: 0.3s; }
.reveal[data-delay="400"] { transition-delay: 0.4s; }

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

/* ========== NAVBAR SCROLL STATE ========== */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .font-heading.font-bold.text-charcoal-900 {
    color: #1a1a1a;
}

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

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* ========== SELECTION ========== */
::selection {
    background: rgba(255, 107, 53, 0.2);
    color: #1a1a1a;
}
