/* =========================================
   CLUB ONE - Variables & Core
   ========================================= */
:root {
    /* Colors */
    --bg-dark: #050505;
    
    /* Magenta Neon Scale */
    --magenta-50: #ffe5f3;
    --magenta-500: #E6007E;
    --magenta-700: #990054;
    --magenta-900: #4d002a;
    
    /* Cyan Electric Scale */
    --cyan-50: #e5faff;
    --cyan-500: #00D2FF;
    --cyan-700: #008ca6;
    --cyan-900: #004653;
    
    /* Typography */
    --font-display: 'Syncopate', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* UI Elements */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: #ffffff;
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

/* =========================================
   Typography Accents
   ========================================= */
.neon-magenta {
    color: var(--magenta-500);
    text-shadow: 0 0 10px rgba(230, 0, 126, 0.5), 0 0 20px rgba(230, 0, 126, 0.3);
}

.neon-cyan {
    color: var(--cyan-500);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5), 0 0 20px rgba(0, 210, 255, 0.3);
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

.btn-block {
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

.btn-primary {
    background-color: var(--magenta-500);
    color: white;
}

.btn-primary:hover {
    background-color: var(--magenta-700);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(230, 0, 126, 0.6);
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(230, 0, 126, 0.8);
    transform: translateY(-2px);
}

.btn-outline-cyan {
    border-color: var(--cyan-500);
    color: var(--cyan-500);
    background: transparent;
}

.btn-outline-cyan:hover {
    background-color: rgba(0, 210, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.btn-outline-magenta {
    border-color: var(--magenta-500);
    color: var(--magenta-500);
    background: transparent;
}

.btn-outline-magenta:hover {
    background-color: rgba(230, 0, 126, 0.1);
    box-shadow: 0 0 15px rgba(230, 0, 126, 0.4);
}

.btn-ghost {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* =========================================
   Header & Navigation
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 10px 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan-500);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--cyan-500);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('../img/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
}

/* =========================================
   The Experience (Flip Cards)
   ========================================= */
.flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.flip-card {
    background-color: transparent;
    height: 400px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.flip-card-front {
    background-size: cover;
    background-position: center;
    border: 1px solid var(--glass-border);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.flip-card-front h3 {
    position: relative;
    z-index: 2;
    font-size: 1.8rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.flip-card-back {
    background: linear-gradient(135deg, rgba(20,20,20,0.95), rgba(5,5,5,0.95));
    border: 1px solid var(--cyan-500);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2) inset;
    transform: rotateY(180deg);
}

.flip-card-back h3 {
    color: var(--cyan-500);
    margin-bottom: 20px;
}

.flip-card-back p {
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #ccc;
}

/* =========================================
   Glassmorphism (Events)
   ========================================= */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 15px;
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--magenta-500);
}

.event-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 25px rgba(230, 0, 126, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.event-card:nth-child(even) {
    border-left-color: var(--cyan-500);
}

.event-card:nth-child(even):hover {
    box-shadow: 0 5px 25px rgba(0, 210, 255, 0.2);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    padding-right: 30px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.event-date .day {
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1;
    color: white;
}

.event-date .month {
    font-size: 0.9rem;
    color: var(--magenta-500);
    letter-spacing: 2px;
}

.event-card:nth-child(even) .event-date .month {
    color: var(--cyan-500);
}

.event-info {
    flex-grow: 1;
    padding-left: 30px;
}

.event-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.event-info p {
    color: #aaa;
    font-size: 0.9rem;
}

/* =========================================
   Social Feed / Gallery
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: grayscale(40%) brightness(0.8);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 0 0px transparent;
    transition: box-shadow 0.3s ease;
    border-radius: 10px;
    pointer-events: none;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1.1);
}

.gallery-item:hover::after {
    box-shadow: inset 0 0 0 4px var(--cyan-500), 0 0 20px var(--cyan-500);
}

.gallery-item:nth-child(even):hover::after {
    box-shadow: inset 0 0 0 4px var(--magenta-500), 0 0 20px var(--magenta-500);
}

.gallery-footer {
    text-align: center;
}

/* =========================================
   Location & Contact
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info {
    padding: 50px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info i {
    color: var(--cyan-500);
    font-size: 1.2rem;
    width: 20px;
}

.direct-links {
    margin-top: 40px;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    min-height: 350px;
    border: 1px solid var(--glass-border);
}

/* =========================================
   Footer & Floating Elements
   ========================================= */
.site-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 0 30px;
    background: #000;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 1.5rem;
    color: white;
}

.footer-social a:hover {
    background: var(--magenta-500);
    border-color: var(--magenta-500);
    box-shadow: 0 0 15px var(--magenta-500);
    transform: translateY(-5px);
}

.footer-info p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* =========================================
   Animations (Motor de Movimiento)
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* =========================================
   Responsive Media Queries
   ========================================= */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }
    
    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .mobile-menu-btn { display: block; }
    .header-cta { display: none; }
    
    .hero-title { font-size: 2.2rem; }
    .section { padding: 60px 0; }
    
    .event-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .event-date {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-right: 0;
        padding-bottom: 15px;
        width: 100%;
    }
    
    .event-info { padding-left: 0; }
    .contact-info { padding: 30px 20px; }
}
