/* Hero Section */
.hero-album {
    color: white;
    text-align: center;
    padding: 160px 20px 120px;
    position: relative;
    overflow: hidden;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    animation: slideDown 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 400;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    animation: slideUp 1s ease-out 0.3s both;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 0.95;
    }
}

@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-album {
    background: var(--bright-navy-blue);
    color: var(--white);
    text-align: center;
    padding: 160px 20px 40px;
    /* pushes text below navbar */
    position: relative;
}

.hero-album .hero-title {
    font-size: 42px;
    font-weight: var(--fw-800);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-album .hero-subtitle {
    font-size: 18px;
    font-weight: var(--fw-500);
    opacity: 0.95;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 20px 80px;
    background: #f9fafb;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    max-height: max-content;
    grid-area: auto !important;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 0;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.7) 0%,
            rgba(29, 78, 216, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.zoom-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    backdrop-filter: blur(10px);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.gallery-item:hover .zoom-icon {
    transform: scale(1);
}

.gallery-info {
    padding: 20px;
    text-align: center;
}

.gallery-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .gallery-image {
        height: 180px;
    }

    .gallery-info {
        padding: 15px;
    }

    .gallery-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .gallery-image {
        height: 160px;
    }
}