:root {
    --primary-color: 231, 121, 24;
    --primary-foreground: 255, 255, 255;
    --secondary-color: 241, 245, 249;
    --tertiary-color: 51, 63, 92;
    --sub-color: 194, 25, 112;

    --primary-font-family: Arial, sans-serif;
    --secondary-font-family: Arial, sans-serif;
}

body {
    overflow: hidden;
}

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {

    *,
    body,
    html {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        scroll-snap-align: center;
    }

    body {
        background-color: rgba(var(--secondary-color));
        font-family: var(--primary-font-family);
        font-synthesis: none;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    header::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 20px;
        bottom: -15px;
        left: 0;
        background: url('/images/bg-sub.png') center center repeat-x;
        z-index: 1;
    }

    .slider-main-view::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 20px;
        bottom: -116px;
        left: 0;
        background: url('/images/bg-header-bottom.png') center center repeat-x;
        z-index: 1;
    }

    @media (max-width: 768px) {
        .slider-main-view::after {
            display: none;
        }

        header::after {
            bottom: -13px;
        }
    }

    .slider {
        width: 100% !important;
        height: 100vh;
    }

    .slick-track {
        width: 100%;
        height: 100vh;
    }

    .slick-slide {
        height: 100vh;
        width: 100%;
    }

    .slide {
        width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: white;
        font-size: 24px;
    }

    .content {
        background: rgba(0, 0, 0, 0.5);
        padding: 20px;
        border-radius: 10px;
    }

    .slick-dots {
        height: 50px !important;
        bottom: 0 !important;
    }

    .slick-dots li button:before {
        font-size: 20px !important;
        line-height: 25px !important;
        color: white !important;
    }

    .svg-shadow {
        filter: drop-shadow(0px 20px 10px rgba(204, 195, 195, 0.3));
    }

    .gallery-slider {
        margin: auto;
        height: 350px;
    }

    .gallery-slider .slick-track {
        height: 250px !important;
    }

    .gallery-slider img {
        width: 100%;
        border-radius: 10px;
        height: 350px !important;
        object-fit: cover;
    }

    .gallery-slider .slick-slide {
        display: flex !important;
        justify-content: center;
        padding: 0 10px;
        height: auto !important;
    }

    .gallery-slider .slick-dots {
        height: 50px !important;
        bottom: -70px !important;
    }

    .gallery-slider .slick-prev:before,
    .gallery-slider .slick-next:before {
        font-size: 30px !important;
    }

    .gallery-slider .slick-prev {
        left: -35px !important;
    }

    .testimonial-slider {
        margin: auto;
        text-align: center;
    }

    .testimonial-slider .slick-track {
        height: auto;
    }

    .testimonial {
        padding: 20px;
    }

    .testimonial p {
        font-size: 18px;
        font-style: italic;
        color: #555;
    }

    .testimonial h3 {
        margin-top: 10px;
        font-size: 16px;
        font-weight: bold;
        color: #333;
    }

    .slick-dots li button:before {
        font-size: 12px;
        color: white !important;
    }

    .testimonial-slider .slick-dots {
        height: 50px !important;
        bottom: -60px !important;
    }

    .event-slider {
        margin: auto;
    }

    .event-slider .slick-track {
        height: auto;
    }

    .event {
        position: relative;
        text-align: center;
        border-radius: 10px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }

    .event img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .event-info {
        position: absolute;
        bottom: 0px;
        width: 100%;
        right: 0;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        text-align: center;
    }

    .event-slider .slick-slide {
        margin: 0 15px;
    }

    .event-slider .slick-dots {
        height: 50px !important;
        bottom: -70px !important;
    }

    /* Bubble Container */
    .bubble-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        /* Prevent interaction with bubbles */
        overflow: hidden;
        z-index: 10;
        /* Ensure bubbles are visible */
    }

    /* Bubble Styles */
    .bubble {
        position: absolute;
        bottom: -150px;
        width: 80px;
        /* Default size */
        height: 80px;
        /* Default size */
        background-color: rgba(255, 255, 255, 0.3);
        /* Light translucent color */
        border-radius: 50%;
        animation: float 15s linear infinite;
        opacity: 0.8;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        /* Add some depth */
    }

    /* Randomize bubble sizes and positions */
    .bubble:nth-child(1) {
        width: 100px;
        height: 100px;
        left: 10%;
        animation-duration: 18s;
    }

    .bubble:nth-child(2) {
        width: 120px;
        height: 120px;
        left: 25%;
        animation-duration: 20s;
    }

    .bubble:nth-child(3) {
        width: 90px;
        height: 90px;
        left: 40%;
        animation-duration: 16s;
    }

    .bubble:nth-child(4) {
        width: 110px;
        height: 110px;
        left: 55%;
        animation-duration: 22s;
    }

    .bubble:nth-child(5) {
        width: 130px;
        height: 130px;
        left: 70%;
        animation-duration: 24s;
    }

    .bubble:nth-child(6) {
        width: 80px;
        height: 80px;
        left: 85%;
        animation-duration: 14s;
    }

    .bubble:nth-child(7) {
        width: 140px;
        height: 140px;
        left: 15%;
        animation-duration: 26s;
    }

    .bubble:nth-child(8) {
        width: 100px;
        height: 100px;
        left: 30%;
        animation-duration: 19s;
    }

    .bubble:nth-child(9) {
        width: 120px;
        height: 120px;
        left: 50%;
        animation-duration: 21s;
    }

    .bubble:nth-child(10) {
        width: 150px;
        height: 150px;
        left: 75%;
        animation-duration: 25s;
    }

    /* Animation for floating bubbles */
    @keyframes float {
        0% {
            transform: translateY(0) scale(1);
            opacity: 0.8;
        }

        50% {
            transform: translateY(-50vh) scale(1.1);
            opacity: 0.6;
        }

        100% {
            transform: translateY(-100vh) scale(1.2);
            opacity: 0;
        }
    }

    /* Star Container */
    .star-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        overflow: hidden;
        z-index: 9999;
    }

    /* Star Styles */
    .star {
        position: absolute;
        width: 8px;
        height: 8px;
        background-color: transparent;
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        animation: float-down linear infinite;
    }

    /* Animation for floating stars */
    @keyframes float-down {
        0% {
            transform: translateY(-10%);
            opacity: 1;
        }

        100% {
            transform: translateY(110%);
            opacity: 0;
        }
    }


    p {
        font-size: 18px;
        line-height: 1.7;
    }

    /* Mobile adjustment for better readability */
    @media (max-width: 768px) {
        p {
            font-size: 16px;
            line-height: 1.8;
        }
    }

    html {
        scroll-behavior: smooth;
    }

    /* Gallery Modal Styles */
    #gallery-modal {
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        /* Prevent scrollbars */
    }

    #gallery-modal-img {
        max-width: 90%;
        /* Ensure the image fits within the modal */
        max-height: 90%;
        /* Ensure the image fits within the modal */
        object-fit: contain;
        /* Maintain aspect ratio */
        border-radius: 8px;
        /* Optional: Add rounded corners */
    }

}