﻿/* Common Styles */
/*.season-box {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
}*/

/* ☁️ Cool & Dry Season Animation */
/*.season-cool {
    background: url('https://i.imgur.com/BHcQwFh.png') no-repeat center center;
    background-size: contain;
    animation: floatCloud 10s linear;
}

@keyframes floatCloud {
    0% {
        transform: translate(-50%, -50%) translateX(0);
    }

    100% {
        transform: translate(-50%, -50%) translateX(100px);
    }
}*/

/* 🔥 Hot & Dry Season Animation */
/*.season-hot {
    background: radial-gradient(circle, rgba(255,190,0,0.6) 0%, rgba(255,115,0,0.4) 100%);
    border-radius: 50%;
    animation: heatPulse 2s infinite;
}

@keyframes heatPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}*/

/* 🌧️ Rainy Season Animation */
/*.season-rainy {
    background-image: url('https://5bbwebsite.s3.ap-southeast-1.amazonaws.com/Business/seasonal/rainy2.gif');*/ /* transparent raindrops image */
    /*background-size: cover;
    animation: rainDrop 1s linear infinite;
}

@keyframes rainDrop {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100%;
    }
}*/





#seasonalAnimation {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw; /* Take full viewport width */
    height: 100vh; /* Take full viewport height */
    transform: translate(-50%, -50%); /* Center the element precisely */
    z-index: 9999; /* Ensure it's on top of everything */
    overflow: hidden; /* Crucial for containing the animation */
    pointer-events: none; /* Allows clicks to pass through to content below */
    display: flex; /* For centering animation content if needed */
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for animation */
    transition: opacity 0.5s ease-out; /* Smooth fade out */
}

    #seasonalAnimation.hidden {
        opacity: 0;
        visibility: hidden; /* Hide it completely when not active */
    }

/* --- Rainy Season Animation (Example) --- */
.rainy-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.droplet {
    position: absolute;
    background-color: rgba(173, 216, 230, 0.8); /* Light blue for rain */
    width: 2px;
    height: 10px;
    animation: fall linear infinite;
    transform-origin: top;
    opacity: 0; /* Start invisible */
}

@keyframes fall {
    0% {
        transform: translateY(-10px) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) translateX(50px); /* Adjust X for diagonal rain */
        opacity: 0;
    }
}





/*hot*/
/* --- Hot and Dry Season (March to May) --- */
/* Ensure this is added to your existing CSS */

.hot-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sunstar {
    position: absolute;
    background-color: rgba(173, 216, 230, 0.8); /* Light blue for rain */
    width: 2px;
    height: 10px;
    animation: fall linear infinite;
    transform-origin: top;
    opacity: 0;
}


/*
.sunstar {
    position: relative;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #FFD700 40%, #FFA500 60%);
    border-radius: 50%;
    animation: pulse 2s infinite;
    margin: 100px auto;
    box-shadow: 0 0 40px rgba(255, 200, 0, 0.6);
}

    .sunstar::before, .sunstar::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 120px;
        height: 10px;
        background: rgba(255, 215, 0, 0.5);
        transform: translate(-50%, -50%) rotate(0deg);
        border-radius: 5px;
    }

    .sunstar::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 40px rgba(255, 200, 0, 0.6);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 60px rgba(255, 150, 0, 0.8);
        transform: scale(1.1);
    }
}
*/
/* end hot*/



/*snow*/
/* --- Hot and Dry Season (March to May) --- */
/* Ensure this is added to your existing CSS */

.snow-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.snow {
    position: absolute;
    background-color: rgba(173, 216, 230, 0.8); /* Light blue for rain */
    width: 2px;
    height: 10px;
    animation: fall linear infinite;
    transform-origin: top;
    opacity: 0; /* Start invisible */
}
/* end snow*/