/* Custom styles for Me2Mehendi */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation classes */
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Gallery image hover effect */
.gallery-item {
    overflow: hidden;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
}

.gallery-item img {
    transition: transform 0.7s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Video container hover effect */
.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02);
}

/* Service card hover effect */
.service-card {
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(139, 0, 0, 0.1), 0 10px 10px -5px rgba(139, 0, 0, 0.04);
}

.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: #8B0000;
    color: white;
    transform: scale(1.1);
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(93, 14, 14, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
}

.lightbox img {
    max-height: 80vh;
    max-width: 90vw;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid white;
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    ring: 2px solid #8B0000;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FFF9F0;
}

::-webkit-scrollbar-thumb {
    background: #8B0000;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5D0E0E;
}