/* Hero Banner Section */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap');

.hero-banner-section {
    position: relative;
    width: 100%;
    min-height: auto;
    overflow: hidden;
    /* margin-top: 60px; */
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE8F0 50%, #E8F4FF 100%);
    background-size: 200% 200%;
    animation: backgroundGradientShift 15s ease-in-out infinite;
}

@keyframes backgroundGradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
}

/* Banner Image Wrapper */
.banner-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    transform-style: preserve-3d;
}

/* Banner Slider Container */
.banner-image-wrapper .image-slider {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 400px;
    z-index: 2;
}

/* Legacy Banner Image (if slider not loaded) */
.banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 20px 80px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}

.banner-image:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.2),
        0 25px 100px rgba(0, 0, 0, 0.15);
}

/* Banner Overlay - removed dark overlay, keeping structure for compatibility */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    border-radius: 20px;
    pointer-events: none;
    z-index: 3;
}

/* Banner Text Overlay */
.banner-text-overlay {
    position: absolute;
    top: 15%;
    left: 5%;
    z-index: 4;
    text-align: left;
    max-width: 600px;
    padding: 2rem;
    animation: fadeInText 2s ease-out forwards;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

/* Hide text during slide transitions */
.banner-text-overlay.hidden {
    opacity: 0 !important;
    animation: none;
}

/* Glowing aura effect behind text */
.banner-text-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center,
            rgba(255, 215, 0, 0.3) 0%,
            rgba(255, 165, 0, 0.2) 30%,
            rgba(255, 182, 193, 0.1) 60%,
            transparent 100%);
    border-radius: 50%;
    z-index: -1;
    animation: auralGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes auralGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg,
            #ffffff 0%,
            #fffacd 30%,
            #ffd700 50%,
            #fffacd 70%,
            #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    line-height: 1.3;
    margin: 0;
    position: relative;
    animation: gradientFlow 8s ease-in-out infinite, gentleFloat 4s ease-in-out infinite;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 15px rgba(255, 215, 0, 0.5)) drop-shadow(0 0 25px rgba(255, 215, 0, 0.3));
}

@keyframes gradientFlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Text background for better readability */
.banner-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 120%;
    background: radial-gradient(ellipse at center,
            rgba(255, 215, 0, 0.2) 0%,
            rgba(255, 250, 205, 0.15) 50%,
            transparent 100%);
    z-index: -1;
    border-radius: 20px;
    filter: blur(20px);
}

/* Decorative Frame Effect - Disabled for full-width */
.banner-image-wrapper::before {
    display: none;
}

@keyframes frameGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Floating Decorations */
.hero-banner-section .floating-decoration {
    position: absolute;
    font-size: 2.5rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
    z-index: 10;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-banner-section .flower-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.hero-banner-section .flower-2 {
    top: 25%;
    right: 8%;
    animation-delay: 1s;
}

.hero-banner-section .star-1 {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.hero-banner-section .star-2 {
    bottom: 30%;
    right: 5%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Sparkle Effect - Disabled for full-width */
.banner-image-wrapper::after {
    display: none;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

/* Parallax Effect Enhancement */
.parallax-element {
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .banner-image-wrapper {
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .hero-banner-section {
        min-height: auto;
    }

    .banner-container {
        margin-top: 70px;
    }

    .banner-image-wrapper {
        padding: 0;
    }

    .banner-image-wrapper .image-slider {
        min-height: auto;
    }

    .banner-image {
        border-radius: 0;
    }

    .hero-banner-section .floating-decoration {
        font-size: 2rem;
    }

    .banner-title {
        font-size: 2.4rem;
        line-height: 1.3;
    }

    .banner-text-overlay {
        padding: 1.5rem;
        max-width: 400px;
        top: 10%;
        left: 4%;
    }

    .banner-text-overlay p {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    /* Disable parallax effect on mobile to prevent lagging */
    .parallax-element {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .hero-banner-section {
        min-height: auto;
    }

    .banner-container {
        margin-top: 60px;
    }

    .banner-image-wrapper {
        padding: 0;
    }

    .banner-image-wrapper .image-slider {
        min-height: auto;
    }

    .banner-image {
        border-radius: 0;
    }

    .hero-banner-section .floating-decoration {
        font-size: 1.5rem;
    }

    .banner-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .banner-text-overlay {
        padding: 1rem;
        max-width: 280px;
        top: 8%;
        left: 3%;
    }

    .banner-text-overlay p {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    /* Disable parallax effect on mobile to prevent lagging */
    .parallax-element {
        transform: none !important;
    }
}

/* Loading Animation */
.banner-image {
    animation: fadeInBanner 1s ease-out;
}

@keyframes fadeInBanner {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Corner Decorations */
.hero-banner-section::before,
.hero-banner-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.hero-banner-section::before {
    top: -50px;
    left: -50px;
    background: radial-gradient(circle, #FFB6C1, transparent);
    animation: pulse 4s ease-in-out infinite;
}

.hero-banner-section::after {
    bottom: -50px;
    right: -50px;
    background: radial-gradient(circle, #87CEEB, transparent);
    animation: pulse 4s ease-in-out infinite 2s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
}