/* Footer */
footer {
    background: var(--gradient-dark);
    color: white;
    padding: 2rem 2rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white
}

/* Quick Links - Custom 2 columns layout */
.footer-section:first-child {
    display: flex;
    flex-direction: column;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 equal columns */
    grid-template-rows: repeat(3, auto); /* 3 rows */
    gap: 0.5rem 1.5rem; /* vertical horizontal */
    align-items: start;
}

/* Let the grid auto-place items naturally */
.footer-links-grid a:nth-child(1) { grid-area: 1 / 1 / 2 / 2; } /* Home - row1 col1 */
.footer-links-grid a:nth-child(2) { grid-area: 2 / 1 / 3 / 2; } /* About Us - row2 col1 */
.footer-links-grid a:nth-child(3) { grid-area: 3 / 1 / 4 / 2; } /* Events - row3 col1 */
.footer-links-grid a:nth-child(4) { grid-area: 1 / 2 / 2 / 3; } /* Gallery - row1 col2 */
.footer-links-grid a:nth-child(5) { grid-area: 2 / 2 / 3 / 3; } /* Contact - row2 col2 */

.footer-links-grid a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    display: block;
    white-space: nowrap; /* Prevent text wrapping */
}

.footer-links-grid a:hover {
    color: white;
    transform: translateX(5px);
}

/* Regular footer sections */
.footer-section p, 
.footer-section a:not(.footer-links-grid a) {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-section a:not(.footer-links-grid a):hover {
    color: white;
    transform: translateX(5px);
}

/* Footer Contact Links */
.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-contact-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact-link i {
    width: 18px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Rest of your existing CSS remains the same */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    background: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(255,255,255,0.3);
}

/* Platform-specific colors on hover */
.social-links a[aria-label="TikTok"]:hover {
    color: #000000;
}

.social-links a[aria-label="YouTube"]:hover {
    color: #FF0000;
}

.social-links a[aria-label="Instagram"]:hover {
    color: #E4405F;
}

.social-links a[aria-label="Instagram"] i {
    font-weight: 500;
}

.social-links a[aria-label="Facebook"]:hover {
    color: #1877F2;
}      	

.social-links a[aria-label="WhatsApp"]:hover {
    color: #25D366;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: rgba(255,255,255,0.6);
}

.footer-line-1,
.footer-line-2 {
    margin: 0;
    line-height: 1.4;
    font-size: 0.75rem;
    display: none;
}

/* Desktop - show only single line */
.footer-bottom p:first-child {
    font-size: 0.75rem;
    margin: 0;
    display: block;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
    animation: pulse 2s infinite, float 3s ease-in-out infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.7);
}

.levi-art-email {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.levi-art-email:hover {
    color: #ff5311;
    transform: translateX(5px);
    box-shadow: rgba(255,255,255,0.3);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

/* ===== MOBILE RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-content {
        gap: 2rem;
        margin-bottom: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    /* Quick Links Grid - Mobile (single column) */
    .footer-links-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 0.5rem;
    }

    /* Reset grid positioning for mobile */
    .footer-links-grid a:nth-child(1),
    .footer-links-grid a:nth-child(2),
    .footer-links-grid a:nth-child(3),
    .footer-links-grid a:nth-child(4),
    .footer-links-grid a:nth-child(5) {
        grid-column: 1;
    }

    /* Footer Contact Links - Mobile */
    .footer-contact-link {
        font-size: 0.9rem;
        gap: 0.6rem;
        padding: 0.4rem 0;
    }

    .footer-contact-link i {
        width: 16px;
        font-size: 0.9rem;
    }

    /* Social Links - Mobile */
    .social-links {
        gap: 1.5rem;
        margin: 1.5rem 0;
        padding: 1.5rem 0;
    }

    .social-links a {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .social-links a:hover {
        transform: translateY(-3px) scale(1.05);
    }

    /* Footer Bottom - Two lines for mobile */
    .footer-bottom {
        padding-top: 1.5rem;
    }
    
    .footer-line-1 {
        display: block;
        font-size: 0.7rem;
    }
    
    .footer-line-2 {
        display: block;
        font-size: 0.7rem;
        margin-top: 0.3rem;
    }
    
    .footer-bottom p:first-child {
        display: none;
    }

    /* Footer Dropdowns for Mobile */
    .footer-section {
        position: relative;
    }
    
    .footer-section h3 {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
        user-select: none;
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .footer-section h3::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
        opacity: 0.7;
        min-height: 44px;
    }
    
    .footer-section.active h3::after {
        transform: rotate(180deg);
    }
    
    .footer-section > .footer-links-grid,
    .footer-section > a:not(.footer-links-grid a),
    .footer-section > .footer-contact-link {
        display: none;
        margin-top: 0.5rem;
        padding: 0.5rem 0;
        animation: slideDown 0.3s ease;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .footer-section.active > .footer-links-grid,
    .footer-section.active > a:not(.footer-links-grid a),
    .footer-section.active > .footer-contact-link {
        display: block;
    }
    
    .footer-section > a:last-child,
    .footer-section > .footer-contact-link:last-child {
        border-bottom: none;
    }

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

    /* WhatsApp Button - Mobile */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.8rem;
    }

    /* Reduce animations on mobile */
    .social-links a::before {
        display: none;
    }
    
    .whatsapp-float:hover {
        transform: scale(1.1);
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .social-links {
        gap: 1rem;
    }

    .social-links a {
        width: 50px;
        height: 50px;
        min-height: 50px;
        min-width: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-contact-link {
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    /* Even smaller font for very small screens */
    .footer-line-1,
    .footer-line-2 {
        font-size: 0.65rem;
    }
}