/* Modern Sleek Gallery Styles */

.gallery-section {
    background-color: #0f0f0f;
    padding: 5rem 0;
    color: white;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.album-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.album-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(201, 169, 97, 0.2);
}

.album-preview {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(201, 169, 97, 0.4) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.album-info {
    text-align: center;
    color: white;
    padding: 1.5rem;
}

.album-info h3 {
    font-family: 'Alice', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #c9a961;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.album-info p {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.view-album-btn {
    display: inline-block;
    background: linear-gradient(45deg, #c9a961, #e6c47a);
    color: #1a1a1a;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.view-album-btn:hover {
    background: linear-gradient(45deg, #e6c47a, #c9a961);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.4);
}

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

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

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1;
}

.modal-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 3;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #c9a961;
}

#modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(201, 169, 97, 0.9);
    color: white;
    border: none;
    font-size: 3rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 3;
    line-height: 1;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-prev {
    left: -100px;
}

.modal-next {
    right: -100px;
}

.modal-nav:hover {
    background: rgba(201, 169, 97, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.4);
}

.modal-info {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 3;
}

.modal-info h4 {
    font-family: 'Alice', serif;
    font-size: 1.5rem;
    color: #c9a961;
    margin-bottom: 0.5rem;
}

.modal-info span {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .albums-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .album-card {
        height: 250px;
    }
    
    .album-info h3 {
        font-size: 1.5rem;
    }
    
    .modal-nav {
        font-size: 2rem;
        padding: 0.75rem;
        width: 50px;
        height: 50px;
    }
    
    .modal-prev {
        left: -70px;
    }
    
    .modal-next {
        right: -70px;
    }
    
    .modal-close {
        font-size: 2.5rem;
        top: -40px;
    }
}

@media (max-width: 480px) {
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-nav {
        background: rgba(0, 0, 0, 0.8);
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }
}