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

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

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== NAVBAR ===== */
#navbar.scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(44, 31, 22, 0.08);
}

#navbar.scrolled .menu-line {
    background: #2C1F16;
}

/* ===== MOBILE MENU ===== */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

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

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

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

.geo-circle-1 {
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    border: 3px solid rgba(192, 90, 58, 0.12);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    top: 60%;
    left: 15%;
    width: 120px;
    height: 120px;
    background: rgba(232, 184, 75, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-square-1 {
    top: 25%;
    right: 48%;
    width: 60px;
    height: 60px;
    background: rgba(192, 90, 58, 0.08);
    border-radius: 12px;
    transform: rotate(45deg);
    animation: spin 12s linear infinite;
}

.geo-triangle-1 {
    bottom: 20%;
    right: 45%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(232, 184, 75, 0.12);
    animation: float 7s ease-in-out infinite;
}

.geo-dots {
    bottom: 15%;
    left: 8%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(192, 90, 58, 0.2) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.6;
}

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

.clip-diagonal-reverse {
    clip-path: polygon(0% 65%, 70% 0, 100% 0, 100% 100%, 0% 100%);
}

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

@keyframes spin {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

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

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #C05A3A, #E8B84B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

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

.reveal.visible {
    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 BUTTON ===== */
.menu-line {
    transition: all 0.3s ease;
}

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

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

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

/* ===== CUSTOM SELECTION ===== */
::selection {
    background: rgba(192, 90, 58, 0.2);
    color: #2C1F16;
}

/* ===== FORM STYLES ===== */
input:focus, select:focus, textarea:focus {
    background: white !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .geo-circle-1 { width: 120px; height: 120px; }
    .geo-circle-2 { width: 80px; height: 80px; }
    .geo-square-1 { width: 40px; height: 40px; }
    .geo-triangle-1 { display: none; }
    .geo-dots { display: none; }
}
