@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Fira+Code:wght@400;500&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a100e;
    color: #ffd8c7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-y: auto;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Playfair Display', serif;
}

code, .font-mono {
    font-family: 'Fira Code', monospace;
}

/* ============================================
   CULTURIA NAV SYSTEM
   ============================================ */
#main-nav {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s,
                border-color 0.3s;
    will-change: transform;
}

/* ============================================
   PRESENTATION CONTAINER & SLIDE SYSTEM
   ============================================ */
@media (min-width: 1025px) {
    body {
        overflow: hidden;
    }

    .presentation-container {
        height: 100vh;
        overflow-y: auto;
        scroll-snap-type: y mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .slide-section {
        height: 100vh;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

.presentation-container {
    width: 100%;
}

.slide-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 5rem 1rem 3rem 1rem;
    min-height: 100svh;
}

@media (min-width: 640px) {
    .slide-section {
        padding: 6rem 1.5rem 3rem 1.5rem;
    }
}

@media (min-width: 1025px) {
    .slide-section {
        height: 100vh;
        min-height: unset;
        padding: 6rem 2rem 2rem 2rem;
    }
}

/* ============================================
   NAV DOTS
   ============================================ */
.nav-dots {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 100;
}

@media (max-width: 1024px) {
    .nav-dots {
        display: none !important;
    }
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 216, 199, 0.25);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dot:hover {
    background-color: rgba(251, 192, 45, 0.8);
    transform: scale(1.3);
}

.nav-dot.active {
    background-color: #FBC02D;
    border-color: #1a100e;
    box-shadow: 0 0 12px rgba(251, 192, 45, 0.8);
    transform: scale(1.4);
}

.nav-dots.light-theme .nav-dot {
    background-color: rgba(62, 39, 35, 0.3);
}

.nav-dots.light-theme .nav-dot:hover {
    background-color: rgba(230, 81, 0, 0.8);
}

.nav-dots.light-theme .nav-dot.active {
    background-color: #E65100;
    border-color: #FAF6F0;
    box-shadow: 0 0 12px rgba(230, 81, 0, 0.6);
}

/* ============================================
   GRADIENTS & PATTERNS
   ============================================ */
.bg-radial-dark {
    background: radial-gradient(circle at 80% 20%, rgba(230, 81, 0, 0.15) 0%, rgba(26, 16, 14, 1) 70%);
}

.bg-radial-light {
    background: radial-gradient(circle at 20% 80%, rgba(255, 243, 224, 0.9) 0%, rgba(250, 246, 240, 1) 100%);
}

.bg-radial-accent {
    background: radial-gradient(circle at 50% 50%, rgba(251, 192, 45, 0.08) 0%, rgba(26, 16, 14, 1) 80%);
}

/* Mesoamerican-inspired modern pattern */
.bg-cultural-pattern {
    background-image: radial-gradient(#E65100 0.5px, transparent 0.5px), radial-gradient(#FBC02D 0.5px, #1a100e 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.04;
}

/* ============================================
   GLASSMORPHISM
   ============================================ */
.glass-card-dark {
    background: rgba(38, 24, 21, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 216, 199, 0.08);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(62, 39, 35, 0.08);
}

/* ============================================
   TABS & INTERACTIVES
   ============================================ */
.tab-btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.tab-btn.active {
    background-color: rgba(251, 192, 45, 0.12);
    border-color: #FBC02D;
    color: #FBC02D;
}

.light-theme .tab-btn.active {
    background-color: rgba(230, 81, 0, 0.08);
    border-color: #E65100;
    color: #E65100;
}

.tabs-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 0;
}

.tabs-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.tabs-scroll-wrapper .flex {
    min-width: max-content;
}

/* ============================================
   HOVER ACTIONS & MICRO-ANIMATIONS
   ============================================ */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
    .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(230, 81, 0, 0.12);
    }
    .light-theme .hover-lift:hover {
        box-shadow: 0 15px 35px rgba(62, 39, 35, 0.08);
    }
}

.pulse-amber {
    animation: pulse-amber-glow 2s infinite;
}

@keyframes pulse-amber-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 192, 45, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(251, 192, 45, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(251, 192, 45, 0);
    }
}

/* ============================================
   RESPONSIVE DESIGN SYSTEM OVERRIDES
   ============================================ */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem !important;
        line-height: 1.15 !important;
    }

    .section-title-lg {
        font-size: 1.8rem !important;
        line-height: 1.25 !important;
    }
}
