/* Base Styles */
:root {
    --primary-red: #8B0000;
    --faded-red: #A52A2A;
    --yellow: #FFD700;
    --black: #000000;
    --nav-bar:#ce1d10;
    --dark-gray: #222222;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-ball {
    width: 20px;
    height: 20px;
    background-color: var(--yellow);
    border-radius: 50%;
    margin: 5px;
    display: inline-block;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loader-ball:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-ball:nth-child(2) {
    animation-delay: -0.16s;
}

.loader-text {
    margin-top: 20px;
    color: var(--white);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse 2s infinite;
}

@keyframes bounce {
    0%, 80%, 100% { 
        transform: scale(0);
    } 40% { 
        transform: scale(1.0);
    }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Moving Banner */
.moving-banner {
    background-color: var(--yellow);
    color: var(--black);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-content {
    display: inline-block;
    animation: moveBanner 20s linear infinite;
}

.banner-content span {
    margin: 0 40px;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes moveBanner {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Header Styles */
.header {
    background-color: #8B0000;;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
    border-bottom: 1px solid var(--faded-red);
}

.header.scrolled {
    background-color: var(--black);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* Logo container */
.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between logo and text */
}

/* Logo text styling */
.logo-text {
    color: var(--white);
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    margin-left: 10px; /* Space between logo and text */
}

/* Mobile menu styles - Update this media query */
@media (max-width: 768px) {
    .logo-text {
        display: inline-block !important; /* Force show the text */
        font-size: 1rem; /* Slightly smaller */
        max-width: 100px; /* Prevent overflow */
        white-space: nowrap; /* Keep text in one line */
        
       
    }

    /* Optional: Adjust logo container for mobile */
    .logo {
        flex-grow: 1; /* Take available space */
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .logo-text {
        font-size: 0.9rem;
        max-width: 80px;
    }
}

/* Optional: Hover effect */
.logo:hover .logo-text {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1rem; /* Slightly smaller on mobile */
    }
}

@media (max-width: 576px) {
    .logo-text {
        display: none; /* Hide text on very small screens */
    }
}

.logo img {
    height: 50px;
    width: 50px; /* Add fixed width */
    border-radius: 50%; /* Makes it circular */
    border: 2px solid var(--yellow); /* Yellow border */
    padding: 5px; /* Space between image and border */
    transition: var(--transition);
    object-fit: cover; /* Ensures image fits properly */
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar li {
    margin-left: 30px;
    position: relative;
}

.navbar a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.navbar a:hover {
    color: var(--yellow);
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--yellow);
    transition: var(--transition);
}

.navbar a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/background.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 0%, rgba(139, 0, 0, 0.2) 100%);
    animation: pulseHero 4s infinite alternate;
}

@keyframes pulseHero {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero-logo {
    max-width: 200px;
    width: 200px; /* Fixed width */
    height: 200px; /* Fixed height to match width */
    border-radius: 50%; /* Makes it circular */
    border: 3px solid var(--yellow); /* Thicker yellow border */
    padding: 10px; /* Space between image and border */
    margin-bottom: 30px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    animation: float 3s ease-in-out infinite;
    object-fit: cover; /* Ensures image fits properly */
    background-color: rgba(0, 0, 0, 0.3); /* Slight dark background */
}

.logo img:hover {
    transform: rotate(15deg);
    box-shadow: 0 0 15px var(--yellow);
}

.hero-logo:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 0 25px var(--yellow);
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: textGlow 2s infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 5px var(--white), 0 0 10px var(--white); }
    to { text-shadow: 0 0 10px var(--yellow), 0 0 20px var(--faded-red); }
}




/* About Section Styles */
.about-section {
    padding: 80px 0;
    background-color: var(--black);
    
}

.about-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 400px;
    
}

.about-content {
    flex: 1;
    background-color: var(--black);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--yellow);
    position: relative;
    display: inline-block;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--yellow);
}

.about-image {
    flex: 1;
    background-color: var(--dark-gray);
    overflow: hidden;
    border: #d9c808 1px solid;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }
    
    .about-content,
    .about-image {
        flex: none;
        width: 100%;
    }
    
    .about-image {
        height: 300px;
    }
}

/* Section Containers */
.section-container {
    padding: 80px 0;
    transition: transform 0.3s ease;
}

.section-container:hover {
    transform: translateY(-5px);
}

.dark-section {
    background-color: var(--dark-gray);
    border-top: 1px solid var(--faded-red);
    border-bottom: 1px solid var(--faded-red);
}

.section-container h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--yellow);
    position: relative;
    display: inline-block;
}

.section-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--yellow);
}

.section-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.section-container ul {
    list-style: none;
}

.section-container li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    font-size: 1.1rem;
}

.section-container li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: var(--yellow);
}

/* Vibrate Button */
.vibrate-btn {
    background-color: var(--yellow);
    color: var(--black);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.vibrate-btn:hover {
    animation: vibrate 0.3s linear infinite;
    background-color: #ffc800;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-3px);
}

.vibrate-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: var(--transition);
    pointer-events: none;
}

.vibrate-btn:hover::before {
    left: 100%;
}

@keyframes vibrate {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}



/* Facilities Section */
.facilities-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.facilities-content {
    flex: 1;
}

.facilities-images {
    flex: 1;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.image-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--yellow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .facilities-grid {
        flex-direction: column;
    }
    
    .image-grid {
        width: 100%;
    }
    
    .image-grid img {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .image-grid img {
        height: 200px;
    }
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(assets/futsal.jpg) no-repeat center center/cover;
    text-align: center;
}

.contact-box {
    background-color: rgba(139, 0, 0, 0.7);
    border-radius: 10px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--yellow);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: var(--transition);
}

.contact-box:hover {
    transform: rotateY(5deg) rotateX(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.contact-box h2 {
    color: var(--yellow);
    margin-bottom: 30px;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--black);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--faded-red);
}

.footer p {
    color: var(--white);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section-container h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--nav-bar);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        transition: var(--transition);
        z-index: 99;
        border-right: 1px solid var(--faded-red);
    }
    
    .navbar.active {
        left: 0;
    }
    
    .navbar ul {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar li {
        margin: 15px 0;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .section-container {
        padding: 60px 0;
    }
    
    .contact-box {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .vibrate-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .section-container h2 {
        font-size: 1.8rem;
    }
    
    .banner-content span {
        font-size: 0.8rem;
        margin: 0 20px;
    }
}