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

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

body {
    min-height: 100vh;
}

/* ===== GEOMETRIC BACKGROUND SHAPES ===== */
.geometric-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 93, 58, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(226, 187, 85, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: -100px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-rect-1 {
    width: 200px;
    height: 200px;
    background: rgba(212, 93, 58, 0.04);
    border-radius: 30px;
    top: 40%;
    right: 5%;
    transform: rotate(45deg);
    animation: float-slow 18s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid rgba(226, 187, 85, 0.05);
    top: 60%;
    left: 3%;
    animation: float-slow 22s ease-in-out infinite reverse;
}

.shape-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(212, 93, 58, 0.15) 2px, transparent 2px);
    background-size: 16px 16px;
    top: 25%;
    left: 8%;
    animation: float-slow 16s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* ===== NAVBAR ===== */
#navbar {
    background: rgba(253, 248, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.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; }

/* ===== MOBILE MENU ===== */
#mobile-menu {
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ===== SECTION TRANSITIONS ===== */
section {
    position: relative;
}

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

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

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

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

/* ===== SELECTION ===== */
::selection {
    background: rgba(212, 93, 58, 0.2);
    color: #1A1412;
}
