/* 
 * Custom CSS for "Resources" Pages
 * Human Rights Are Universal Arts Festival
 */

/* ----- Common Styles ----- */
.resources-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #202060;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.resources-page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 5px;
    background-color: #FFD900;
}

.resources-section {
    margin-bottom: 4rem;
    width: 100%;
    overflow: hidden;
}

.resources-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #202060;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 15px;
    border-left: 5px solid #FFD900;
}

.resources-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5rem;
}

.resources-highlight {
    color: #E73B5E;
    font-weight: 600;
}

/* ----- Virtual Gallery Styles ----- */
.gallery-container {
    position: relative;
    width: 100%;
}

.gallery-albums {
    margin-bottom: 3rem;
}

.album-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.album-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-card:hover .album-image img {
    transform: scale(1.1);
}

.album-content {
    padding: 1.5rem;
}

.album-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #202060;
    margin-bottom: 0.5rem;
}

.album-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.album-count {
    font-size: 0.9rem;
    color: #E73B5E;
    font-weight: 500;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 2rem;
}

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

.gallery-item.landscape {
    grid-column: span 2;
}

.gallery-item.portrait {
    grid-row: span 2;
}

.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gallery-caption {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Album Nav */
.album-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.album-nav-item {
    padding: 0.5rem 1rem;
    background-color: #f5f5f5;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
}

.album-nav-item:hover, .album-nav-item.active {
    background-color: #FFD900;
    color: #202060;
}

/* Lightbox Styles */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 5px solid #fff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 1rem;
    padding: 0 1rem;
}

.lightbox-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.lightbox-desc {
    font-size: 0.95rem;
    opacity: 0.9;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background-color: #E73B5E;
    color: #fff;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10;
}

.lightbox-prev, .lightbox-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: #FFD900;
    color: #202060;
}

/* ----- Know Your Rights Styles ----- */
.rights-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.rights-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #FFD900;
}

.rights-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #202060;
    margin-bottom: 1rem;
}

.rights-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: #333;
    padding: 1.5rem;
    background-color: rgba(255, 217, 0, 0.1);
    border-radius: 8px;
    margin: 1.5rem 0;
    position: relative;
}

.rights-quote::before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
    color: rgba(32, 32, 96, 0.1);
}

.rights-icon {
    width: 60px;
    height: 60px;
    background-color: #FFD900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #202060;
}

.rights-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.rights-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.rights-list li::before {
    content: '\2022';
    color: #E73B5E;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -0.1rem;
}

.rights-image-container {
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.rights-image {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.rights-image-container:hover .rights-image {
    transform: scale(1.05);
}

.rights-cta {
    background-color: #E73B5E;
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.rights-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.rights-cta-text {
    margin-bottom: 1.5rem;
}

.rights-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #FFD900;
    color: #202060;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.rights-btn:hover {
    background-color: #202060;
    color: #fff;
    transform: translateY(-3px);
}

/* ----- Responsive Styles ----- */
@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .gallery-item.landscape, .gallery-item.featured {
        grid-column: span 1;
    }
    
    .gallery-item.portrait, .gallery-item.featured {
        grid-row: span 1;
    }
}

@media (max-width: 767px) {
    .resources-page-title {
        font-size: 2rem;
    }
    
    .resources-section-title {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .album-nav {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .lightbox-prev, .lightbox-next {
        width: 40px;
        height: 40px;
    }
} 