/* Edition Page Specific Styles - Complete Color Palette Override */

/* Color Variables for Edition 2024 - Based on the image */
:root {
    /* Light backgrounds like the image */
    --edicion-bg-primary: #F5F5F5;
    --edicion-bg-secondary: #F8F8F8;
    --edicion-bg-tertiary: #F0F0F0;
    --edicion-bg-white: #FFFFFF;
    
    /* Pink/Magenta colors from the image */
    --edicion-fuchsia-bright: #E6007E;
    --edicion-pink-bubblegum: #FF69B4;
    --edicion-magenta-dark: #C71585;
    --edicion-purple-deep: #800080;
    
    /* Dark colors for text */
    --edicion-maroon: #8B0000;
    --edicion-gray-dark: #666666;
    --edicion-gray-light: #D3D3D3;
    
    /* Shadows with pink tint */
    --edicion-shadow: 0 5px 20px rgba(230, 0, 126, 0.15);
    --edicion-shadow-hover: 0 10px 30px rgba(230, 0, 126, 0.25);
}

/* Override body background for edition page */
body {
    background-color: var(--edicion-bg-primary) !important;
    color: var(--edicion-maroon) !important;
}

/* Override navbar for edition page */
.navbar {
    background: rgba(245, 245, 245, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Mobile menu override for edition page */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 80px !important;
        flex-direction: column !important;
        background: linear-gradient(135deg, #E6007E 0%, #C71585 100%) !important;
        width: 100% !important;
        text-align: center !important;
        transition: 0.3s !important;
        box-shadow: 0 10px 27px rgba(230, 0, 126, 0.3) !important;
        padding: 2rem 0 !important;
        z-index: 999 !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-toggle {
        display: flex !important;
    }

    .bar {
        background-color: #E6007E !important;
    }

    .nav-link {
        color: white !important;
        padding: 1.2rem 2rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        display: block !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        transition: all 0.3s ease !important;
        cursor: pointer !important;
        min-height: 44px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .nav-link:hover {
        color: #FF69B4 !important;
        background: rgba(255, 255, 255, 0.1) !important;
        transform: translateX(5px) !important;
    }
    
    .nav-dropdown {
        width: 100% !important;
    }
    
    .dropdown-toggle {
        justify-content: center !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    
    .dropdown-toggle i {
        transition: transform 0.3s ease !important;
        color: white !important;
    }
    
    .dropdown-toggle.active i {
        transform: rotate(180deg) !important;
        color: #FF69B4 !important;
    }
    
    .dropdown-menu {
        position: static !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        margin-top: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        display: none !important;
    }
    
    .dropdown-menu.show {
        display: block !important;
    }
    
    .dropdown-item {
        color: white !important;
        padding: 1rem 2rem 1rem 4rem !important;
        text-align: left !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        display: block !important;
        text-decoration: none !important;
        font-weight: 400 !important;
        transition: all 0.3s ease !important;
        cursor: pointer !important;
        background: rgba(255, 255, 255, 0.05) !important;
        min-height: 44px !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.15) !important;
        color: #FF69B4 !important;
        transform: translateX(10px) !important;
    }
    
    .dropdown-item.active {
        background: rgba(255, 255, 255, 0.2) !important;
        color: #FF69B4 !important;
        font-weight: 600 !important;
    }

    /* Add visual feedback for active states */
    .nav-link:active, .dropdown-item:active {
        background: rgba(255, 105, 180, 0.3) !important;
        transform: scale(0.98) !important;
    }

    /* Hide any unwanted background elements that might cause color boxes */
    .gallery-section::before,
    .ponentes-section::before,
    .video-gallery-section::before {
        display: none !important;
    }

    /* Force override any conflicting styles */
    .nav-menu * {
        color: white !important;
    }

    .nav-menu .nav-link,
    .nav-menu .dropdown-item {
        color: white !important;
    }
}

.nav-link {
    color: var(--edicion-maroon) !important;
}

.nav-link:hover {
    color: var(--edicion-fuchsia-bright) !important;
}

.nav-link::after {
    background: var(--edicion-fuchsia-bright) !important;
    box-shadow: 0 0 10px rgba(230, 0, 126, 0.5) !important;
}

/* Dropdown menu for edition page */
.dropdown-menu {
    background: var(--edicion-bg-white) !important;
    border: 1px solid rgba(230, 0, 126, 0.1) !important;
    box-shadow: var(--edicion-shadow) !important;
}

.dropdown-item {
    color: var(--edicion-maroon) !important;
}

.dropdown-item:hover {
    background: rgba(230, 0, 126, 0.1) !important;
    color: var(--edicion-fuchsia-bright) !important;
}

.dropdown-item.active {
    background: rgba(230, 0, 126, 0.2) !important;
    color: var(--edicion-fuchsia-bright) !important;
}

/* Section titles for edition page */
.section-title {
    color: var(--edicion-maroon) !important;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

/* Hero Section - Smaller */
.edicion-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--edicion-bg-primary);
    overflow: hidden;
}

.edicion-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.edicion-geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Splatter effect like the image */
        radial-gradient(circle at 20% 10%, rgba(230, 0, 126, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(255, 105, 180, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(199, 21, 133, 0.1) 0%, transparent 50%),
        /* Scratch pattern */
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(211, 211, 211, 0.1) 2px, rgba(211, 211, 211, 0.1) 4px);
    background-size: 200px 200px, 300px 300px, 250px 250px, 20px 20px;
    animation: patternMove 30s linear infinite;
}

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

.edicion-title {
    margin-bottom: 2rem;
}

.edicion-year {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--edicion-maroon);
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.edicion-main-title {
    margin: 1.5rem 0;
}

.edicion-powher {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--edicion-fuchsia-bright) 0%, var(--edicion-purple-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2rem;
    letter-spacing: -1px;
    line-height: 0.9;
}

.edicion-camp {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--edicion-pink-bubblegum) 0%, var(--edicion-magenta-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    line-height: 0.9;
}

.edicion-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--edicion-gray-light);
    margin-top: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.edicion-tagline {
    font-size: 1.1rem;
    color: var(--edicion-maroon);
    font-style: normal;
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: var(--edicion-bg-secondary);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 0, 126, 0.05) 0%, rgba(255, 105, 180, 0.03) 100%);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--edicion-shadow);
    transition: all 0.3s ease;
    background: var(--edicion-bg-white);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--edicion-shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(139, 0, 0, 0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--edicion-fuchsia-bright);
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: var(--edicion-gray-light);
    line-height: 1.4;
}

/* Ponentes Section - Complete override */
.ponentes-section {
    padding: 5rem 0;
    background: var(--edicion-bg-white);
    position: relative;
}

.ponentes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 0, 126, 0.04) 0%, rgba(255, 105, 180, 0.03) 100%);
    pointer-events: none;
}

.ponentes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
    align-items: start;
}

.ponente-card {
    background: var(--edicion-bg-white);
    border-radius: 20px;
    overflow: visible;
    box-shadow: var(--edicion-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ponente-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--edicion-shadow-hover);
}

.ponente-video {
    position: relative;
    overflow: hidden;
}

.ponente-video video {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.ponente-image {
    position: relative;
    overflow: visible;
    width: 100%;
}

.ponente-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    max-width: 100%;
    object-fit: contain;
}

.ponente-card:hover .ponente-image img {
    transform: scale(1.05);
}

.ponente-info {
    padding: 1.5rem;
}

.ponente-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--edicion-maroon);
}

.ponente-info p {
    color: var(--edicion-gray-dark);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.ponente-tag {
    display: inline-block;
    background: var(--edicion-fuchsia-bright);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Video Gallery Section */
.video-gallery-section {
    padding: 5rem 0;
    background: var(--edicion-bg-tertiary);
    position: relative;
}

.video-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(230, 0, 126, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.video-gallery-single {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.video-item {
    background: var(--edicion-bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--edicion-shadow);
    transition: all 0.3s ease;
}

.video-item-large {
    background: var(--edicion-bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--edicion-shadow);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 800px;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--edicion-shadow-hover);
}

.video-item-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--edicion-shadow-hover);
}

.video-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.video-item-large video {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.video-info {
    padding: 1.5rem;
}

.video-info-large {
    padding: 2rem;
    text-align: center;
}

.video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--edicion-maroon);
}

.video-info-large h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--edicion-maroon);
}

.video-info p {
    color: var(--edicion-gray-dark);
    font-size: 0.9rem;
    line-height: 1.5;
}

.video-info-large p {
    color: var(--edicion-gray-dark);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Footer for edition page */
.footer {
    background: var(--edicion-fuchsia-bright) !important;
    color: white !important;
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer-section h3 {
    color: white !important;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: color 0.3s ease;
    text-align: center;
}

.footer-section ul li a:hover {
    color: var(--edicion-fuchsia-bright) !important;
}

.social-links a {
    background: var(--edicion-fuchsia-bright) !important;
    box-shadow: 0 3px 10px rgba(230, 0, 126, 0.2) !important;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 0, 126, 0.4) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Navigation Updates */
.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

/* Hamburger menu styles for edition page */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--edicion-maroon);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Ensure nav-toggle is visible on mobile for edition page */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex !important;
    }
}

/* Responsive Design */

/* Medium screens (tablets landscape) */
@media (max-width: 1024px) {
    .logo-img {
        width: 90px;
        height: auto;
        object-fit: contain;
    }

    .footer-logo img {
        width: 90px;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .edicion-hero {
        min-height: 50vh;
    }

    .edicion-powher {
        font-size: 2.5rem;
    }

    .edicion-camp {
        font-size: 2rem;
    }

    .edicion-year {
        font-size: 1rem;
    }

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

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

    .ponentes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-item img {
        height: 250px;
    }

    .video-item video {
        height: 200px;
    }

    .video-item-large video {
        height: 300px;
    }

    .video-info-large {
        padding: 1.5rem;
    }

    .video-info-large h3 {
        font-size: 1.3rem;
    }

    .video-info-large p {
        font-size: 1rem;
    }

    .ponente-video video {
        height: 300px;
    }

    .ponente-image img {
        width: 100%;
        height: auto;
    }

    /* Logo responsive for tablets */
    .logo-img {
        width: 80px;
        height: auto;
        object-fit: contain;
    }

    .footer-logo img {
        width: 80px;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .edicion-powher {
        font-size: 2rem;
    }

    .edicion-camp {
        font-size: 1.5rem;
    }

    .edicion-tagline {
        font-size: 1rem;
    }

    .video-item-large video {
        height: 250px;
    }

    .video-info-large {
        padding: 1rem;
    }

    .video-info-large h3 {
        font-size: 1.2rem;
    }

    .video-info-large p {
        font-size: 0.9rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .video-item video {
        height: 180px;
    }

    .ponente-video video {
        height: 250px;
    }

    .ponente-image img {
        width: 100%;
        height: auto;
    }

    /* Logo responsive for mobile */
    .logo-img {
        width: 60px;
        height: auto;
        object-fit: contain;
    }

    .footer-logo img {
        width: 60px;
        height: auto;
        object-fit: contain;
    }
} 