/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

:root {
    --primary-color: #ff9d00;
    /* Golden Orange from APEX text */
    --secondary-color: #00d4ff;
    /* Sky Blue from splash */
    --accent-color: #ffde00;
    /* Bright Yellow/Gold */
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #aaaaaa;
    --border-color: #333;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #ff0055);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 0, 0.6);
}

.navbar-scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 10px 0 !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header / Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/hero-bg.jpg');
    /* Placeholder image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 77, 0, 0.8);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.highlight-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.highlight-item i {
    font-size: 1.5rem;
}

/* About Section */
.about-section {
    background: #050505;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-box {
    position: relative;
}

.about-img-main {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.about-img-main img {
    width: 100%;
    display: block;
    transition: 0.5s;
}

.about-img-box:hover .about-img-main img {
    transform: scale(1.05);
}

.about-img-bg {
    position: absolute;
    top: 40px;
    left: -40px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary-color);
    border-radius: 20px;
    z-index: 1;
    transition: 0.3s;
}

.about-img-box:hover .about-img-bg {
    top: 30px;
    left: -30px;
}

.about-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    margin: 0;
    margin-bottom: 5px;
}

.stat-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-primary {
    border-left: 4px solid var(--primary-color);
}

.stat-primary h3 {
    color: var(--primary-color);
}

.stat-secondary {
    border-left: 4px solid var(--secondary-color);
}

.stat-secondary h3 {
    color: var(--secondary-color);
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 77, 0, 0.2);
}

.game-img {
    height: 250px;
    background-color: #333;
    /* Placeholder color */
    background-size: cover;
    background-position: center;
    position: relative;
}

.game-card.paintball .game-img {
    background-image: url('assets/paintball.jpg');
}

.game-card.snooker .game-img {
    background-image: url('assets/snooker.jpg');
}

.game-content {
    padding: 30px;
}

.game-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.game-details ul {
    margin: 20px 0;
}

.game-details li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.game-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 77, 0, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Booking Section */
.booking-section {
    background: linear-gradient(135deg, #111 0%, #0a0a0a 100%);
    position: relative;
}

.booking-form-wrapper {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: #0f0f0f;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background-color: #222;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Video Testimonials */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 */
    background: #000;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    z-index: 5;
}

.video-card:hover .play-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.play-button {
    color: white;
    font-size: 4rem;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
    transition: 0.3s;
    opacity: 0.9;
}

.video-card:hover .play-button {
    transform: scale(1.1);
    opacity: 1;
}

/* Video Modal/Lightbox */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.modal-content-video {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 100px rgba(0, 212, 255, 0.2);
    border: 1px solid #333;
}

.modal-content-video video {
    width: 100%;
    display: block;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2001;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.video-info {
    padding: 25px;
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, 1) 100%);
}

.video-info h4 {
    color: var(--secondary-color);
    margin: 0;
    font-size: 1.2rem;
    text-transform: capitalize;
}

.video-meta {
    display: flex;
    align-items: center;
    margin-top: 12px;
}

.video-meta i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

.video-meta span {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.review-card {
    background: #151515;
    /* Slightly lighter than card-bg */
    padding: 30px;
    border-radius: 15px;
    position: relative;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: #ddd;
    margin-bottom: 20px;
    line-height: 1.6;
}

.reviewer-name {
    font-weight: 700;
    color: var(--primary-color);
}

.review-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.rating-input {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.rating-input select {
    background: #0f0f0f;
    color: white;
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 5px;
}

/* Footer Refinement */
.footer {
    background: #020202;
    /* Even darker for premium feel */
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Subtle background glow effect */
.footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 61, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.7fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
}

.footer-about {
    color: #999;
    line-height: 1.8;
    margin-bottom: 35px;
    font-size: 0.95rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #bbb;
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--primary-color);
    margin-top: 4px;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255, 61, 0, 0.3);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(255, 61, 0, 0.3);
    border-color: var(--primary-color);
}

.footer-links h4,
.footer-form h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 35px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 18px;
}

.footer-links ul li a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1rem;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    transform: translateX(8px);
}

.footer-form-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.footer-form h4 {
    margin-bottom: 15px;
}

.footer-form p {
    color: #777;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.footer-form .form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    transition: 0.3s;
}

.footer-form .form-control:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 61, 0, 0.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .footer-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-form {
        grid-column: span 2;
    }

    .mobile-menu-toggle {
        display: block !important;
    }

    .links {
        position: fixed;
        top: 0;
        right: -300px;
        /* Initially hidden to the right */
        width: 280px;
        /* Side drawer width instead of 100% */
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* Left aligned links */
        justify-content: flex-start;
        padding: 80px 30px;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 999;
        backdrop-filter: blur(15px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .links.active {
        right: 0;
    }

    .links a {
        margin: 10px 0 !important;
        font-size: 1.2rem;
        font-weight: 600;
        text-transform: uppercase;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 10px;
    }

    .navbar-scrolled .links {
        background: rgba(5, 5, 5, 0.98);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    .hero {
        min-height: 100vh !important;
        /* Force full height on mobile */
        padding-top: 200px !important;
        padding-bottom: 60px !important;
        /* Override admin padding for mobile safety */
        margin: 0 !important;
        /* Override admin margins */
    }

    .hero-content {
        padding: 0 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 2rem;
        /* Adjusted back for better readability */
        line-height: 1.3;
        margin-top: 20px;
    }

    /* Force specific words to break on mobile with nice spacing */
    .break-mobile {
        display: block;
        width: 100%;
        margin-top: 5px;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .highlight-list {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .about-img-bg {
        left: -15px;
        top: 15px;
    }

    .stats-grid {
        gap: 15px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-card {
        max-width: 450px;
        margin: 0 auto;
    }

    .booking-form-wrapper {
        padding: 25px 20px;
    }

    .booking-form-wrapper .form-group[style*="flex"] {
        flex-direction: column;
        gap: 0 !important;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-form {
        grid-column: span 1;
    }

    .footer-links h4,
    .footer-form h4 {
        margin-bottom: 25px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        padding-top: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .about-img-main {
        border-radius: 15px;
    }

    .about-img-bg {
        border-radius: 15px;
    }
}

/* Made By Marquee */
.made-by-marquee {
    background: #000;
    color: var(--primary-color);
    padding: 5px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.marquee-wrap {
    display: flex;
    white-space: nowrap;
    width: fit-content;
    animation: marquee-scroll 40s linear infinite;
}

.marquee-wrap span {
    padding-right: 50px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 157, 0, 0.3);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.made-by-marquee:hover .marquee-wrap {
    animation-play-state: paused;
}

/* Floating WhatsApp Styling */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-wa:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.wa-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #25D366;
    border-radius: 50%;
    z-index: -1;
    animation: wa-pulse-ani 2s infinite;
}

@keyframes wa-pulse-ani {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Adjust for mobile */
@media (max-width: 768px) {
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}