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

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

body {
    overflow-x: hidden;
}

::selection {
    background: #C4623A;
    color: #FDF8F0;
}

/* ===== NAVBAR ===== */
#navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(253, 248, 240, 0.85);
    border-bottom: 1px solid rgba(196, 98, 58, 0.08);
}

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.97);
    box-shadow: 0 4px 30px rgba(196, 98, 58, 0.08);
}

.nav-logo-text {
    color: #27130D !important;
}

#navbar.scrolled .nav-logo-text {
    color: #27130D !important;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C4623A;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

#navbar.scrolled .nav-link {
    color: rgba(39, 19, 13, 0.7) !important;
}

#navbar.scrolled .nav-link:hover {
    color: #C4623A !important;
}

/* ===== MOBILE MENU ===== */
.mobile-link {
    position: relative;
}

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

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

.geo-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #E29178;
    bottom: 10%;
    right: 20%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: #D9964E;
    top: 30%;
    right: 8%;
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid #E29178;
    top: 60%;
    right: 35%;
    opacity: 0.08;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-line {
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C4623A, transparent);
    bottom: 25%;
    right: 5%;
    transform: rotate(-30deg);
    opacity: 0.15;
}

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

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

/* ===== MARQUEE ===== */
.marquee-track {
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== MENU TABS ===== */
.menu-tab {
    background: transparent;
    color: rgba(253, 248, 240, 0.5);
    border: none;
    cursor: pointer;
}

.menu-tab.active {
    background: #C4623A;
    color: #FDF8F0;
    box-shadow: 0 4px 15px rgba(196, 98, 58, 0.3);
}

.menu-tab:not(.active):hover {
    background: rgba(253, 248, 240, 0.1);
    color: rgba(253, 248, 240, 0.8);
}

/* ===== SCROLL REVEAL ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(40px);
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }
    .reveal-card {
        opacity: 0;
        transform: translateY(20px);
    }
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: none;
}

.reveal-card.visible {
    opacity: 1;
    transform: none;
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }
    .geo-square-1 {
        width: 60px;
        height: 60px;
    }
    .geo-triangle {
        border-left: 35px solid transparent;
        border-right: 35px solid transparent;
        border-bottom: 60px solid #E29178;
    }
    .geo-line {
        width: 150px;
    }
}
