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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(192, 96, 58, 0.08);
}

.nav-text {
    color: #5a291a;
    transition: color 0.4s ease;
}

#navbar.scrolled .nav-text {
    color: #5a291a;
}

/* ===== HERO ===== */
#hero {
    position: relative;
}

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

.geo-circle-1 {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: #F5D9A8;
    top: -100px;
    right: -100px;
    animation: float-slow 12s ease-in-out infinite;
}

.geo-circle-2 {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: #E2AF55;
    bottom: 15%;
    left: -60px;
    animation: float-slow 16s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #FDE0D4;
    top: 40%;
    right: 10%;
    animation: float-slow 10s ease-in-out infinite;
}

.geo-circle-4 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(253, 248, 240, 0.1);
    bottom: -200px;
    right: -150px;
    animation: float-slow 14s ease-in-out infinite reverse;
}

.geo-circle-5 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(253, 248, 240, 0.06);
    top: -80px;
    left: -80px;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-square-1 {
    width: 180px;
    height: 180px;
    background: #F8C4AC;
    border-radius: 30px;
    top: 20%;
    left: 5%;
    transform: rotate(25deg);
    animation: spin-slow 20s linear infinite;
}

.geo-square-2 {
    width: 100px;
    height: 100px;
    background: #FDE0D4;
    border-radius: 20px;
    bottom: 20%;
    right: 8%;
    transform: rotate(-15deg);
    animation: spin-slow 15s linear infinite reverse;
}

.geo-square-3 {
    width: 120px;
    height: 120px;
    background: rgba(253, 248, 240, 0.08);
    border-radius: 24px;
    bottom: -30px;
    right: 15%;
    transform: rotate(40deg);
    animation: spin-slow 22s linear infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 90px solid transparent;
    border-right: 90px solid transparent;
    border-bottom: 156px solid #E2AF55;
    top: 60%;
    left: 12%;
    transform: rotate(-20deg);
    animation: float-slow 13s ease-in-out infinite;
    opacity: 0.08;
}

.geo-rect-1 {
    width: 200px;
    height: 200px;
    background: rgba(192, 96, 58, 0.06);
    border-radius: 32px;
    top: 10%;
    right: -50px;
    transform: rotate(15deg);
    animation: float-slow 17s ease-in-out infinite;
}

.geo-rect-2 {
    width: 120px;
    height: 120px;
    background: rgba(226, 175, 85, 0.08);
    border-radius: 24px;
    bottom: 15%;
    left: 3%;
    transform: rotate(-10deg);
    animation: float-slow 11s ease-in-out infinite reverse;
}

.geo-rect-3 {
    width: 160px;
    height: 160px;
    background: rgba(253, 248, 240, 0.07);
    border-radius: 28px;
    top: 5%;
    left: -40px;
    transform: rotate(30deg);
    animation: spin-slow 25s linear infinite;
}

.geo-footer-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(253, 248, 240, 0.03);
    bottom: -150px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

/* ===== GEOMETRIC DOTS ===== */
.geo-dot {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

.geo-dot-1 {
    width: 12px;
    height: 12px;
    background: #C0603A;
    opacity: 0.2;
    top: 20%;
    left: 8%;
    animation: pulse-dot 3s ease-in-out infinite;
}

.geo-dot-2 {
    width: 8px;
    height: 8px;
    background: #E2AF55;
    opacity: 0.3;
    bottom: 25%;
    right: 5%;
    animation: pulse-dot 4s ease-in-out infinite 1s;
}

.geo-dot-3 {
    width: 10px;
    height: 10px;
    background: #C0603A;
    opacity: 0.15;
    top: 30%;
    right: 10%;
    animation: pulse-dot 3.5s ease-in-out infinite 0.5s;
}

.geo-dot-4 {
    width: 16px;
    height: 16px;
    background: #E2AF55;
    opacity: 0.15;
    bottom: 20%;
    left: 6%;
    animation: pulse-dot 4.5s ease-in-out infinite 2s;
}

/* ===== SCROLL DOT ===== */
.scroll-dot {
    animation: scroll-bounce 2s ease-in-out infinite;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.5); opacity: 0.4; }
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.4; }
}

/* ===== MOBILE MENU ===== */
.menu-line {
    transition: all 0.3s ease;
}

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

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

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

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
