/* 
   VISSION Films - Style System 
   Premium Luxury Editorial Aesthetic
*/

:root {
    /* Colors */
    --color-black: #0A0A0A;
    --color-black-soft: #141414;
    --color-gold: #D4AF37;
    --color-gold-light: #F1D592;
    --color-gold-dark: #996515;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F1D592 50%, #996515 100%);
    --color-white: #FFFFFF;
    --color-gray-light: #F5F5F7;
    --color-gray: #8E8E93;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Shadows & Effects */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .title-font {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: var(--space-xl) 0;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid {
    display: grid;
    gap: var(--space-md);
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--color-black);
    box-shadow: 0 10px 20px rgba(184, 134, 11, 0.2);
}

.btn-primary:hover {
    background: var(--color-white);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

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

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

/* Gold Accent Text */
.accent-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Card Styling */
.card-premium {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    padding: var(--space-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transition: 0.6s;
}

.card-premium:hover::after {
    left: 100%;
}

.card-premium:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
}

/* Accordion Specific */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-header i {
    transition: var(--transition-smooth);
}

/* Social Links */
.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: var(--color-gray-light);
}

.social-link:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.social-link img {
    transition: var(--transition-smooth);
}

.social-link:hover img {
    filter: brightness(0);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Portfolio Gallery - Museum Style */
.portfolio-grid {
    columns: 3 250px;
    gap: 1.5rem;
    padding: 2rem 0;
}



.portfolio-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--color-black-soft);
    cursor: pointer;
    transition: var(--transition-smooth);
}


.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(0.8) contrast(1.1);
}

.portfolio-item:hover img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1);
}

.portfolio-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item .overlay h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item:hover .overlay h4 {
    transform: translateY(0);
}

/* Masonry Spans (Legacy grid classes disabled for masonry) */
.portfolio-item.big, .portfolio-item.tall, .portfolio-item.wide {
    grid-column: auto;
    grid-row: auto;
}

@media (max-width: 768px) {
    .portfolio-grid {
        columns: 1;
    }
}



/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    :root {
        --space-xl: 5rem;
    }
    
    .desktop-nav {
        display: none;
    }
    
    #mobile-menu-toggle {
        display: flex !important;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    .portfolio-grid {
        columns: 1;
        gap: 1rem;
    }

    .premium-highlight {
        transform: scale(1.02);
        margin: 1rem 0;
    }
}


@keyframes gold-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.8), 0 0 10px rgba(212, 175, 55, 0.4);
    }
    70% {
        box-shadow: 0 0 30px 40px rgba(212, 175, 55, 0), 0 0 20px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0), 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.premium-highlight {
    animation: gold-pulse 2s infinite;
    transform: scale(1.08);
    z-index: 10;
    border: 3px solid var(--color-gold) !important;
    background: rgba(212, 175, 55, 0.15) !important;
}

.card-premium ul li {
    font-size: 0.9rem;
    white-space: nowrap;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

#sesiones .card-premium ul li {
    white-space: normal;
}

.paquetes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

@media (min-width: 1024px) {
    .paquetes-grid .card-premium:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 400px;
        width: 100%;
    }
}


/* Lightbox Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border: 1px solid var(--color-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 35px;
    color: var(--color-gold);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1010;
}

.close-modal:hover {
    color: white;
}

@media (max-width: 700px) {
    .modal-content {
        width: 95%;
    }
}
