/*
Theme Name: De Parranda
Description: De Parranda custom theme by SebaGervasio
Version: 2.0
Author: SebaGervasio
*/

/* ==========================================================================
   CSS Reset & Global Variables
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --font-ui: 'Inter', sans-serif;
    --font-heading: Georgia, serif;
    
    --bg-cream: #FCFAF6;
    --bg-dark: #202024;
    
    --text-light: #FFFFFF;
    --text-dark: #222222;
    --text-muted: #555555;
    
    --accent-orange: #EF8934;
    --accent-blue: #3EABF4;
    --accent-red: #D56C73;
    --accent-green: #52A677;
    
    --border-light: #EBE5DB;
    
    /* Rainbow Colors Requeridos */
    --rb-1: #F45252;
    --rb-2: #FF7E06;
    --rb-3: #E4D104;
    --rb-4: #1FDD8E;
    --rb-5: #06B4FF;
    
    --container-padding: 0 60px;
}

@property --rainbow-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

body, html {
    width: 100%;
    font-family: var(--font-ui);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ==========================================================================
   Contenedor Principal
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1400px; 
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 750px;
    background-image: url('images/home-hero.png');
    background-color: #111; 
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.5) 75%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================================
   Header & Scroll States
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 89px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    background-color: var(--bg-cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.site-header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 101;
}

.logo img {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1); 
    transition: filter 0.4s ease;
}

.site-header.scrolled .logo img { filter: none; }

.nav-wrapper { display: flex; align-items: center; }

.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.main-nav ul { list-style: none; display: flex; gap: 40px; }

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    transition: color 0.4s ease, opacity 0.3s ease, text-shadow 0.4s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.main-nav a:hover { opacity: 1; }
.site-header.scrolled .main-nav a { color: var(--text-dark); text-shadow: none; }

.header-actions { display: flex; align-items: center; gap: 16px; z-index: 100; }

.hamburger {
    display: none; flex-direction: column; justify-content: center;
    gap: 6px; width: 32px; height: 32px; background: transparent;
    border: none; cursor: pointer; z-index: 101;
}

.hamburger span {
    display: block; width: 100%; height: 2px; background-color: var(--text-light);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.4s ease; border-radius: 2px;
}

.site-header.scrolled .hamburger span { background-color: var(--text-dark); }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   Rainbow Animated Border Logic
   ========================================================================== */
@keyframes spinRainbow {
    0% { --rainbow-angle: 0deg; }
    100% { --rainbow-angle: 360deg; }
}

.btn-rainbow-hover {
    position: relative; z-index: 1; display: flex; justify-content: center;
    align-items: center; text-decoration: none;
    transition: background-color 0.3s, color 0.4s ease, border-color 0.4s ease;
}

.btn-search {
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4); color: var(--text-light);
    background: transparent; cursor: pointer;
}

.btn-outline-header {
    border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50px;
    padding: 10px 24px; color: var(--text-light); font-size: 0.9rem;
    font-weight: 500; background: transparent; white-space: nowrap;
}

.site-header.scrolled .btn-search,
.site-header.scrolled .btn-outline-header { color: var(--text-dark); border-color: rgba(30, 30, 30, 0.2); }

.btn-rainbow-hover:hover { border-color: transparent !important; }

.btn-rainbow-hover::after {
    content: ""; position: absolute; inset: -1px; border-radius: inherit;
    background: conic-gradient(from var(--rainbow-angle), var(--rb-1), var(--rb-2), var(--rb-3), var(--rb-4), var(--rb-5), var(--rb-1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
    pointer-events: none; opacity: 0; transition: opacity 0.3s ease; z-index: -1;
}

.btn-rainbow-hover:hover::after { opacity: 1; animation: spinRainbow 2s linear infinite; }

/* Rainbow Hover para Novedades */
.card-rainbow-hover {
    position: relative; z-index: 1; border: 1px solid transparent; 
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.card-rainbow-hover:hover { border-color: transparent !important; transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }

.card-rainbow-hover::after {
    content: ""; position: absolute; inset: -1px; border-radius: inherit;
    background: conic-gradient(from var(--rainbow-angle), var(--rb-1), var(--rb-2), var(--rb-3), var(--rb-4), var(--rb-5), var(--rb-1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
    pointer-events: none; opacity: 0; transition: opacity 0.3s ease; z-index: -1;
}

.card-rainbow-hover:hover::after { opacity: 1; animation: spinRainbow 2.5s linear infinite; }

/* ==========================================================================
   Hero Body 
   ========================================================================== */
.hero-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 89px; padding-bottom: 120px; }
.hero-title { font-family: var(--font-heading); font-size: 5.5rem; font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 24px; text-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.hero-title i { font-style: italic; }
.hero-desc { font-size: 1.05rem; line-height: 1.6; font-weight: 400; max-width: 520px; margin-bottom: 40px; text-shadow: 0 2px 5px rgba(0,0,0,0.6); opacity: 0.95; }
.hero-buttons { display: flex; align-items: center; gap: 20px; }
.btn-primary { background: var(--text-light); color: #111; padding: 14px 32px; border: 1px solid transparent; border-radius: 50px; font-weight: 500; font-size: 0.95rem; gap: 10px; }
.btn-primary:hover { background: #f0f0f0; }

.btn-glass { 
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); 
    border: 1px solid rgba(255, 255, 255, 0.4); color: var(--text-light); padding: 13px 32px; 
    border-radius: 50px; font-weight: 400; font-size: 0.95rem; gap: 12px; cursor: pointer;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.15); }

.icon-circle-play { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; display: flex; align-items: center; justify-content: center; opacity: 0.9; }

/* ==========================================================================
   Hero Bottom Bar
   ========================================================================== */
.hero-footer { position: absolute; bottom: 0; left: 0; width: 100%; padding-bottom: 40px; z-index: 20; }
.hero-footer-inner { display: flex; align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 24px; }
.hf-col { padding: 0 40px; }
.hf-date { padding-left: 0; border-right: 1px solid rgba(255, 255, 255, 0.15); display: flex; flex-direction: column; min-width: max-content; }
.hf-date .day { font-family: var(--font-heading); font-size: 2.25rem; font-weight: 700; line-height: 1; letter-spacing: 0.02em; }
.hf-date .month { font-size: 0.9rem; font-weight: 400; margin-top: 6px; opacity: 0.9; }
.hf-title { border-right: 1px solid rgba(255, 255, 255, 0.15); font-size: 1.15rem; font-weight: 600; line-height: 1.4; padding-right: 60px; min-width: max-content; }
.hf-location { flex: 1; display: flex; align-items: center; gap: 10px; font-style: italic; font-weight: 300; font-size: 1rem; opacity: 0.85; padding-left: 20px; }
.hf-action { padding-right: 0; }
.hf-link { display: flex; align-items: center; gap: 8px; color: var(--text-light); text-decoration: none; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; transition: opacity 0.3s; white-space: nowrap; }
.hf-link:hover { opacity: 0.8; }
.hf-link svg { color: var(--accent-orange); }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   MAIN CONTENT SECTIONS 
   ========================================================================== */

.section-padding { padding: 100px 0; }
.sec-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; }
.sec-header-left { flex: 1; }
.sec-tag { display: inline-flex; align-items: center; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 20px; }
.sec-tag::before { content: ''; display: block; width: 36px; height: 1px; background-color: currentColor; margin-right: 12px; }

.tag-orange { color: var(--accent-orange); }
.tag-blue { color: var(--accent-blue); }
.tag-red { color: var(--accent-red); }
.tag-green { color: var(--accent-green); }

.sec-title { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 400; line-height: 1.1; color: var(--text-dark); letter-spacing: -0.01em; }
.sec-title i { font-style: italic; }
.title-orange { color: var(--accent-orange); }
.title-blue { color: var(--accent-blue); }
.title-red { color: var(--accent-red); }
.title-green { color: var(--accent-green); }
.title-white { color: var(--text-light); }

.sec-desc { max-width: 400px; font-size: 0.9rem; line-height: 1.5; color: var(--text-dark); font-weight: 400; }
.sec-desc strong { color: var(--accent-blue); font-weight: 600; }

/* --- CARTELERA SECTION --- */
.cartelera-list { display: flex; flex-direction: column; }
.cartelera-item { display: flex; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--border-light); }
.cartelera-item:first-child { border-top: 1px solid var(--border-light); }
.c-date { width: 180px; display: flex; flex-direction: column; }
.c-date .c-day { font-family: var(--font-heading); font-size: 3rem; font-weight: 400; line-height: 1; }
.c-date .c-month { font-size: 0.9rem; margin-top: 8px; }
.c-info { flex: 1; padding-right: 40px; }
.c-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 6px; }
.c-loc { font-size: 0.95rem; font-style: italic; color: var(--text-muted); }
.c-action { display: flex; justify-content: flex-end; min-width: 120px; }
.c-badge { display: inline-block; padding: 8px 24px; border-radius: 50px; border: 1px solid rgba(239, 137, 52, 0.3); color: var(--accent-orange); font-size: 0.75rem; font-weight: 600; text-transform: capitalize; letter-spacing: 0.05em; }

/* --- EVENTOS SECTION --- */
.eventos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 60px; }

.evento-card {
    display: flex; flex-direction: column; cursor: pointer; text-decoration: none;
}

.ec-image-wrap {
    position: relative; width: 100%; aspect-ratio: 3/4; border-radius: 12px;
    overflow: hidden; margin-bottom: 16px; background-color: #ddd;
    border: 1px solid transparent; 
    transition: transform 0.3s ease;
}

.ec-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.evento-card:hover .ec-image-wrap img { transform: scale(1.05); }

.ec-image-wrap::after {
    content: ""; position: absolute; inset: -2px; border-radius: inherit;
    background: conic-gradient(from var(--rainbow-angle), var(--rb-1), var(--rb-2), var(--rb-3), var(--rb-4), var(--rb-5), var(--rb-1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; padding: 2px;
    pointer-events: none; opacity: 0; transition: opacity 0.3s ease; z-index: 10;
}
.evento-card:hover .ec-image-wrap::after { opacity: 1; animation: spinRainbow 2.5s linear infinite; }
.evento-card:hover .ec-image-wrap { transform: translateY(-4px); }

.ec-cat {
    position: absolute; top: 16px; left: 16px; background: var(--text-light);
    color: var(--text-dark); padding: 6px 12px; border-radius: 50px;
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; z-index: 2;
}

.ec-date-badge {
    position: absolute; top: 16px; right: 16px; background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light); padding: 8px 12px; border-radius: 8px;
    display: flex; flex-direction: column; align-items: center; line-height: 1; z-index: 2;
}
.ec-date-badge .ec-m { font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.ec-date-badge .ec-d { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 400; }

.ec-title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 400; color: var(--text-dark); margin-bottom: 8px; line-height: 1.2; }
.ec-loc { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-muted); font-style: italic; }
.ec-loc svg { color: var(--accent-blue); }

.ver-mas-divider { display: flex; align-items: center; width: 100%; margin: 60px 0; }
.ver-mas-divider::before, .ver-mas-divider::after { content: ''; flex: 1; height: 1px; background-color: #D3E7F4; }
.ver-mas-text { padding: 0 30px; color: var(--accent-blue); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; transition: opacity 0.3s; }
.ver-mas-text:hover { opacity: 0.7; }

/* --- VIDEOS SECTION --- */
.videos-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.sec-header-right-link {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; margin-bottom: 10px;
}
.sec-header-right-link:hover { color: #fff; }

.videos-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 30px; }
.videos-side { display: flex; flex-direction: column; gap: 30px; }

.video-card {
    position: relative; border-radius: 12px; display: block; width: 100%;
    text-decoration: none; color: var(--text-light); background-color: #1a1a1a;
    border: 1px solid transparent; transition: transform 0.3s ease;
}

.video-main { height: 100%; min-height: 500px; }
.videos-side .video-card { flex: 1; min-height: 235px; }

.video-card img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
}

.v-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 60%);
    border-radius: inherit; transition: opacity 0.3s;
}

.v-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.4); border-radius: 50%; display: flex;
    align-items: center; justify-content: center; transition: transform 0.3s, background 0.3s, border-color 0.3s; z-index: 2;
}

.video-main .v-play { width: 72px; height: 72px; }
.videos-side .v-play { width: 50px; height: 50px; }

.v-play svg { fill: rgba(255,255,255,0.9); transform: translateX(2px); }
.video-main .v-play svg { width: 24px; height: 24px; }
.videos-side .v-play svg { width: 16px; height: 16px; }

.video-card:hover .v-play {
    transform: translate(-50%, -50%) scale(1.1); background: rgba(255,255,255,0.25); border-color: rgba(82, 166, 119, 0.8);
}

.v-info { position: absolute; bottom: 30px; left: 30px; right: 30px; z-index: 2; overflow: hidden;}
.videos-side .v-info { bottom: 24px; left: 24px; right: 24px; }

.v-title { 
    font-family: var(--font-heading); 
    font-size: 1.4rem; 
    font-weight: 400; 
    margin-bottom: 8px; 
    line-height: 1.2; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.video-main .v-title { font-size: 2.2rem; margin-bottom: 12px; }
.videos-side .v-title { font-size: 1.3rem; }

.v-meta { 
    font-size: 0.75rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
    color: rgba(255,255,255,0.7); 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.videos-side .v-meta { font-size: 0.65rem; }

.video-card::after {
    content: ""; position: absolute; inset: -2px; border-radius: inherit;
    background: conic-gradient(from var(--rainbow-angle), var(--rb-1), var(--rb-2), var(--rb-3), var(--rb-4), var(--rb-5), var(--rb-1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; padding: 2px;
    pointer-events: none; opacity: 0; transition: opacity 0.3s ease; z-index: 10;
}
.video-card:hover::after { opacity: 1; animation: spinRainbow 2.5s linear infinite; }
.video-card:hover { transform: translateY(-4px); }

/* --- NOVEDADES SECTION --- */
.novedades-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.novedades-card { background-color: #FFFFFF; border: 1px solid var(--border-light); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; text-decoration: none; }

.nc-meta-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.nc-cat { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent-red); }
.nc-date-top { font-size: 0.65rem; font-weight: 600; color: var(--accent-red); background-color: rgba(213, 108, 115, 0.08); padding: 4px 12px; border-radius: 50px; letter-spacing: 0.05em; text-transform: uppercase; }

.nc-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 400; color: var(--text-dark); margin-bottom: 16px; line-height: 1.3; }
.nc-excerpt { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 30px; flex: 1; }

.nc-meta-bottom { display: flex; justify-content: flex-end; align-items: center; border-top: 1px solid var(--border-light); padding-top: 20px; }
.nc-read-more { font-size: 0.75rem; color: var(--accent-red); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; display: flex; align-items: center; gap: 6px; transition: opacity 0.3s; }
.novedades-card:hover .nc-read-more { opacity: 0.8; }

/* --- AD BANNER --- */
.ad-banner-wrap { display: flex; justify-content: center; margin: 60px 0; }
.ad-banner { width: 100%; max-width: 970px; height: 120px; background-color: #E2DFD9; display: flex; align-items: center; justify-content: center; color: #A39F97; font-size: 0.8rem; }

/* ==========================================================================
   FOOTER 
   ========================================================================== */
.site-footer {
    background-color: #232227;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    padding: 80px 0 0 0; 
}

.site-footer::before {
    content: ''; position: absolute; bottom: 0; right: 0; width: 800px; height: 300px;
    background-image: radial-gradient(circle at 100% 100%, rgba(255,255,255,0.03) 0%, transparent 60%); z-index: 0; pointer-events: none;
}

.footer-content { position: relative; z-index: 1; }
.footer-title { font-family: var(--font-heading); font-size: 3rem; font-weight: 400; margin-bottom: 40px; letter-spacing: -0.01em; }
.text-gradient { background: linear-gradient(90deg, #E4D104, #06B4FF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-style: italic; }
.footer-divider { width: 100%; height: 1px; background: linear-gradient(90deg, var(--rb-1), var(--rb-2), var(--rb-3), var(--rb-4), var(--rb-5)); border: none; }
.footer-email-row { display: flex; justify-content: space-between; align-items: center; padding: 50px 0; }
.footer-email { font-family: var(--font-ui); font-size: 3.5rem; font-weight: 300; color: var(--text-light); text-decoration: none; transition: opacity 0.3s; }
.footer-email:hover { opacity: 0.8; }
.footer-arrow svg { transition: transform 0.3s ease; }
.footer-email-row:hover .footer-arrow svg { transform: translate(5px, -5px); }
.footer-social-row { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 24px 0 40px; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer-social-row a { color: var(--accent-blue); display: flex; align-items: center; justify-content: center; transition: opacity 0.3s; }
.footer-social-row a:hover { opacity: 0.8; }
.footer-copyright-bar { background-color: var(--bg-cream); color: rgba(0,0,0,0.5); text-align: center; font-size: 0.7rem; padding: 16px 0; position: relative; z-index: 10; }

/* ==========================================================================
   SEARCH & TRAILER OVERLAYS
   ========================================================================== */
.overlay-container {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(32, 32, 36, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay-container.active { opacity: 1; visibility: visible; }

.overlay-close {
    position: absolute; top: 40px; right: 60px; background: transparent; border: none;
    color: var(--text-light); cursor: pointer; padding: 10px; transition: transform 0.3s ease, opacity 0.3s;
    opacity: 0.7; z-index: 1001;
}

.overlay-close:hover { transform: scale(1.1); opacity: 1; }

/* Search specific */
.search-form { width: 100%; max-width: 800px; padding: 0 40px; position: relative; }
.search-input { width: 100%; background: transparent; border: none; border-bottom: 2px solid rgba(255,255,255,0.3); color: var(--text-light); font-family: var(--font-ui); font-size: 3rem; font-weight: 300; padding: 10px 0; outline: none; text-align: center; transition: border-color 0.3s; }
.search-input:focus { border-color: var(--accent-blue); }
.search-input::placeholder { color: rgba(255,255,255,0.2); }
.search-helper { margin-top: 20px; color: rgba(255,255,255,0.5); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; text-align: center; }

/* Trailer specific */
.trailer-content { width: 100%; max-width: 900px; padding: 0 20px; aspect-ratio: 16/9; position: relative; }
.trailer-content iframe { width: 100%; height: 100%; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: none;}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

@media (max-width: 1560px) {
    :root { --container-padding: 0 40px; }
}

@media (max-width: 1366px) {
    .hero-title { font-size: 4.5rem; }
    .sec-title { font-size: 3rem; }
    .eventos-grid { gap: 20px; }
    .videos-grid { gap: 20px; }
    .novedades-grid { gap: 20px; }
    
    .hf-col { padding: 0 20px; }
    .hf-title { padding-right: 20px; }
    .hf-location { padding-left: 0; }
}

@media (max-width: 1200px) {
    .main-nav { position: static; transform: none; } 
    .nav-wrapper { display: flex; flex: 1; justify-content: flex-end; gap: 30px; }
    .header-actions { margin-left: 0; }
    
    .eventos-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .videos-grid { grid-template-columns: 1fr; }
    .videos-side { flex-direction: row; }
    .novedades-grid { grid-template-columns: repeat(2, 1fr); }
    .sec-header { gap: 30px; }
    
    .footer-email { font-size: 2.5rem; }
}

@media (max-width: 992px) {
    :root { --container-padding: 0 30px; }
    
    /* Header Mobile Fijo Claro */
    .site-header {
        background-color: var(--bg-cream);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    }
    .logo img { filter: none !important; }
    .hamburger span { background-color: var(--text-dark) !important; }
    .site-header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }

    .hamburger { display: flex; }
    
    .nav-wrapper {
        position: absolute; top: 89px; left: 0; width: 100%;
        background: var(--bg-cream) !important; flex-direction: column;
        align-items: center; padding: 0; gap: 0;
        opacity: 0; visibility: hidden;
        transform: translateY(-10px);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1); box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        max-height: calc(100vh - 89px); overflow-y: auto;
    }
    .nav-wrapper.active { transform: translateY(0); opacity: 1; visibility: visible; padding-bottom: 40px; }

    .main-nav { width: 100%; }
    .main-nav ul { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav li { border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
    .main-nav a { 
        display: block; padding: 20px 30px; text-align: center;
        font-size: 1.1rem; color: var(--text-dark) !important; 
        text-shadow: none !important; font-weight: 500;
        transition: background-color 0.3s ease;
    }
    .main-nav a:hover { background-color: rgba(0,0,0,0.02); }

    .header-actions { flex-direction: column; gap: 15px; padding-top: 30px; width: 100%; padding-left: 30px; padding-right: 30px; }
    .header-actions .btn-search { align-self: center; }
    .header-actions .btn-outline-header { width: 100%; text-align: center; padding: 14px 24px; }
    
    .header-actions .btn-search,
    .header-actions .btn-outline-header { color: var(--text-dark) !important; border-color: rgba(30, 30, 30, 0.2) !important; }

    .hero-title { font-size: 3.5rem; }
    .hero-desc { font-size: 1rem; }
    
    .hero-footer { position: relative; padding-bottom: 0; margin-top: 40px; }
    .hero-footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.15); }
    .hf-col { padding: 0 !important; border: none !important; width: 100%; }
    .hf-date { flex-direction: row; align-items: baseline; gap: 8px; }
    .hf-date .day { font-size: 1.8rem; }
    .hf-date .month { margin-top: 0; font-size: 1rem; font-weight: 500;}
    .hf-title { font-size: 1.25rem; }
    .hf-location { padding-top: 4px; }
    .hf-action { margin-top: 12px; }

    .sec-header { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
    .sec-desc { max-width: 100%; }
    .sec-title { font-size: 2.8rem; }
    .sec-header-right-link { margin-top: 10px; }
    
    .footer-title { font-size: 2.5rem; }
    .footer-email-row { padding: 30px 0; }
    .footer-email { font-size: 2rem; }

    .overlay-close { top: 20px; right: 20px; }
    .search-input { font-size: 2rem; }
}

@media (max-width: 576px) {
    :root { --container-padding: 0 20px; }
    .hero-title { font-size: 2.8rem; margin-bottom: 16px;}
    .hero-desc { margin-bottom: 30px; }
    .hero-buttons { flex-direction: column; align-items: stretch; gap: 15px; }
    .btn-primary, .btn-glass { justify-content: center; width: 100%; }
    .hero-section { min-height: auto; padding-bottom: 30px;}

    .section-padding { padding: 60px 0; }
    .sec-title { font-size: 2.2rem; }
    
    .cartelera-item { flex-direction: column; align-items: flex-start; gap: 16px; position: relative;}
    .c-date { width: 100%; flex-direction: row; align-items: baseline; gap: 12px; }
    .c-info { padding-right: 0; }
    .c-action { justify-content: flex-start; margin-top: 10px; }

    .eventos-grid { grid-template-columns: 1fr; gap: 30px; }
    .videos-side { flex-direction: column; }
    .video-main { min-height: 350px; }
    .novedades-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .footer-email-row { flex-direction: column; gap: 15px; align-items: flex-start;}
    .footer-email { font-size: 1.5rem; word-break: break-all; }
    .footer-social-row { justify-content: flex-start; }

    .search-input { font-size: 1.5rem; }
}



/* ==========================================================================
   SECCIÓN TOQUES
   ========================================================================== */
.section-toques { padding: 0 0 120px 0; background-color: var(--bg-cream); }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; }
.section-title { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 400; color: var(--text-dark); line-height: 1.1; }
.section-title i { color: var(--accent-blue); font-style: italic; }
.link-view-all { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dark); text-decoration: none; display: flex; align-items: center; gap: 8px; transition: opacity 0.3s; }
.link-view-all:hover { opacity: 0.7; }

/* Grilla de 4 columnas */
.toques-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px 24px; 
}

/* Tarjeta individual */
.toque-card { display: flex; flex-direction: column; text-decoration: none; background: #FFFFFF; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-light); transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; z-index: 1; }
.tc-image-wrap { position: relative; width: 100%; aspect-ratio: 4/5; overflow: hidden; } /* 4/5 hace la imagen más alta */
.tc-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.toque-card:hover .tc-image-wrap img { transform: scale(1.05); }

.tc-date-badge { position: absolute; top: 16px; right: 16px; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text-light); padding: 10px 14px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; line-height: 1; z-index: 2; border: 1px solid rgba(255,255,255,0.1); }
.tc-date-badge .tc-m { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; color: var(--accent-orange); }
.tc-date-badge .tc-d { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 400; }

.tc-content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.tc-cat { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-blue); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.tc-title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 400; color: var(--text-dark); margin-bottom: 16px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc-venue { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border-light); }
.tc-venue svg { color: var(--text-dark); opacity: 0.5; flex-shrink: 0; }

/* Efecto borde arcoíris */
.toque-card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: conic-gradient(from var(--rainbow-angle), var(--rb-1), var(--rb-2), var(--rb-3), var(--rb-4), var(--rb-5), var(--rb-1)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 2px; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; z-index: -1; }
.toque-card:hover::after { opacity: 1; animation: spinRainbow 2.5s linear infinite; }
.toque-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); border-color: transparent; }

/* ==========================================================================
   MENSAJE: "No hay toques"
   ========================================================================== */
.no-results-message {
    grid-column: 1 / -1; /* Rompe las columnas para ocupar todo el ancho */
    text-align: center;
    padding: 80px 20px;
    background-color: #FFFFFF;
    border-radius: 16px;
    border: 1px dashed var(--border-light);
    width: 100%;
}
.no-results-message p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Para los toques)
   ========================================================================== */
@media (max-width: 1200px) {
    .toques-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
}
@media (max-width: 992px) {
    .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 576px) {
    .toques-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2.5rem; }
}