/* ========================================
   Breast Cancer Awareness Event Page Styles
   ======================================== */

/* Breast Cancer Awareness Pink Theme Override */
.page-header-video-overlay {
    background: linear-gradient(135deg, rgba(244, 143, 177, 0.85), rgba(252, 199, 217, 0.85)) !important;
}

/* Page Title with Pink Theme */
.page-title {
    position: relative;
    background: rgba(255, 240, 245, 0.95) !important;
    color: #d81b60 !important;
    font-weight: 700;
    display: inline-block !important;
    padding: 1.5rem 3rem !important;
    border: 3px solid rgba(244, 143, 177, 0.3);
    box-shadow: 0 10px 30px rgba(244, 143, 177, 0.3) !important;
}

/* Page description styling for pink theme */
.page-description {
    color: #ffffff !important;
    text-shadow: 0 3px 8px rgba(216, 27, 96, 0.5) !important;
    font-weight: 600 !important;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .page-title {
        padding: 1.25rem 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .page-title {
        padding: 1rem 2rem !important;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
        padding: 0.875rem 1.5rem !important;
    }
}

/* Event Summary Section */
.conference-summary-section {
    padding: 60px 0;
    background: #fce4ec;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.summary-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.summary-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.summary-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Event Gallery Section */
.conference-gallery-section {
    padding: 60px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
    aspect-ratio: 4/3;
    background: #fce4ec;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(216, 27, 96, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay i {
    font-size: 3rem;
    color: white;
}

/* Video Badge */
.video-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #e91e63, #f06292);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse 2s infinite;
}

.video-badge i {
    font-size: 0.9rem;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(233, 30, 99, 0.7);
    }
}

.gallery-placeholder {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 3rem;
    grid-column: 1 / -1;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.image-modal.active {
    display: block;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.modal-close:hover,
.modal-close:focus {
    color: #f48fb1;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 20px 0;
    font-size: 1.1rem;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(216, 27, 96, 0.8);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
    z-index: 10000;
}

.modal-nav:hover {
    background: #d81b60;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #d81b60, #f48fb1);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .modal-content {
        max-width: 95%;
    }
    
    .modal-nav {
        font-size: 1.5rem;
        padding: 0.75rem 1rem;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-close {
        font-size: 35px;
        right: 20px;
        top: 10px;
    }
}
