/*
Theme Name: Lala's Laser Tag
Theme URI: https://lalasertag.com
Description: A custom WordPress theme for Lala's Laser Tag.
Author: Sabirul Islam
Author URI: https://sabir-portfolio-2a4b1.web.app/
Version: 1.0
Text Domain: lalasertag
*/


/* --------------------------------------------------
   RESET
-------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: relative;
    height: 100%;
    margin: 0;
    overflow-x: hidden;
    /* Prevent scrollbars on all pages */
}


/* Use Bebas Neue for titles and headings */
h1,
h2,
h3,
h4,
h5,
h6,
.site-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: normal;
    /* Bebas Neue is already bold, no need for extra weight */
}

/* Use Poppins for body text */
body,
p,
a,
ul,
li,
span,
.content {
    font-family: 'Poppins', sans-serif;
}

/* Additional Styling for headings */
h1 {
    font-size: 3rem;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.3rem;
}

/* Styling for the site title */
.site-title a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
}

/* Make sure links inherit Poppins font */
a {
    text-decoration: none;
    color: inherit;
    /* Ensure links match the body text color */
}

.site-header {
    display: flex;
    justify-content: center;
    position: absolute;
    z-index: 110;
    width: 100%;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 80vw;
}

.custom-logo {
    width: 200px;
    /* Adjust width */
    height: auto;
    /* Maintain aspect ratio */
}

/* If you want to style the fallback (site name) */
.site-title {
    font-size: 2em;
    font-weight: bold;
    text-transform: uppercase;
}

.site-title a,
.page-title {
    /* 1px black stroke */
    color: #ff9900;
    /* Simulated text stroke */
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.8),
        /* Top-left shadow */
        1px -1px 0 rgba(0, 0, 0, 0.8),
        /* Top-right shadow */
        -1px 1px 0 rgba(0, 0, 0, 0.8),
        /* Bottom-left shadow */
        1px 1px 0 rgba(0, 0, 0, 0.8);
    /* Bottom-right shadow */
    /* Webkit Text Stroke */
    -webkit-text-stroke: .1px black;
}

.site-title a:hover,
.page-title:hover {
    color: rgb(0, 230, 255);
}

.page-title {
    margin-bottom: 15px;
    text-align: center;
}

/* --------------------------------------------------
   UNIVERSAL BACKGROUND (FEATURED IMAGE)
   Adds full-screen background for ALL pages.
-------------------------------------------------- */
.featured-bg {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow: visible;
    padding: 80px 0 80px;
}

/* --------------------------------------------------
   FRONT PAGE LAYOUT
-------------------------------------------------- */
.frontpage-container {
    width: 80vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.centered-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 50%;
    object-fit: cover;
}

.page-content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    /* or any height you want */
}

/* Inner sections auto-size */
.page-content-wp,
.page-extra-content {
    width: 100%;
}

.page-extra-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Circular Menu (desktop only) */
.menu-links {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1230px;
    height: 75%;
    display: flex;
    justify-content: space-around;
    z-index: 11;
}

.menu-links ul#menu-frontpage-menu {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    grid-gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

.menu-links ul#menu-frontpage-menu li {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Column 1 (left) */
.menu-links ul#menu-frontpage-menu li:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.menu-links ul#menu-frontpage-menu li:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.menu-links ul#menu-frontpage-menu li:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
}

.menu-links ul#menu-frontpage-menu li:nth-child(4) {
    grid-column: 1;
    grid-row: 4;
}

/* Column 2 (middle) */
.menu-links ul#menu-frontpage-menu li:nth-child(5) {
    grid-column: 2;
    grid-row: 1;
}

.menu-links ul#menu-frontpage-menu li:nth-child(6) {
    grid-column: 2;
    grid-row: 4;
}

/* Column 3 (right) */
.menu-links ul#menu-frontpage-menu li:nth-child(7) {
    grid-column: 3;
    grid-row: 1;
}

.menu-links ul#menu-frontpage-menu li:nth-child(8) {
    grid-column: 3;
    grid-row: 2;
}

.menu-links ul#menu-frontpage-menu li:nth-child(9) {
    grid-column: 3;
    grid-row: 3;
}

.menu-links ul#menu-frontpage-menu li:nth-child(10) {
    grid-column: 3;
    grid-row: 4;
}


/* --------------------------------------------------
   HEADER MENU (Shown on all NON-front pages)
-------------------------------------------------- */

.desktop-menu {
    display: flex;
    /* justify-content: center; */
}

.desktop-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    /* flex-direction: column; */
    flex-wrap: wrap;
}

.desktop-menu ul ul {
    flex-direction: column;
}

/* Menu colors */
/* ========================= */
.desktop-menu a,
.menu-links a,
.mobile-menu a {
    font-size: 18px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    color: rgb(0, 230, 255);
    /* Text color */
    padding: 10px 0;
    /* Simulated text stroke */
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.8),
        /* Top-left shadow */
        1px -1px 0 rgba(0, 0, 0, 0.8),
        /* Top-right shadow */
        -1px 1px 0 rgba(0, 0, 0, 0.8),
        /* Bottom-left shadow */
        1px 1px 0 rgba(0, 0, 0, 0.8);
    /* Bottom-right shadow */
    /* Webkit Text Stroke */
    -webkit-text-stroke: .1px black;
    /* 1px black stroke */
}

.desktop-menu a:hover,
.menu-links a:hover,
.mobile-menu a:hover,
.current_page_item a,
.current-menu-item a {
    color: #ff9900;
}

.desktop-menu li,
.mobile-menu li {
    position: relative;
}

.desktop-menu li.menu-item.menu-item-has-children ul,
.mobile-menu li.menu-item.menu-item-has-children ul {
    position: absolute;
    top: 25px;
    transition: .3s ease-in-out;
    opacity: 0;
    width: auto;
    min-width: 250px;
    gap: 10px;
    background: #aab3c0c4;
    padding: 5px;
    z-index: 9999;
}

.desktop-menu li.menu-item.menu-item-has-children:hover ul,
.mobile-menu li.menu-item.menu-item-has-children:hover ul {
    opacity: 1;
}

.desktop-menu li.menu-item.menu-item-has-children ul li a,
.mobile-menu li.menu-item.menu-item-has-children ul li a {
    padding: 0;
    font-size: 16px;
}

/* --------------------------------------------------
   MOBILE MENU (Hidden on desktop)
-------------------------------------------------- */
.hamburger-menu,
.mobile-menu {
    display: none;
}

/* ========== Footer =========== */
footer {
    width: 100%;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 5;
    /* 1px black stroke */
    color: rgb(0, 230, 255);
    /* Simulated text stroke */
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.8),
        /* Top-left shadow */
        1px -1px 0 rgba(0, 0, 0, 0.8),
        /* Top-right shadow */
        -1px 1px 0 rgba(0, 0, 0, 0.8),
        /* Bottom-left shadow */
        1px 1px 0 rgba(0, 0, 0, 0.8);
    /* Bottom-right shadow */
    /* Webkit Text Stroke */
    -webkit-text-stroke: .1px black;
}

/*========== Hours table CSS ==========*/
.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: bold;
}

/* ==================================================
   RESPONSIVE DESIGN
================================================== */
@media (max-width: 1024px) {

    .frontpage-container {
        width: 95vw;
    }

    .header-container {
        max-width: 95vw;
    }

    footer {
        bottom: 15px;
    }
}

@media (max-width: 768px) {
    .site-branding {
        margin-top: 10px;
    }

    /* Hide desktop menu */
    .desktop-menu {
        display: none;
    }

    /* Hide circular menu on mobile */
    .menu-links {
        display: none;
    }

    /* Hamburger Icon */
    .hamburger-menu {
        display: block;
        position: fixed;
        top: 10px;
        left: auto;
        z-index: 999;
        right: 10px;
    }

    .hamburger-icon {
        font-size: 32px;
        color: #FF9900;
        cursor: pointer;
    }

    .hamburger-icon:hover {
        color: rgb(0, 230, 255);
    }

    /* Mobile Slide Menu */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100%;
        background-color: #222;
        padding-top: 10px;
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .mobile-menu ul {
        list-style: none;
        padding-left: 20px;
    }

    .mobile-menu li {
        margin: 20px 0;
    }

    .mobile-menu li ul li {
        margin: 10px 0;
    }

    .mobile-menu.active {
        left: 0;
    }
}

/* @media (max-width: 480px) {} */