@font-face {
    font-family: 'Gilroy';
    src: url('./assets/fonts/Gilroy-Medium.woff2') format('woff2'),
         url('./assets/fonts/Gilroy-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./assets/fonts/Gilroy-Bold.woff2') format('woff2'),
         url('./assets/fonts/Gilroy-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./assets/fonts/Gilroy-Light.woff2') format('woff2'),
         url('./assets/fonts/Gilroy-Light.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./assets/fonts/Gilroy-Extrabold.woff2') format('woff2'),
         url('./assets/fonts/Gilroy-Extrabold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px; 
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Gilroy', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 125px; /* Відступ, щоб сайт не ховався під шапку */
    background-color: #000000;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================== ШАПКА ================== */
.site-header, header.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999999 !important; 
    background-color: #fff;
}

.top-bar-gold {
    height: 10px;
    background-color: #EEA400;
}

.top-bar-black {
    height: 57px;
    background-color: #000000;
}

.nav-bar-white {
    background-color: #ffffff;
    height: 46px;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.nav-bar-white .container {
    padding: 0;
    width: 100%;
}

.bottom-bar-black {
    height: 12px;
    background-color: #000000;
    width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 110px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}

.nav-left, .nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-left {
    justify-content: flex-start;
    padding: 0;
}

.header-menu {
    display: flex;
    gap: 60px;
    margin: 0;
    padding: 0 55px;
}

.header-menu li a {
    font-size: 20px;
    color: #000;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-menu li a:hover {
    color: #EEA400;
}

.nav-right {
    justify-content: flex-end;
    padding: 0 142px;
    gap: 30px;
}

.contact-link {
    font-size: 20px;
    color: #000;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #EEA400;
}

.separator {
    width: 6px;
    height: 28px;
    background-color: #EEA400;
}

.phone-number {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.logo-container {
    position: absolute;
    left: 50%;
    top: -29px;
    transform: translateX(-50%);
    z-index: 10;
}

.site-logo {
    width: 164px;
    height: auto;
    display: block;
}


.black-bg {
    background-color: #000000;
    position: relative;
    margin-top: -65px;
    min-height: 100vh;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 955px;
    background-size: 100% auto; 
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #000000;
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2; 
    padding-top: 160px; 
    padding-bottom: 100px;
}

.hero-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 365px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, #000000 100%);
}

.hero-content-top {
    text-align: center;
    margin-bottom: 368px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
    color: #000000;
    margin: 0 0 14px 0;
}

.btn {
    display: inline-block;
    padding: 10px 26px;
    border-radius: 43px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #EEA400;
    color: #000000;
    border: none;
}

.btn-primary:hover {
    background-color: #c79227;
}

/* ================== ПРАВИЛА ================== */
.hero-rules {
    max-width: 100%;
    color: #ffffff;
}

.rules-main-title {
    color: #F28900;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 30px 0;
}

.rules-editor-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #ffffff;
    line-height: 36px;
}

.rules-editor-content ul {
    list-style-type: disc;
    margin: 0 0 35px 0;
    padding-left: 22px;
}

.rules-editor-content li {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 8px;
    color: #fff;
}

.rules-footer-warning {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rules-footer-warning p {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

.rules-more-content {
    display: none; 
}

.rules-more-content.expanded {
    display: block; 
    animation: fadeIn 0.4s ease;
}

.rules-read-more {
    display: inline-block;
    color: #2d9cdb; 
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline; 
    margin-top: 5px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.rules-read-more:hover {
    color: #EEA400; 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================== ВАРТІСТЬ ================== */
.pricing-section {
    position: relative;
    margin-top: 90px;
    padding: 60px 0;
    max-width: 100%;
    z-index: 1; 
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: #ffffff;
    z-index: -1;
}

.pricing-main-title {
    color: #EEA400;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 40px 0;
}

.pricing-editor-content p {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    color: #000000; 
    margin-bottom: 25px;
}

.pricing-editor-content strong,
.pricing-editor-content b {
    background-color: #D9D9D9; 
    color: #000000;
    padding: 10px 4px;
    border-radius: 37px;
    margin-right: 15px;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    min-width: 130px; 
    text-align: center;
}


.calendar-section {
    margin-top: 90px;
    max-width: 100%;
}

.calendar-main-title {
    color: #EEA400;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 40px 0;
}

.calendar-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 30px;
}

.calendar-item {
    background-color: #3b3b3b;
    border-radius: 81px;
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
}

.calendar-reg-date {
    background-color: #d9d9d9;
    color: #000000;
    padding: 12px 30px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}

.calendar-title {
    flex: 1; 
    padding: 0 40px;
}

.calendar-title h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.calendar-row-btn {
    background-color: #EEA400;
    color: #000000;
    padding: 12px 45px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    display: inline-block;
}

.calendar-row-btn:hover {
    background-color: #c79227; 
    transform: scale(1.02); 
}

.about-section {
    position: relative;
    margin-top: 90px;
    padding: 60px 0;
    width: 100%;
    z-index: 1; 
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: #ffffff;
    z-index: -1;
}

.about-main-title {
    color: #EEA400;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 40px 0;
}

.about-content-wrapper {
    display: block;
}

.about-content-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

.about-image {
    float: right; 
    width: 45%; 
    margin-left: 40px; 
    margin-bottom: 20px; 
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-editor-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #000000; 
}

.about-editor-content ul {
    list-style-type: disc;
    margin: 0 0 25px 0;
    padding-left: 20px;
}

.about-editor-content li {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 5px;
}

/* ================== КОНТАКТИ ================== */
.contacts-section {
    margin-top: 100px;
    width: 100%;
    clear: both; 
}

.contacts-main-title {
    color: #EEA400;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 40px 0;
}

.contacts-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 60px;
    width: 100%;
}

.contacts-info {
    flex: 0 0 45%; 
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-label {
    font-size: 18px;
    font-weight: 300;
    color: #ffff;
}

.contact-value {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.contact-value:hover {
    color: #EEA400;
}

.contacts-map {
    flex: 1; 
    min-height: 350px;
    border-radius: 8px;
    overflow: hidden;
}

#bass-map-contacts {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.leaflet-popup-content {
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
}

/* ================== ПІДВАЛ ================== */
.site-footer {
    background-color: #000000;
    padding-top: 0;
    padding-bottom: 40px;
    width: 100%;
}

.footer-bar-gold {
    height: 8px;
    background-color: #EEA400;
    width: 100%;
    margin-bottom: 40px; 
}

.footer-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    position: relative; 
    padding: 0 1px; 
    width: 100%;
    min-height: 50px; 
    padding-left: 80px;
}

.social-links {
    display: flex;
    gap: 10px; 
}

.footer-copyright {
    position: absolute; 
    right: 74px; 
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin: 0; 
    white-space: nowrap;
}

.mobile-item,
.mobile-overlay-menu {
    display: none;
}



@media (max-width: 1400px) {
    .container {
        padding: 0 30px !important; 
    }
    
    .header-menu {
        gap: 37px !important;       
        padding: 0 20px !important; 
    }
    
    .nav-right {
        padding: 0 20px !important; 
        gap: 20px !important;       
    }
    
    .header-menu li a,
    .contact-link,
    .phone-number {
        font-size: 20px !important; 
    }
    
    .site-logo {
        width: 125px !important;    
        top: -15px !important;      
    }

    .hero-content-wrapper {
        padding-top: 160px !important; 
    }
}



@media (max-width: 1105px) {
    html {
        scroll-padding-top: 90px !important;
    }
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }
    body {
        padding-top: 80px !important; 
    }
    *, *::before, *::after {
        box-sizing: border-box;
    }
    .container {
        padding: 0 20px !important;
    }

    .desktop-item {
        display: none !important;
    }
    .mobile-item {
        display: flex;
        align-items: center;
    }
    .nav-bar-white {
        padding: 0 0px;
    }
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 15px 20px;
    }
    .mobile-phone a {
        color: #000000;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }
    .mobile-menu-btn {
        background: none;
        border: none;
        color: #000000;
        font-size: 14px;
        font-weight: 800;
        cursor: pointer;
        gap: 8px;
        padding: 0;
    }
    .logo-container {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: -45px;
        z-index: 100;
    }
    .site-logo {
        width: 130px;
        height: auto;
    }

    .mobile-overlay-menu {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        position: absolute !important;
        top: 98% !important;
        right: 15px !important;
        margin-top: 15px !important;
        width: 165px !important;
        box-sizing: border-box !important;
        background: rgba(255, 255, 255, 0.4) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-radius: 24px 0px 24px 24px !important;
        padding: 24px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        z-index: 999 !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    .mobile-overlay-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    .mobile-overlay-menu a {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background-color: #ffffff !important;
        color: #000000 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        text-align: center !important;
        text-decoration: none !important;
        padding: 10px 20px !important;
        border-radius: 50px !important;
        margin: 0 !important;
    }

    .hero-bg-wrapper {
        position: absolute !important; 
        top: 100px !important;
        left: 0 !important;
        width: 120% !important;
        height: 55vh !important;
        min-height: 420px !important;
        max-height: 500px !important;
        background-image: url('assets/images/Firefly-m.webp') !important;
        background-size: cover !important;
        background-position: center center !important;
        z-index: 0 !important;
    }

    .hero-gradient-overlay {
        display: block !important;
        position: absolute !important;
        bottom: -25px !important; 
        left: 0 !important;
        width: 100% !important;
        height: 250px !important; 
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, #000000 100%);
        z-index: 1 !important;
        pointer-events: none !important;
    }

    .hero-content-wrapper {
        position: relative !important; 
        display: block !important; 
        padding-top: 100px !important;
        height: auto !important;
        z-index: 2 !important; 
    }

    .hero-content-top {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        height:40vh !important; 
        padding-top: 50px !important; 
        margin-bottom: 0 !important;
    }

    .hero-title {
        font-size: 22px !important;
        line-height: 1.1 !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }
    .hero-subtitle {
        font-size: 18px !important;
        margin-bottom: 15px !important;
        text-align: center !important;
    }
    .hero-content-top .btn.btn-primary {
        padding: 10px 8px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        border-radius: 50px !important;
        min-width: 120px !important;
        line-height: 1.2 !important;
        display: inline-block !important;
    }
    .rules-main-title {
        font-size: 30px !important;
    }

    .pricing-section {
        margin-top: 20px !important;
        padding: 40px 0 !important;
    }

    .pricing-editor-content p {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important; 
        gap: 8px !important;
        margin-bottom: 20px !important;
    }

    .pricing-editor-content strong,
    .pricing-editor-content b {
        margin-right: 0 !important;
        padding: 8px 12px !important;
        font-size: 14px !important;
        flex-shrink: 0 !important; 
        min-width: 100px !important; 
        text-align: center !important;
    }
    .pricing-main-title {
        font-size: 30px !important;
    }

    .calendar-section {
        width: 100% !important;
        padding: 0 !important;
        margin-top: 50px !important;
    }
    .calendar-list {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 15px !important;
        gap: 20px !important;
    }
    .calendar-item {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        background-color: #3b3b3b !important;
        border-radius: 30px !important;
        padding: 44px 24px !important;
        align-items: center !important;
        margin: 0 !important;
    }
    .calendar-reg-date {
        display: block !important;
        width: 100% !important;
        background-color: #d9d9d9 !important;
        color: #000000 !important;
        padding: 10px 10px !important;
        border-radius: 50px !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        text-align: center !important;
        margin-bottom: 20px !important;
        white-space: normal !important;
    }
    .calendar-title {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }
    .calendar-main-title {
        font-size: 30px !important;
    }
    .calendar-title h3 {
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;
    }
    .calendar-row-btn {
        display: block !important;
        width: 75% !important;
        max-width: 260px !important;
        background-color: #EEA400 !important;
        color: #000000 !important;
        padding: 10px 8px !important;
        border-radius: 50px !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
    .about-image {
        float: none !important; 
        width: 100% !important; 
        margin: 20px 0 !important; 
        border-radius: 12px !important;
    }
    .about-image img {
        width: 100% !important;
        height: auto !important;
    }
    .about-main-title {
        font-size: 30px !important;
    }

    .about-editor-content {
        text-align: left !important; 
    }
    .contacts-section {
        margin-top: 60px !important;
    }
    .contacts-container {
        display: flex !important;
        flex-direction: column !important; 
        gap: 30px !important; 
        width: 100% !important;
    }

    .contacts-info {
        flex: 1 1 100% !important; 
        gap: 20px !important; 
    }
    .contacts-main-title {
        font-size: 30px !important;
    }

    .leaflet-container {
        width: 100% !important;
        height: 100% !important;
    }

    #bass-map-contacts {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: 250px !important;
    }

    .contact-block {
        gap: 5px !important; 
    }

    .footer-container {
        flex-direction: column !important;
        gap: 25px !important;
        padding: 30px 15px !important;
    }
    .social-links {
        justify-content: center !important;
        width: 100% !important;
    }
    .footer-copyright {
        position: static !important;
        text-align: center !important;
        margin: 0 !important;
        width: 100% !important;
        white-space: normal !important;
        font-size: 14px !important;
        font-weight: 600 !important;
    }
}