/* Gallery Hero Section */
.gallery-hero {
    margin-top: 90px;
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/gallery/hero-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-hero .hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.gallery-hero .hero-content h1 {
    font-size: 6rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-hero .hero-content h1::after {
    content: 'OUR EVENT GALLERY';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    color: #fff;
    -webkit-text-stroke: 0px;
    border-right: 3px solid #fff;
    overflow: hidden;
    animation: typing 6s steps(16) infinite;
}

.gallery-hero .hero-content p {
    font-size: 1.4rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes typing {
    0%, 90%, 100% { width: 0; }
    30%, 60% { width: 100%; }
}

@media (max-width: 768px) {
    .gallery-hero .hero-content h1 {
        font-size: 3.5rem;
        -webkit-text-stroke: 1px #fff;
    }
}
.gallery-hero .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: clipText 2s cubic-bezier(0.77, 0, 0.175, 1);
    text-shadow: 2px 2px 0 var(--primary-orange),
                 3px 3px 0 rgba(0, 0, 0, 0.3);
}

/* Add this new animation */
@keyframes clipText {
    0% {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-hero .hero-content p {
    font-size: 1.4rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Remove these animations as they're no longer needed */
/* @keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
} */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.gallery-container {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    transition: bottom 0.3s ease;
}

.gallery-item:hover .item-overlay {
    bottom: 0;
}

.item-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.item-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .gallery-hero h1 {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-section {
        text-align: center;
        padding: 25px;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .footer-section:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    }

    .footer-section h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
        color: var(--primary-orange);
    }

    .footer-section h3::after {
        content: '';
        display: block;
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-orange), transparent);
        margin: 15px auto 0;
        border-radius: 2px;
    }

    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin: 0;
        padding: 0;
    }

    .footer-section ul li {
        background: rgba(255, 255, 255, 0.05);
        padding: 8px 15px;
        border-radius: 25px;
        margin: 0;
        transition: all 0.3s ease;
    }

    .footer-section ul li:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-3px);
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 25px;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .social-links a:hover {
        transform: translateY(-5px) rotate(360deg);
        background: var(--primary-orange);
    }

    .contact-info .contact-group {
        background: rgba(255, 255, 255, 0.05);
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 15px;
        transition: all 0.3s ease;
    }

    .contact-info .contact-group:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(0) translateY(-3px);
    }

    .footer-bottom {
        margin-top: 40px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-bottom p {
        font-size: 0.9rem;
        opacity: 0.7;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 15px 20px;
    }

    .footer-section {
        padding: 20px 15px;
        margin: 0 10px;
    }

    .footer-section h3 {
        font-size: 1.4rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }

    .contact-info .contact-group {
        padding: 12px;
    }
}
