:root {
    --primary-black: #050505;
    --secondary-black: #111111;
    --primary-gold: #d4af37;
    --gradient-gold: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    background-color: var(--primary-black);
    color: var(--text-light);
}

body {
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    width: 100%;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.5rem;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

/* =====================
   NAVBAR
   ===================== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-fast);
    padding: 1rem 0;
    background: #000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar.scrolled {
    background: #000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-logo {
    height: 50px;
    object-fit: contain;
    position: absolute;
    left: 1.5rem;
}

/* Desktop nav links – centered */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--gradient-gold);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary-gold);
}

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

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    position: absolute;
    right: 1.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    transition: var(--transition-fast);
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.hero-img {
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.center-img {
    width: 100%;
}

.side-img {
    display: none;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.3), rgba(5,5,5,0.85));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
}

.hero-logo {
    width: 200px;
    margin-bottom: 2rem;
    animation: pulse 3s infinite alternate;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color: var(--primary-black);
    background: var(--gradient-gold);
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

/* =====================
   ABOUT SECTION
   ===================== */
.about-section {
    background: var(--secondary-black);
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

/* =====================
   CLASSES GRID
   ===================== */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.class-card {
    background: var(--secondary-black);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
}

.card-media {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.card-media img, .card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.class-card:hover .card-media img,
.class-card:hover .card-media video {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: var(--primary-gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* =====================
   HIGHLIGHTS SLIDER
   ===================== */
.highlights-section {
    background: var(--secondary-black);
    padding-bottom: 2rem;
}

.framed-slider {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    border: 2px solid var(--primary-gold);
    border-radius: 10px;
    background: #000;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    overflow: hidden;
}

.frame-header {
    background: var(--gradient-gold);
    color: var(--primary-black);
    text-align: center;
    padding: 12px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.3rem;
}

.frame-content {
    position: relative;
    width: 100%;
}

.frame-content img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.4s ease-in-out;
}

/* =====================
   INSTALLATIONS SLIDER
   ===================== */
.slider-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    background: #000;
}

.slider-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.4s ease-in-out;
}

.with-arrows {
    position: relative;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    font-size: 1.5rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background var(--transition-fast);
}

.slider-btn:hover {
    background: rgba(0,0,0,0.9);
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

/* =====================
   GALLERY SECTION
   ===================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    background: #050505;
    height: auto;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* =====================
   CONTACT SECTION
   ===================== */
.contact-section {
    padding: 2rem 1.5rem;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--secondary-black);
    border: 2px solid var(--primary-gold);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
}

.contact-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.contact-box a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.contact-box a:hover {
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* =====================
   FOOTER
   ===================== */
.footer {
    background: #000;
    padding: 3rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-logo {
    width: 150px;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* =====================
   FLOATING MAP BUTTON
   ===================== */
.floating-map-btn {
    position: fixed;
    bottom: 22px;
    right: 22px;
    background: var(--gradient-gold);
    color: var(--primary-black);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.6rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.5);
    z-index: 9999;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-map-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 22px rgba(212, 175, 55, 0.7);
}

/* =====================
   WHATSAPP FLOATING BTN
   ===================== */
.floating-wa-btn {
    position: fixed;
    bottom: 90px;
    right: 22px;
    background: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.6rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-wa-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.7);
}

/* =====================
   ANIMATIONS
   ===================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* =====================
   MOBILE RESPONSIVE
   ===================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        clip-path: circle(0% at 100% 0);
        transition: all 0.5s ease-out;
        gap: 1.5rem;
    }

    .nav-links.active {
        clip-path: circle(150% at 100% 0);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-logo {
        height: 40px;
    }
}

/* =====================
   DESKTOP ENHANCEMENTS
   ===================== */
@media (min-width: 769px) {
    .framed-slider {
        max-width: 700px;
    }

    .slider-container {
        max-width: 900px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero {
        height: 60vh;
    }

    .card-media {
        height: 300px;
    }

    .side-img {
        display: block;
        width: 50%;
    }

    .center-img {
        display: none;
    }
}
