/* Custom styles for Simhadri Bore Wells */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Slider styles */
.slider-container {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    filter: brightness(0.9);
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot.active {
    background-color: #fff;
    transform: scale(1.2);
    border: 2px solid rgba(59, 130, 246, 0.5);
}

.slider-btn {
    transition: all 0.3s ease;
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Hero text animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#home h1 span {
    animation: fadeInUp 0.8s ease-out forwards;
    display: inline-block;
}

#home h1 span:nth-child(2) {
    animation-delay: 0.2s;
}

#home p {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

#home a {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

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

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Video play button hover effect */
#play-video-btn .fa-play {
    transition: all 0.3s ease;
}

#play-video-btn:hover .fa-play {
    transform: scale(1.2);
}

#video-container {
    aspect-ratio: 16/9;
    background-color: #000;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery styles */
.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.gallery-item img {
    transition: transform 0.5s ease;
}

#gallery-modal {
    transition: opacity 0.3s ease;
}

#modal-content img,
#modal-content video {
    max-height: 80vh;
    margin: 0 auto;
}

/* Gallery hover effect */
.gallery-item img {
    transition: transform 0.5s ease;
}

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

/* WhatsApp button pulse animation */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.whatsapp-btn {
    animation: pulse-green 2s infinite;
}

.call-btn {
    animation: pulse-blue 2s infinite;
}