/* General Styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;

}
body {
    font-family: 'Lora', serif;
        overflow-x: hidden;
    background: linear-gradient(135deg, #000000, #1a1a2e, #16213e);
    color: black;
}
h1, h2, h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}
/* Gold Particles Background */
#goldParticlesContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.gold-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: gold;
    border-radius: 50%;
    opacity: 0.8;
    box-shadow: 0px 0px 8px rgba(255, 215, 0, 0.8);
    animation: floatUp linear infinite;
}

/* Animation for particles to float up */
@keyframes floatUp {
    from {
        transform: translateY(0px);
        opacity: 0.8;
    }
    to {
        transform: translateY(-100px);
        opacity: 0;
    }
}



/* Hero Section */
.hero-section {
    background: url('../images/Hero.jpeg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    font-size: 1vw;
}

/* Overlay Effect */
.overlay {
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 80vh; /* Reduce height on smaller screens */
        background-position: center top; /* Adjust focus for mobile */
    }

    .overlay {
        padding: 10px; /* Reduce padding for smaller screens */
        text-align: center; /* Ensure centered text */
    }

    .overlay h1 {
        font-size: 1.8rem; /* Reduce font size for better fit */
    }

    .overlay p {
        font-size: 1rem; /* Adjust text size */
        padding: 0 10px; /* Prevent text from touching edges */
    }
}

/* Navbar Styling */
.custom-navbar {
    background: linear-gradient(135deg, #000000 30%, #8B0000 90%);
    padding: 12px 20px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 6px 12px rgba(255, 215, 0, 0.4);
    border-bottom: 2px solid gold;
}

.custom-navbar .navbar-brand {
    color: gold !important;
    font-size: 2vw;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-weight: bold;
}

.custom-navbar .nav-link {
    color: white !important;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

.custom-navbar .nav-link:hover {
    color: gold !important;
    text-shadow: 0px 0px 12px rgba(255, 215, 0, 1);
}


/* Mobile-Friendly Navbar */
@media (max-width: 768px) {
    .custom-navbar .navbar-toggler {
        background-color: gold !important; /* Removes yellow box */
        border: none; /* No border */
        padding: 6px 10px;
    }
    
    .custom-navbar .navbar-toggler-icon {
        width: 30px;
        height: 30px;
        color: #000000;
    }
    

    .custom-navbar .navbar-nav {
        text-align: center;
    }

    .custom-navbar .nav-link {
        font-size: 1rem;
        padding: 10px 0;
    }
    .custom-navbar .navbar-brand{
        font-size: 4.5vw;
        font-weight: bold;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    p {
        font-size: 1rem;
    }
}

/* Awards Section */
.list-group {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .list-group {
        font-size: 0.9rem;
    }
}
/* Appreciation Section */
.appreciation-section {
    background: linear-gradient(135deg, #000000 30%, #8B0000 90%);
    color: white;
    padding-bottom: 50px;
}

/* Section Title */
.appreciation-title {
    color: gold;
    font-weight: bold;
    text-shadow: 0px 0px 10px rgba(255, 215, 0, 0.8);
}

/* Section Text */
.appreciation-text {
    font-size: 1.2rem;
    color: #f1c40f;
    font-weight: 500;
    text-shadow: 0px 0px 8px rgba(255, 215, 0, 0.5);
}

/* Appreciation Cards */
.appreciation-card {
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0px 6px 20px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Card Hover Effect */
.appreciation-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 25px rgba(255, 215, 0, 0.8);
}

/* Image Styling */
.appreciation-img {
    //width: 800px;
    //height: 600px; /* Adjusted height for uniformity */
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid gold;
    box-shadow: 0px 0px 15px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Image Hover Effect */
.appreciation-img:hover {
    transform: scale(1.001);
    box-shadow: 0px 0px 20px rgba(255, 215, 0, 0.8);
}

/* Appreciation Labels */
.appreciation-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: gold;
    text-shadow: 0px 0px 8px rgba(255, 215, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .appreciation-title {
        font-size: 1.8rem;
    }
    .appreciation-text {
        font-size: 1rem;
    }
    .appreciation-label {
        font-size: 1rem;
        text-align: center; /* Ensures label aligns well */
    }

    /* Appreciation Cards */
    .appreciation-card {
        padding: 12px; /* Slightly reduce padding */
        border-radius: 10px; /* Adjust border radius for mobile */
        box-shadow: 0px 4px 15px rgba(255, 215, 0, 0.4); /* Softer shadow */
        transform: scale(0.98); /* Slightly smaller on mobile */
    }

    /* Image Styling */
    .appreciation-img {
        width: 100%; /* Make it fully responsive */
        max-width: 400px; /* Prevent it from being too large */
        height: auto; /* Maintain aspect ratio */
        object-fit: contain; /* Ensures the full image is visible */
        display: block; /* Avoid inline spacing issues */
        margin: 0 auto; /* Center the image */
        border-radius: 10px;
        border: 3px solid gold;
        box-shadow: 0px 0px 15px rgba(255, 215, 0, 0.5);
    }
}

/* About Section */
.about {
    position: relative;
    background: url('../images/aboutus.jpg') no-repeat center center/cover;
    color: white;
}

.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.about .container {
    position: relative;
    z-index: 1;
}

/* Responsive About Section */
@media (max-width: 768px) {
    .about {
        padding: 50px 15px;
    }
}

/* Contact Section */
.contact-section{
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
   
    .wide {
        width: 100%;  /* Makes it take up most of the screen width */
        max-width: 100%; /* Ensures it stays responsive */
        text-align: center; /* Centers the text inside */
        font-size: 4.5vw;
    }
}


/* Rules Section */
.rules-section {
    background: linear-gradient(135deg, #000000 30%, #8B0000 90%);
    color: white;
    padding-bottom: 50px;
}

/* Title Styling */
.rules-section h2 {
    color: gold;
    text-shadow: 3px 3px 10px rgba(255, 215, 0, 1);
    font-size: 2.5rem;
    letter-spacing: 2px;
    text-align: center;
}

/* Cards Container */
.rules-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Space between cards */
}

/* Card Styling */
.rule-card {
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    color: snow;
    
    /* Fixed width & height for all cards */
    width: 350px;
    height: 230px;
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

/* Hover Effect */
.rule-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 20px rgba(255, 215, 0, 0.7);
}

/* Heading Inside Card */
.rule-card h5 {
    color: gold;
    font-size: 1.3rem;
}

/* Text Inside Card */
.rule-card p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.4; /* Improved readability */
}

/* Responsive Design */
@media (max-width: 768px) {
    .rules-container {
        flex-direction: column;
        align-items: center;
    }

    .rule-card {
        width: 100%; /* Adjust width for mobile */
        height: auto; /* Auto height for responsiveness */
    }
}

@media (max-width: 768px) {
    .rule-card p {
        font-size: 1rem;
    }
}

.gallery{
    color: white;
}


/* Preloader Fullscreen */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: black; /* Change if needed */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

/* Hide preloader smoothly */
.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Loader Animation */
.loader-container {
    text-align: center;
    color: gold;
}

.film-reel {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.reel {
    width: 30px;
    height: 30px;
    background: gold;
    border-radius: 50%;
    animation: reelAnimation 1.5s infinite ease-in-out;
}

.reel:nth-child(2) {
    animation-delay: 0.3s;
}

.reel:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes reelAnimation {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}


/* Awards Section */
.awards-section {
    background: linear-gradient(135deg, #000000 30%, #8B0000 90%);
    color: white;
    padding-bottom: 50px;
}

/* Award Cards */
.award-card {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 6px 15px rgba(255, 215, 0, 0.4);
    text-align: center;
    min-height: 300px; /* Ensures same height */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover Effect */
.award-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 18px rgba(255, 215, 0, 0.6);
}

/* Award Title */
.award-card h5 {
    color: gold;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0px 0px 5px rgba(255, 215, 0, 0.7);
    padding: 5px 0;
}

/* Awards Section Note */
.award-note {
    font-size: 1.3rem;
    font-weight: bold;
    color: gold;
    text-shadow: 0px 0px 8px rgba(255, 215, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .award-card {
        min-height: auto; /* Adjust height for mobile */
    }
    .award-note {
        font-size: 1.1rem;
    }
}
/* Gallery Section */
.gallery-section {
    background: linear-gradient(135deg, #000000 30%, #8B0000 90%);
    padding-bottom: 50px;
}

/* Section Title */
.gallery-title {
    color: gold;
    font-weight: bold;
    text-shadow: 0px 0px 10px rgba(255, 215, 0, 0.8);
}

/* Gallery Cards */
.gallery-card {
    background: rgba(0, 0, 0, 0.85);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0px 6px 20px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    overflow: hidden;
}

/* Hover Effect */
.gallery-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 25px rgba(255, 215, 0, 0.8);
}

/* Image Styling */
.gallery-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 3px solid gold;
    box-shadow: 0px 0px 15px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover Effect */
.gallery-img:hover {
    transform: scale(1.02);
    box-shadow: 0px 0px 20px rgba(255, 215, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 1.8rem;
    }
    .gallery-card {
        padding: 5px;
    }
}
