/* ========= ГЛОБАЛЬНЫЕ СТИЛИ И ПЕРЕМЕННЫЕ ========= */
:root {
    --font-primary: "Satoshi", sans-serif;
    --font-secondary: "Lalezar", cursive;
    --font-accent: "MuseoModerno", cursive;
    --font-text: "Karla", sans-serif;

    --color-black: #000000;
    --color-dark-bg: #111216; 
    --color-dark-card: #1E1E1E; 
    --color-white: #FFFFFF;
    --color-grey-light: #E9E9E9;
    --color-grey-medium: #C4C4C4; 
    --color-grey-text: #ACACAC; 
    --color-grey-dark: #6C6C6C; 
    --color-yellow: #FFEE00;
    --color-lightbox-bg: rgba(0, 0, 0, 0.85);

    --container-width: 90%;
    --container-width-max: 1200px; 

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    scroll-behavior: smooth;
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

::-webkit-scrollbar {
    display: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-black);
    color: var(--color-grey-light);
    line-height: 1.6;
    overflow-x: hidden; 
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: var(--container-width);
    max-width: var(--container-width-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}

.section-title {
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: clamp(1.8rem, 4vw, 2.5rem); 
    color: var(--color-grey-light);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.text-yellow {
    color: var(--color-yellow);
}

.card {
    background-color: var(--color-dark-bg);
    border: 1px solid var(--color-dark-card);
    border-radius: 0.83rem; 
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
}

/* ========= ШРИФТЫ ========= */
@font-face {
    font-family: "Satoshi";
    src: url("./Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: "Satoshi";
    src: url("./Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: bold;
}
@font-face {
    font-family: "Lalezar";
    src: url("./Lalezar/Lalezar-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: "MuseoModerno";
    src: url("./MuseoModerno/static/MuseoModerno-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: bold; 
}
@font-face {
    font-family: "Karla";
    src: url("./Karla/static/Karla-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: "Karla";
    src: url("./Karla/static/Karla-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: bold;
}

/* ========= НАВИГАЦИЯ ========= */
.navbar {
    background-color: rgba(17, 18, 22, 0.85); 
    border-bottom: 1px solid var(--color-yellow);
    padding: var(--spacing-sm) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(5px); 
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-name {
    font-family: var(--font-secondary);
    color: var(--color-yellow);
    font-size: clamp(1.5rem, 3vw, 2rem);
}
.nav-links {
    display: flex;
    gap: var(--spacing-md);
}
.nav-item .nav-link {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--color-grey-light);
    transition: color 0.3s ease;
}
.nav-item .nav-link:hover,
.nav-item .nav-link.active-link {
    color: var(--color-yellow);
}
.nav-toggle { 
    display: none; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    position: relative;
    transition: transform 0.3s ease-in-out;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, bottom 0.3s ease-in-out;
}
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }
.nav-toggle.is-active .hamburger { background-color: transparent; }
.nav-toggle.is-active .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-toggle.is-active .hamburger::after { transform: rotate(-45deg); bottom: 0; }

/* ========= HERO SECTION (START) ========= */
/* Hero Section */
.hero-section {
    position: relative;
    height: 600px; /* Adjust height as needed, will be responsive */
    background-color: var(--color-dark-bg);
    background-image: url('../static/image/hero-bg.jpg'); /* New background image */
    background-size: cover; /* Cover the entire area */
    background-position: center right; /* Adjust as needed */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    overflow: hidden; /* Ensure content does not overflow */
}
.hero-section::before { 
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0, 0.3);
}

.hero-content-wrapper {
    position: relative; /* Remove absolute positioning */
    z-index: 2; /* Ensure content is above background */
    width: var(--container-width);
    max-width: var(--container-width-max);
    margin: 0 auto;
    display: flex;
    justify-content: end;
    align-items: center;
    min-height: 100%;
    padding: var(--spacing-lg) 0; /* Add some vertical padding */
    padding-top: 7.5rem;
}

.hero-text-box {
    background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background for readability */
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 8px;
    color: var(--color-white);
    max-width: 500px; /* Limit width of text box */
    text-align: left; /* Align text to the left */
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-yellow);
    margin-bottom: var(--spacing-xs);
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}

.hero-description {
    font-family: var(--font-text);
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    line-height: 1.6;
    color: var(--color-grey-light);
    margin-bottom: var(--spacing-md);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 500px; /* Adjust height for tablets */
        background-position: center center; /* Center image on smaller screens */
    }

    .hero-text-box {
        max-width: 90%; /* Allow text box to take more width */
        padding: var(--spacing-sm);
        text-align: center; /* Center text on smaller screens */
        margin: 0 auto; /* Center the text box */
    }

    .hero-content-wrapper {
        justify-content: center; /* Center content wrapper for smaller screens */
        padding-top: 5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 400px; /* Further adjust height for mobile */
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem); /* Adjust font size for mobile */
    }

    .hero-description {
        font-size: clamp(0.8rem, 3.5vw, 0.95rem); /* Adjust font size for mobile */
    }
}

/* For 1:1 aspect ratio screens (e.g., some desktops or specific viewports) */
@media (min-aspect-ratio: 1/1) and (max-width: 1200px) {
    .hero-section {
        background-position: center center; /* Ensure image is centered */
    }
    .hero-text-box {
        max-width: 60%; /* Adjust max-width for square screens */
        margin: 0 auto;
        text-align: center;
    }
    .hero-content-wrapper {
        justify-content: center;
    }
}

/* Ensure the path to your image is correct. 
   If your image is named 'image_8a1e60.jpg' and located in 'static/', 
   you might need to rename it to 'hero-bg.jpg' or update the url path accordingly.
   For example: url('../static/image_8a1e60.jpg') 
*/
.cta-button {
    display: inline-flex; 
    align-items: center;
    background-color: rgba(17, 18, 22, 0.7); 
    border: 1px solid var(--color-yellow);
    color: var(--color-yellow);
    font-family: var(--font-secondary);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 2rem; 
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.cta-button:hover {
    background-color: var(--color-yellow);
    color: var(--color-dark-bg);
}
.cta-icon {
    width: clamp(1rem, 2vw, 1.5rem);
    height: clamp(1rem, 2vw, 1.5rem);
    margin-left: var(--spacing-xs);
    transition: transform 0.3s ease;
}
.cta-button:hover .cta-icon { transform: translateX(5px); }

/* ========= INFO SECTION (ПОД HERO) ========= */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: var(--spacing-lg);
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}
.info-item {
    display: flex;
    align-items: flex-start; 
    gap: var(--spacing-md);
}
.info-icon {
    width: 40px; 
    height: 40px;
    object-fit: contain;
    flex-shrink: 0; 
}
.info-content { flex-grow: 1; }
.info-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}
.info-description {
    font-family: var(--font-text);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: var(--color-grey-dark);
    line-height: 1.7;
}

/* ========= PHOTO GALLERY (Общая и для банкетов) ========= */
.photo-gallery-section {
    padding-bottom: var(--spacing-xl);
}
.photo-gallery-section .section-title {
    margin-bottom: var(--spacing-md);
}
.photo-gallery-scroll {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto; 
    padding-bottom: var(--spacing-md); 
    -webkit-overflow-scrolling: touch; 
}
.photo-gallery-scroll::-webkit-scrollbar { height: 8px; }
.photo-gallery-scroll::-webkit-scrollbar-thumb {
    background: var(--color-yellow);
    border-radius: 4px;
}
.photo-gallery-scroll::-webkit-scrollbar-track { background: var(--color-dark-card); }

/* MODIFIED: Bowling Gallery Images ("Mūsu Atmosfēra") */
.photo-gallery-section .photo-gallery-scroll .gallery-image {
    height: 300px; /* Increased height */
    width: auto;   /* Allow width to adjust based on aspect ratio */
    max-width: 630px; /* Approx 1.5x original max, adjust as needed */
    object-fit: contain; /* Show full image, no cropping */
    background-color: var(--color-dark-bg); /* Background for letterbox area */
    border-radius: 0.94rem; 
    border: 2px solid var(--color-dark-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; /* Image is now part of a link */
}
.gallery-image:hover { /* General hover for gallery images */
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.gallery-item-link:hover .gallery-image { /* More specific hover for linked images if needed */
    /* You can add specific hover effects here if different from .gallery-image:hover */
}


/* MODIFIED: Banquet Gallery Images */
.banquet-gallery .gallery-image {
    height: 350px; /* Increased height */
    width: auto; /* Allow width to adjust */
    max-width: 700px; /* Approx 1.5x original max, adjust as needed */
    object-fit: contain; /* Show full image, no cropping */
    background-color: var(--color-dark-bg); /* Background for letterbox area */
    cursor: pointer; 
    border-radius: 0.94rem; 
    border: 2px solid var(--color-dark-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.banquet-gallery .gallery-item-link { /* Ensure wrapper doesn't constrain */
    display: block; 
}


/* ========= BOWLING DETAILS (ЦЕНЫ И ВРЕМЯ) ========= */
.bowling-details-section {
    padding-bottom: var(--spacing-xl);
}
.bowling-details-section .section-title br { display: none; } 
.bowling-info-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1.5fr) minmax(300px, 1.5fr) minmax(250px, 1fr);
    gap: var(--spacing-lg);
    align-items: stretch; /* Default, can be overridden by items */
}
.schedule-card, .pricing-cards-group {
    /* These elements занимают по одной колонке */
}

/* MODIFIED: Shoe Rental Card */
.shoe-rental-card.card {
    grid-column: span 1; 
    max-width: 300px; /* Slightly reduced max-width */
    justify-self: center; 
    width: 100%; 
    padding: var(--spacing-sm); /* Reduced padding */
    align-self: flex-start; /* Prevent stretching if other items in row are taller, content defines height */
}
.shoe-rental-card .shoe-image {
    margin-bottom: var(--spacing-sm); /* Adjusted margin */
}
.shoe-rental-card .card-title-small {
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    color: var(--color-grey-medium);
    text-align: center;
    margin-bottom: var(--spacing-sm); /* Adjusted margin */
}
/* --- End of Shoe Rental Card modifications --- */

.schedule-card .card-title-small { /* Keep original if not shoe card specific title */
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    color: var(--color-grey-medium);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.schedule-list {
    font-family: var(--font-primary);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}
.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--color-dark-card);
}
.schedule-item:last-child { border-bottom: none; }
.schedule-item span:first-child { color: var(--color-grey-light); }
.schedule-note {
    font-family: var(--font-text);
    font-size: clamp(0.8rem, 1.3vw, 0.9rem);
    color: #878787;
    margin-top: var(--spacing-md);
    text-align: center;
}
.pricing-cards-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}
.pricing-card .card-content { 
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}
.pricing-card-daylabel {
    background-color: var(--color-dark-card);
    color: var(--color-grey-medium);
    font-family: var(--font-secondary);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 0.5rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
}
.price-display {
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: var(--spacing-xs);
    color: var(--color-yellow);
    margin-bottom: var(--spacing-sm);
}
.price-icon {
    font-family: var(--font-secondary); 
    font-size: clamp(1.8rem, 3vw, 2.5rem); 
    line-height: 1;
}
.price-value {
    display: flex;
    align-items: baseline; 
}
.price-amount {
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: clamp(2rem, 4vw, 3rem);
}
.price-period {
    font-family: var(--font-primary);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin-left: var(--spacing-xs);
    color: var(--color-yellow); 
}
.pricing-subtitle {
    font-family: var(--font-primary);
    font-weight: bold;
    color: var(--color-white);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    margin-bottom: var(--spacing-xs);
    text-align: center;
}
.pricing-description {
    font-family: var(--font-text);
    color: var(--color-grey-text);
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    text-align: center;
    flex-grow: 1; 
    margin-bottom: var(--spacing-md); 
}
.shoe-image {
    width: clamp(80px, 15vw, 120px); 
    margin: 0 auto var(--spacing-md) auto; 
}
.shoe-rental-price .price-amount,
.shoe-rental-price .price-period {
    font-size: clamp(1.5rem, 3vw, 2rem); 
}
.shoe-rental-price .price-period {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* ========= SPECIAL OFFERS (АКЦИИ) ========= */
.special-offers-section {
    padding-bottom: var(--spacing-xl);
}
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}
.offer-item.card {
    padding: 0; 
    display: flex;
    flex-direction: column; 
}
.offer-image-container {
    width: 100%;
    background-color: var(--color-dark-bg); 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    border-top-left-radius: 0.83rem; 
    border-top-right-radius: 0.83rem;
    /* border-bottom-left-radius: 0;  Ensure this is not set for column layout */
    /* border-bottom-right-radius: 0; Ensure this is not set for column layout */
}
.offer-image {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}
.offer-content {
    padding: var(--spacing-md);
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}
.offer-title {
    font-family: var(--font-secondary);
    color: var(--color-yellow);
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
}
.offer-description {
    font-family: var(--font-text);
    color: var(--color-grey-text);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
}

/* MODIFIED: Special Offers Desktop Layout */
@media (min-width: 993px) { /* Changed from 769px if needed, or adjust to your main desktop breakpoint */
    .special-offers-section .offer-item.card {
        height: 50vh;
        flex-direction: row; /* Image container first, then content by HTML order */
        align-items: flex-start; /* Align items to the top */
    }
    .special-offers-section .offer-content { /* Text content */
        flex: 1 1; /* Takes more space */
        order: 1;      /* Text appears first */
        padding: var(--spacing-md); /* Ensure padding is consistent */
        height: 100%;
    }
    .special-offers-section .offer-image-container { /* Image container */
        /* flex: 1 1;  Takes less space */
        order: 2;       /* Image appears second */
        max-height: 50vh;
        height: 50vh;
        justify-content: left;
        aspect-ratio: unset; /* Remove fixed aspect ratio to respect 40vh */
        border-radius: 0.83rem; /* Apply consistent radius */
         /* Reset specific corner radii from column layout if they were different */
        border-top-left-radius: 0.83rem;
        border-bottom-left-radius: 0.83rem;
        border-top-right-radius: 0; /* Example if text is on left and image is on right */
        border-bottom-right-radius: 0; /* Make these 0.83rem if you want all corners rounded on image container */
         /* For Text Left, Image Right: image container needs right side rounded */
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 0.83rem;
        border-bottom-right-radius: 0.83rem;

        width: auto;
    }
    .special-offers-section .offer-image {
        width: 50vh;
        /* width: 100%; */ /* Already set */
        /* height: 100%; */ /* Already set */
        /* object-fit: contain; */ /* Already set */
    }
    .offers-grid {
        width: fit-content;
    }

    .offer-description {
        width: 20vw;
    }
}
/* --- End of Special Offers Desktop Layout --- */


/* ========= EQUIPMENT RENTAL ========= */
.equipment-rental-section {
    padding-bottom: var(--spacing-xl);
}
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}
.equipment-card.card {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center;
}
.equipment-image {
    width: clamp(180px, 25vw, 250px); 
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-bottom: var(--spacing-md);
    border-radius: 0.5rem; 
}
.equipment-info { margin-bottom: var(--spacing-sm); }
.equipment-type {
    font-family: var(--font-secondary);
    color: var(--color-white);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    margin-bottom: var(--spacing-xs);
}
.equipment-description {
    font-family: var(--font-text);
    color: var(--color-grey-text);
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    margin-bottom: var(--spacing-sm);
}
.equipment-price-info { margin-top: auto; }
.equipment-price-info .price-amount { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.equipment-price-info .price-period { font-size: clamp(0.9rem, 1.5vw, 1.6rem); }
.equipment-price-note {
    font-family: var(--font-text);
    font-size: clamp(0.8rem, 1.2vw, 1.4rem);
    color: var(--color-grey-dark);
    margin-top: var(--spacing-xs);
}

/* ========= PREMISES RENTAL HERO ========= */
.premises-rental-hero {
    background-image: url("https://t4.ftcdn.net/jpg/00/97/87/09/240_F_97870953_V0Aq7dhJp2reT1GsGXy0vI2fdazTC9IX.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: var(--color-white);
    position: relative;
}
.premises-rental-hero::before {
    content: '';
    position: absolute;
    top:0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0, 0.6); 
}
.premises-rental-content {
    position: relative;
    z-index: 1;
    max-width: 700px; 
}
.premises-rental-content .hero-subtitle {
    color: var(--color-yellow);
    font-size: clamp(1rem, 2vw, 1.3rem);
}
.premises-rental-content .hero-title {
    color: var(--color-grey-medium);
    font-size: clamp(2rem, 5vw, 3.5rem);
}
.premises-rental-content .hero-description {
    color: var(--color-grey-light);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    margin-bottom: var(--spacing-lg);
}
.contact-info-inline {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: var(--spacing-sm) var(--spacing-lg);
}
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--color-grey-light);
    transition: color 0.3s ease;
}
.contact-link:hover { color: var(--color-yellow); }
.contact-icon-svg {
    width: clamp(1.2rem, 2vw, 1.5rem);
    height: clamp(1.2rem, 2vw, 1.5rem);
    filter: invert(92%) sepia(55%) saturate(4360%) hue-rotate(320deg) brightness(105%) contrast(102%); 
}

/* ========= BANQUETS SECTION ========= */
.banquets-section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}
.banquet-intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-sm);
}
.banquet-title-custom {
    text-align: left;
    margin-bottom: 0; 
    flex-grow: 1;
}
.banquet-price-agreement {
    font-family: var(--font-primary);
    font-weight: bold;
    color: var(--color-yellow);
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    flex-shrink: 0; 
}
.banquet-description-full {
    font-family: var(--font-text);
    color: var(--color-grey-text);
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}
.banquet-spacing-top { margin-top: var(--spacing-xl); }

/* ========= FOOTER ========= */
.footer {
    background-color: #111111; 
    padding: var(--spacing-xl) 0;
    color: var(--color-grey-text);
    border-top: 2px solid var(--color-yellow);
}
.footer-top {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-dark-card);
    margin-bottom: var(--spacing-lg);
}
.brand-name-footer {
    font-family: var(--font-secondary);
    color: var(--color-yellow);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: var(--spacing-sm); 
}
.contact-info-footer { font-size: clamp(0.9rem, 1.5vw, 1rem); }
.address-wrapper, .phone-wrapper-footer, .email-wrapper-footer {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}
.contact-details-footer {
    display: flex;
    flex-direction: column; 
    gap: var(--spacing-xs);
}
.contact-info-footer a:hover {
    color: var(--color-yellow);
    text-decoration: underline;
}
.footer-icon {
    width: clamp(1rem, 1.8vw, 1.3rem);
    height: clamp(1rem, 1.8vw, 1.3rem);
    filter: invert(70%) sepia(0%) saturate(0%) hue-rotate(162deg) brightness(96%) contrast(89%); 
}
.footer-bottom {
    text-align: center;
    font-size: clamp(0.8rem, 1.3vw, 0.9rem);
}
.copyright { font-family: var(--font-primary); }

/* ========= LIGHTBOX STYLES ========= */
.lightbox-overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-lightbox-bg);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    cursor: pointer; 
}
.lightbox-container {
    position: relative;
    max-width: 90vw; /* Image container respects viewport width */
    max-height: 90vh; /* Image container respects viewport height */
    display: flex; 
    align-items: center;
    justify-content: center;
    cursor: default; 
}
.lightbox-image-content {
    max-width: 100%; /* Image fits within its container */
    max-height: 100%; /* Image fits within its container */
    min-width: 50vw;
    min-height: 30vh;
    object-fit: contain; /* Crucial for no crop and similar size appearance */
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.lightbox-close-button {
    position: absolute;
    top: -10px; 
    right: -5px;  
    color: var(--color-white);
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, background-color 0.3s ease;
    z-index: 2001; 
}
.lightbox-close-button:hover {
    color: var(--color-yellow);
    background-color: rgba(0,0,0,0.7);
}

/* ========= АДАПТИВНОСТЬ (МЕДИА-ЗАПРОСЫ) ========= */
@media (max-width: 1024px) { 
    .bowling-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .shoe-rental-card.card {
        max-width: none; 
        justify-self: stretch; 
    }
}

@media (max-width: 992px) { /* This breakpoint will NOT have the special offers row layout */
    .info-section {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .bowling-details-section .section-title br { display: inline; } 
    .hero-content-wrapper {
        justify-content: center; 
        padding-right: 0;
    }
    .hero-text-box {
        margin: 0 var(--spacing-md); 
        text-align: center;
    }
    .equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    /* Special offers revert to column on tablets if not handled by min-width: 993px */
    .special-offers-section .offer-item.card {
        flex-direction: column;
    }
    .special-offers-section .offer-content {
        order: 0; /* Reset order */
         padding: var(--spacing-md); /* Ensure padding is correct */
    }
    .special-offers-section .offer-image-container {
        order: 0; /* Reset order */
        max-height: none; /* Reset max-height */
        aspect-ratio: 4 / 5; /* Restore aspect ratio for tablets */
        border-radius: 0; /* Reset individual border-radius */
        border-top-left-radius: 0.83rem; 
        border-top-right-radius: 0.83rem;
        border-bottom-left-radius: 0; /* If it was like this for column */
        border-bottom-right-radius: 0; /* If it was like this for column */
    }
}


@media (max-width: 768px) {
    .nav-menu { 
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; 
        left: 0;
        width: 100%;
        background-color: rgba(17, 18, 22, 0.95);
        padding: var(--spacing-md) 0;
        text-align: center;
    }
    .nav-menu.nav-menu-visible { display: flex; }
    .nav-links {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    .nav-toggle { display: block; }
    .info-section { grid-template-columns: 1fr; }
    .info-item {
        flex-direction: column; 
        align-items: center;
        text-align: center;
    }
    
    /* Уменьшение картинок в галереях на мобильных */
    .photo-gallery-section .photo-gallery-scroll .gallery-image,
    .banquet-gallery .gallery-image {
        height: 200px; /* Adjust height for mobile */
        max-width: 80vw; /* Max width relative to viewport */
        /* width: clamp(220px, 50vw, 300px); Old sizing */
        /* min-width: 200px; Old sizing */
    }

    .offers-grid { grid-template-columns: 1fr; }
    /* Special offers on mobile */
    .special-offers-section .offer-image-container {
        aspect-ratio: 1 / 1; /* Квадратные на мобильных */
        border-radius: 0; /* Reset individual border-radius */
        border-top-left-radius: 0.83rem; 
        border-top-right-radius: 0.83rem;
        border-bottom-left-radius: 0; 
        border-bottom-right-radius: 0;
    }
    .equipment-grid { grid-template-columns: 1fr; }
    .banquet-intro {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .banquet-title-custom { text-align: center; }
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contact-info-footer, .contact-details-footer { align-items: center; }
    .address-wrapper, .phone-wrapper-footer, .email-wrapper-footer { justify-content: center; }
}

@media (max-width: 480px) {
    :root { 
        --spacing-xs: 0.3rem;
        --spacing-sm: 0.6rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }
    .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }
     .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
    .hero-text-box { padding: var(--spacing-md); }
    .hero-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
    .hero-description { font-size: clamp(0.85rem, 3.5vw, 0.95rem); }
    .cta-button {
         padding: var(--spacing-xs) var(--spacing-sm);
         font-size: clamp(0.8rem, 3vw, 1rem);
    }
    .contact-info-inline {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    .lightbox-close-button { 
        font-size: 2rem;
        width: 35px;
        height: 35px;
        top: 5px;
        right: 5px;
    }
    .photo-gallery-section .photo-gallery-scroll .gallery-image,
    .banquet-gallery .gallery-image {
        height: 180px; /* Further adjust height for very small mobile */
        /* width: clamp(180px, 60vw, 250px); Old sizing */
        /* min-width: 160px; Old sizing */
    }
     .equipment-image { 
        width: clamp(180px, 60vw, 250px);
        min-width: 160px;
    }
}