/* Game Up Studios Custom Styles */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-color: #333;
    --border-color: #dee2e6;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

/* Home page background */
body.home-page {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/hero-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Keep long service titles (e.g. Console Game PS/Xbox/Switch) on one line like shorter titles */
.home-page #servicesContainer .home-service-card-title {
    white-space: nowrap;
    font-size: 0.9375rem;
    line-height: 1.35;
}
@media (min-width: 992px) {
    .home-page #servicesContainer .home-service-card-title {
        font-size: 0.8125rem;
        letter-spacing: -0.02em;
    }
}

/* Home service cards — solid “Book Now!” (muted olive-grey, white text, flat, full width) */
.home-page #servicesContainer .home-service-book-btn {
    --home-book-btn-bg: #7b7d71;
    --home-book-btn-bg-hover: #6a6c61;
    background-color: var(--home-book-btn-bg);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: none;
    text-decoration: none;
}

.home-page #servicesContainer .home-service-book-btn:hover,
.home-page #servicesContainer .home-service-book-btn:focus {
    background-color: var(--home-book-btn-bg-hover);
    color: #fff;
    text-decoration: none;
}

.home-page #servicesContainer .home-service-book-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(123, 125, 113, 0.45);
    color: #fff;
}

.home-page #servicesContainer .home-service-book-btn:active {
    background-color: #5c5e54;
    color: #fff;
}

/* Home “Book Now!” service category filters — text tabs, light rule, active underline */
.home-service-filters-wrap {
    width: 100%;
}

.home-service-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 0 1.75rem;
    max-width: 100%;
    border-bottom: 1px solid #dee2e6;
    padding: 0 0.5rem;
}

.home-service-filter-tab {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    padding: 0.65rem 0.15rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #adb5bd;
    cursor: pointer;
    line-height: 1.2;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.home-service-filter-tab:hover {
    color: #6c757d;
}

.home-service-filter-tab.active {
    color: #212529;
    font-weight: 600;
    border-bottom-color: #212529;
}

.home-service-filter-tab:focus {
    outline: none;
}

.home-service-filter-tab:focus-visible {
    border-radius: 4px;
    box-shadow: 0 0 0 0.2rem rgba(33, 37, 41, 0.2);
}

/* Services page background */
body.services-page {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/services-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Price page background */
body.price-page {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/price-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Events page background */
body.events-page {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/services-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Contact page background */
body.contact-page {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/contact-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* FAQ page background */
body.faq-page {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/faq-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Booking page - background only on navbar/header */
body.booking-page {
    background-color: #fff;
}

body.booking-page .navbar {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/hero-background.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    padding: 1rem 0;
}

/* Navigation */
.navbar {
    background-color: var(--dark-color) !important;
    padding: 1rem 0;
    box-shadow: none;
    border-bottom: none;
}

/* Transparent navbar on pages with background images */
body.home-page .navbar,
body.services-page .navbar,
body.price-page .navbar,
body.events-page .navbar,
body.contact-page .navbar,
body.faq-page .navbar {
    background-color: transparent !important;
    background: rgba(0, 0, 0, 0.3) !important;
}

/* Home: parallax events block (layered images + glass panels; scroll-driven, tour-style depth) */
.home-events-parallax {
    position: relative;
    min-height: min(100vh, 960px);
    padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
    overflow: hidden;
    isolation: isolate;
}

/* Immediately after Book Now grid inside .services-section — edge-to-edge over page background */
.home-events-parallax--after-booking {
    margin-top: 2.5rem;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.home-events-parallax__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.home-events-parallax__layer {
    position: absolute;
    will-change: transform;
    backface-visibility: hidden;
}

.home-events-parallax__layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Deep background wash */
.home-events-parallax__layer--0 {
    inset: -12% -8% -8% -8%;
    z-index: 0;
    opacity: 0.42;
    filter: saturate(1.05) brightness(0.85);
}

/* Floating “card” — mid depth */
.home-events-parallax__layer--1 {
    right: max(-4%, -2rem);
    top: 8%;
    width: min(52%, 540px);
    aspect-ratio: 4 / 3;
    z-index: 1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Accent frame — foreground */
.home-events-parallax__layer--2 {
    left: max(-3%, -1.5rem);
    bottom: 22%;
    width: min(38%, 380px);
    aspect-ratio: 1 / 1;
    z-index: 2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.home-events-parallax__scrim {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(
        115deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.45) 42%,
        rgba(0, 0, 0, 0.2) 100%
    );
    pointer-events: none;
}

.home-events-parallax__inner {
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: clamp(1.75rem, 4vw, 2.75rem);
}

.home-events-parallax__intro {
    max-width: 36rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.home-events-parallax__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.home-events-parallax__cta {
    font-weight: 600;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.home-events-parallax__panels {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 1rem;
}

@media (min-width: 992px) {
    .home-events-parallax__panels {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

.home-events-parallax__panel {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-events-parallax__panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.home-events-parallax__panel-link {
    height: 100%;
}

.home-events-parallax__panel-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1a1a1a;
}

.home-events-parallax__panel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-events-parallax__panel:hover .home-events-parallax__panel-img img {
    transform: scale(1.04);
}

.home-events-parallax__panel-body {
    padding: 0.85rem 1rem 1rem;
}

.home-events-parallax__panel-title {
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}

@media (max-width: 767.98px) {
    .home-events-parallax__layer--1,
    .home-events-parallax__layer--2 {
        opacity: 0.55;
        width: min(70%, 320px);
    }
    .home-events-parallax__layer--1 {
        top: 4%;
    }
    .home-events-parallax__layer--2 {
        bottom: auto;
        top: 38%;
        left: -8%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-events-parallax__layer {
        transform: none !important;
    }
    .home-events-parallax__panel:hover {
        transform: none;
    }
    .home-events-parallax__panel:hover .home-events-parallax__panel-img img {
        transform: none;
    }
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: #fff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand:hover {
    color: #fff !important;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.navbar-brand strong {
    color: #fff;
    font-weight: 600;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
    text-decoration: none;
    font-size: 1rem;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    text-decoration: none;
}

.navbar-nav .nav-link.active {
    color: #fff !important;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/hero-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5rem 0;
    position: relative;
}

/* Remove hero section background on home page since body has it */
body.home-page .hero-section {
    background: none;
    padding: 5rem 0;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-section h4 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #fff;
}

/* Services Hero Section */
.services-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/services-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 180px 0 80px;
    position: relative;
}

/* Remove services hero section background on services page since body has it */
body.services-page .services-hero-section {
    background: none;
    padding: 180px 0 80px;
}

.services-hero-title {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #fff;
}

.services-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: #fff;
    overflow-x: hidden; /* full-bleed parallax child below booking grid */
}

.services-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.card {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-img-top {
    width: 100%;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
}

/* Product Catalog Cards */
.product-card {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
}

/* Booking Section */
.booking-section {
    padding: 4rem 0;
}

.booking-form-card {
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.booking-section .flatpickr-calendar {
    border-radius: 0.75rem;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
}

.booking-section .flatpickr-day.selected,
.booking-section .flatpickr-day.startRange,
.booking-section .flatpickr-day.endRange {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.booking-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--dark-color) !important;
    color: #fff;
    margin-top: auto;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #fff;
}

/* Contact Hero Section */
.contact-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/contact-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 180px 0 80px;
    position: relative;
}

/* Remove contact hero section background on contact page since body has it */
body.contact-page .contact-hero-section {
    background: none;
    padding: 180px 0 80px;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 600;
    color: #fff;
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Contact Info Section */
.contact-info-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.contact-info-title {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-color);
}

.contact-details {
    text-align: center;
}

.contact-detail-item {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.contact-detail-item strong {
    font-weight: 600;
}

.contact-methods {
    margin-top: 3rem;
}

.contact-method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-method-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-method-item h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-color);
    margin-top: 1rem;
}

/* Map Placeholder */
.map-placeholder {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* FAQ Hero Section */
.faq-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/faq-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 180px 0 80px;
    position: relative;
}

/* Remove FAQ hero section background on FAQ page since body has it */
body.faq-page .faq-hero-section {
    background: none;
    padding: 180px 0 80px;
}

.faq-hero-title {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #fff;
}

.faq-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: #fff;
}

.faq-section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.faq-section-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--secondary-color);
}

/* Accordion (FAQ) */
.accordion-button {
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Price Hero Section */
.price-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/price-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 180px 0 80px;
    position: relative;
}

/* Remove price hero section background on price page since body has it */
body.price-page .price-hero-section {
    background: none;
    padding: 180px 0 80px;
}

.price-hero-title {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #fff;
}

.price-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 1rem;
}

/* Price Section */
.price-section {
    padding: 4rem 0;
    background-color: #fff;
}

.price-section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.price-section-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--secondary-color);
}

/* Table (Price) */
.table {
    background-color: #fff;
}

.table thead th {
    background-color: var(--light-color);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

/* Events Hero Section */
.events-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/services-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 180px 0 80px;
    position: relative;
}

/* Remove events hero section background on events page since body has it */
body.events-page .events-hero-section {
    background: none;
    padding: 180px 0 80px;
}

.events-hero-title {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #fff;
}

.events-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 1rem;
}

/* Events Section */
.events-section {
    padding: 4rem 0;
    background-color: #fff;
}

.events-section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.events-section-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--secondary-color);
}

.event-card {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.event-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
}

.event-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.event-card .card-text {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .services-section h2 {
        font-size: 2rem;
    }
    
    .services-hero-title {
        font-size: 32px;
    }
    
    .services-hero-subtitle {
        font-size: 1rem;
    }
    
    .services-hero-section {
        padding: 120px 0 60px;
    }
    
    .price-hero-title {
        font-size: 32px;
    }
    
    .price-hero-subtitle {
        font-size: 1rem;
    }
    
    .price-hero-section {
        padding: 120px 0 60px;
    }
    
    .price-section-title {
        font-size: 2rem;
    }
    
    .price-section-subtitle {
        font-size: 1.25rem;
    }
    
    .events-hero-title {
        font-size: 32px;
    }
    
    .events-hero-subtitle {
        font-size: 1rem;
    }
    
    .events-hero-section {
        padding: 120px 0 60px;
    }
    
    .events-section-title {
        font-size: 2rem;
    }
    
    .events-section-subtitle {
        font-size: 1.25rem;
    }
    
    .event-card-img {
        height: 200px;
    }
    
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-info-title {
        font-size: 2rem;
    }
    
    .contact-detail-item {
        font-size: 1.25rem;
    }
    
    .contact-method-item {
        font-size: 1.25rem;
    }
    
    .faq-hero-title {
        font-size: 32px;
    }
    
    .faq-hero-subtitle {
        font-size: 1rem;
    }
    
    .faq-hero-section {
        padding: 120px 0 60px;
    }
    
    .faq-section-title {
        font-size: 2rem;
    }
    
    .faq-section-subtitle {
        font-size: 1rem;
    }
}

