/* =========================================
GLOBAL: Variables, Reset, Base
========================================= */
:root {
    --primary-color: #000;
    --secondary-color: #151617;
    --dark-color: #2C2C2C;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --accent-gold: #BA9A72;
    --gradient: linear-gradient(to left, #D3BE9C, #967D5E);
    --gradient-gold: linear-gradient(135deg, #BA9A72 10%, #d3be9c 48%, #d3be9c 69%, #9c8263 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.partnership {
    line-height: 1.6;
    color: var(--secondary-color);
}

/* Utilities */
.bg-cover {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bg-contain {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.text-gold,
.font-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.partnership a {
    color: var(--accent-gold);
}

.partnership a:hover {
    color: --secondary-color;
}

/* =========================================
   Buttons
   ========================================= */
.btn-gold {
    position: relative;
    display: inline-block;
    height: 55px;
    font-family: "Montserrat";
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 35px;
    white-space: nowrap;
    margin: 6px;
    cursor: pointer;
    padding: 10px 35px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: var(--gradient-gold);
}

.btn-gold::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(211, 190, 156, 0.4), rgba(211, 190, 156, 0));
    transform: skewX(-65deg);
}

.btn-gold:hover::after {
    animation: shine 0.9s forwards;
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

.border-gold {
    display: inline-block;
    border-radius: 25px;
    background: var(--gradient-gold);
    box-shadow: inset 0 0 0 3px #fff;
}

/* =========================================
   Logos & Simple blocks
   ========================================= */
.d-worldwide {
    background-image: url(../images/sponsor/Drutex-worldwide.svg);
    height: 150px;
    background-repeat: no-repeat;
    background-size: contain;
}

.section-title-big {
    font-size: calc(1rem + 2.9vw);
    font-weight: 800;
    line-height: 1.1;
    color: #000;
}

.logo-placeholder {
    min-height: 100px;
    width: 100%;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-fbc {
    background-image: url(../images/sponsor/logo-fbc.svg);
    height: 100px;
    width: 100px;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}


.logo-placeholder + .logo-drutex {
    justify-content: start;
}

.logo-drutex {
    background-image: url(../images/sponsor/logo-drutex.svg);
    height: 50px;
    width: 200px;
    background-repeat: no-repeat;
}

.logo-drutex.logo-combined {
    /*background-image: url(../images/sponsor/drutex-official-partner-bayern.png);*/
    height: 120px;
    width: 425px;
    background-repeat: no-repeat;
    background-size: contain;
}

.logo-drutex.logo-combined.pl {
    background-image: url(../images/sponsor/drutex-fc-bayern-logo-pl.png);
}

.logo-drutex.logo-combined.de {
    background-image: url(../images/sponsor/drutex-fc-bayern-logo-de.png);
}

.logo-drutex.logo-combined.en {
    background-image: url(../images/sponsor/drutex-fc-bayern-logo-en.png);
}

/* =========================================
   Hero
   ========================================= */
.hero-section {
    min-height: 750px;
    position: relative;
    overflow: hidden;
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #fff;
    background-image: url(../images/sponsor/fbc-bg.png);
}

.hero-content {
    height: 750px;
    overflow: visible;
}

.hero-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-images {
    position: relative;
    height: 450px;
}

.hero-image-1 {
    position: absolute;
    z-index: 1;
    width: 90%;
    height: 700px;
    top: 0;
    left: 0;
    background-image: url(../images/sponsor/fbc-drutex2.png);
    transform: translate(-10%, -20%);
}


/* Typografia Hero */
.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.module-header-secondary,
.hero-description {
    text-align: left;
}

.spirit,
.product-footer {
    font-size: 1.2rem;
    letter-spacing: 5px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 150%
}

.product-footer {
    font-size: 0.9rem;
}

.hero-description {
    font-size: 1.5rem;
}

.product-content ~ h4 {
    font-weight: 600;
}

/* =========================================
   Video
   ========================================= */
.video-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 49%, #f5f5f5 49%, #f1f1f1 50%, #f6f6f6 100%);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 1rem;
}

.movie-container {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 20px solid #fff;
}

.video-placeholder {
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    background: url(../images/sponsor/stadion-bg.png) center center no-repeat;
    background-size: cover;
}

.video-placeholder video {
    border-radius: 10px;
    overflow: hidden;
}

.play-button {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    border: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-placeholder:hover > .play-button {
    transform: translate(-50%, -50%) scale(1.06);
    opacity: 0.95;
}

/* =========================================
   Partnership
   ========================================= */
.partnership-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f6f6f6 0%, #f1f1f1 50%, #f6f6f6 100%);
}

.partnership-images {
    position: relative;
}

.background-image {
    width: 100%;
    bottom: 0;
    left: 0;
    background-size: contain;
    background-repeat: no-repeat;
    height: 300px;
    background-position: center bottom;
}

.partnership-image1,
.partnership-image2 {
    border-radius: 15px;
    width: 100%;
    height: 470px;
    top: 0;
    left: 0;
}

.partnership-image1 {
    background-image: url(../images/sponsor/foto-leszek-gierszewski.png);
}

.partnership-image2 {
    background-image: url(../images/sponsor/foto-prezes-fbc-barcelona.png);
}

.plus-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   Dark Section
   ========================================= */
.hero-dark-section {
    position: relative;
    overflow: visible;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #101113;
}

.fbc-shirt {
    width: 100%;
    height: 300px;
}

.hero-dark-section::after {
    position: absolute;
    content: "";
    top: 50px;
    left: calc(25vw - 50px);
    background: url(../images/sponsor/fcb-shirt.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 450px;
    height: 90vh;
}

/* Nagrody */
.nagroda-1 {
    background: url(../images/sponsor/box-koszulka.png);
    width: 100%;
    height: 70px;
    background-repeat: no-repeat;
    background-size: contain;
}

.nagroda-2 {
    background: url(../images/sponsor/box-rabat.png);
    width: 100%;
    height: 70px;
    background-repeat: no-repeat;
    background-size: contain;
}

/* =========================================
   Gallery Slider
   ========================================= */
.gallery-slider-section {
    padding: 5rem 0;
}

.gallery-slider-section .bg-line {
    background-image: url(../images/sponsor/line.png);
    background-position: right bottom;
}

.gallery-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    width: calc(100% * 4 / 3.7);
    margin: 0 -15px;
}

.slide {
    flex: 0 0 calc(100% / 2.7);
    margin: 0 15px;
}

.slider-indicators {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.indicator {
    flex: 1;
    height: 3px;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 2px;
}

.indicator.active,
.indicator:hover {
    background: #967D5E;
}

.slide-content {
    text-align: center;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

/* Galeria – tła */
.slide-gallery-1 {
    background-image: url(../images/sponsor/gallery-1.jpg);
}

.slide-gallery-2 {
    background-image: url(../images/sponsor/gallery-2.jpg);
}

.slide-gallery-3 {
    background-image: url(../images/sponsor/gallery-3.jpg);
}

.slide-gallery {
    width: 100%;
    height: 500px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Strzałki */
.slider-arrows {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.slider-controls {
    position: absolute;
    bottom: 0.5rem;
    width: 170px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    right: 3rem;
}

.circle-btn,
.news-btn {
    background: #fff;
    border: 1px solid #C2C2C2;
    color: #C2C2C2;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    padding: 15px;
    background-image: var(--primary-color);
    transition: all 0.3s ease;
}


.arrow-left {
    background: url(../images/sponsor/arrow-next.svg);
}

.arrow-right {
    background: url(../images/sponsor/arrow-prev.svg);
}

.arrow-right,
.arrow-left {
    opacity: 0.5;
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-size: contain;
}

.circle-btn:active,
.circle-btn:hover {
    border: 1px solid #000;
}

.circle-btn:active > .arrow-right,
.circle-btn:hover > .arrow-right,
.circle-btn:active > .arrow-left,
.circle-btn:hover > .arrow-left {
    opacity: 1;
}

/* =========================================
   Europe
   ========================================= */
.europe-section {
    padding: 5rem 0;
}

.europe-logo {
    display: flex;
    justify-content: center;
}

.europe-title {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 2.5rem;
}

.europe-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #666;
}

/* =========================================
   Products
   ========================================= */
.products-section {
    padding: 5rem 0;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 250px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-content {
    min-height: 250px;
}

.product-label {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* =========================================
   News
   ========================================= */
.news-section {
    overflow: hidden;
    background: var(--light-gray);
}

.news-card {
    position: relative;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-card .article-img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 121%;
    transition: background-size 0.5s linear;
}

.news-card .article-img:hover {
    background-size: 110%;
}

.news-card .article-img img {
    width: 100%;
    max-height: 380px;
}


.news-content {
    border-radius: 15px 15px 0 0;
    gap: 20px;
    z-index: 2;
    margin-top: -80px;
    background-color: var(--primary-color);
}

.news-text {
    padding-right: 2rem;
}

.news-grid-container {
    position: relative;
    overflow: visible;
}

.news-grid-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100vw;
    bottom: 0;
    width: 100vw;
    background: var(--light-gray);
    z-index: -1;
}

.news-grid {
    gap: 2rem;
    overflow: visible;
}

.news-image {
    height: 300px;
    border-radius: 15px 15px 0 0;
}

.news-btn {
    background: #000;
    border: 1px solid #967D5E;
    color: #fff;
    transistion: all 03s ease;
}

.news-btn:hover {
    background-image: var(--gradient-gold);
}

.news-arrow {
    background: url(../images/sponsor/news-arrow.svg);
    width: 20px;
    height: 15px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* =========================================
   Animations & Effects
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* =========================================
   POPUP V4
   ========================================= */
.modal .popup-v4 .modal-body {
    background: url(../images/sponsor/fbc-bg.png) center/cover no-repeat;
    padding: 48px 24px;
    margin-top: 0;

}

.popup-v4 .v4-title {
    color: #0e0e0e;
    font-weight: 800;
    /* bez clamp() */
    font-size: 44px;
    margin: 0 0 28px;
}

.popup-v4 .v4-card {
    max-width: 780px;
    margin: 0 auto;
    background: #fff;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
}

.popup-v4 .hide-in-v4 {
    display: none !important;
}

.popup-v4 .v4-field {
    position: relative;
}

.popup-v4 .v4-input.form-control {
    height: 56px;
    border-radius: 9999px;
    border: 1px solid var(--accent-gold);
    padding: 14px 140px 14px 22px;
    font-size: 16px;
    line-height: 1;
    box-shadow: none;
}

.popup-v4 .v4-input::placeholder {
    color: #222;
    opacity: .9;
}

.popup-v4 .v4-suffix {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 11px;
    letter-spacing: .12em;
    color: #7d6856;
    text-transform: uppercase;
    background: #fff;
    padding: 6px 8px;
    border-radius: 9999px;
}

/* Zgody */
.popup-v4 .v4-check {
    margin: 6px 0 10px;
}

.popup-v4 .v4-check .form-check-input {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.popup-v4 .v4-check .form-check-label {
    color: #646464;
    font-size: 12px;
}

.popup-v4 .v4-check .form-check-label a {
    color: var(--accent-gold) !important;
    text-decoration: none;
}

.popup-v4 .v4-check .form-check-label a:hover {
    text-decoration: underline;
}

/* Captcha */
.popup-v4 .v4-captcha {
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px dashed #e6e0d8;
}

.popup-v4 .v4-captcha-label {
    display: block;
    margin-top: 8px;
}

.popup-v4 .captcha {
    max-height: 36px;
    margin-right: 10px;
}

.popup-v4 #id_captcha_1 {
    height: 40px;
    border-radius: 9999px;
    border: 1px solid var(--accent-gold);
    padding: 0 16px;
    margin-top: 8px;
    width: 100%;
}

/* Submit button (bez .btn-st) */
.popup-v4 .v4-btn {
    width: 100%;
    height: 56px;
    border-radius: 9999px;
    background: #0d0d0d;
    color: #fff;
    border: none;
    font-weight: 700;
    letter-spacing: .06em;
    position: relative;
    cursor: pointer;
    font-size: 1rem;
}

.popup-v4 .v4-btn::after {
    content: "→";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-image: var(--gradient-gold);
    color: #0d0d0d;
    display: grid;
    place-items: center;
    font-size: 16px;
    transition: all 0.5s ease-in-out;
}

.popup-v4 .v4-btn:hover {
    transform: translateY(-6px);
    transition: all 0.5s ease-in-out;
}

/* Close button */
.popup-v4 .modal-close-v4 {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    line-height: 1;
    z-index: 1;
    transition: all 0.3s ease;
}

.popup-v4 .modal-close-v4::before {
    content: "";
    background-image: url(../images/sponsor/x.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 50px;
    height: 50px;
    z-index: 2;
}

.popup-v4 .modal-close-v4:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

/* =========================================
   Responsive
   ========================================= */

/* >=1440px */
@media (min-width: 1440px) {
    .popup-v4 .v4-card {
        padding: 40px 48px;
    }
}

/* >=992px */
@media (min-width: 992px) {
    .popup-v4 .v4-card {
        padding: 40px 48px;
    }

    .hero-description {
        width: 60%;
    }
}

/* <=768px */
@media (max-width: 768px) {
    .hero-section {
        min-height: 825px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-images {
        height: 400px;
        margin-bottom: 2rem;
    }

    .hero-image-1 {
        width: 200px;
        height: 250px;
    }

    .slider-track {
        width: 300%;
    }

    .slide {
        flex: 0 0 33.333%;
        margin: 0;
    }

    .news-grid {
        flex-direction: column;
    }

    .news-card {
        flex: 1 1 auto;
    }

    .dark-section-content {
        background-color: rgba(0, 0, 0, 0.7);
        padding: 2rem;
    }

    .slider-controls {
        position: relative;
        transform: translateX(calc(50% - 150px));
        left: 50%;
        right: 0;
    }
}

/* <=576px */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .hero-icon i {
        font-size: 100px;
    }

    .europe-title {
        font-size: 2rem;
    }

    .partnership-image1,
    .partnership-image2 {
        height: 350px;
    }

    .hero-dark-section::after {
        width: 250px;
        height: 300px;
        left: calc(35vw - 50px);
    }

    .dark-section-content {
        margin-top: 30px;
    }

    .d-worldwide {
        height: 70px;
    }

    .btn-gold {
        padding: 10px 25px;
    }

    .europe-section {
        padding: 0;
    }

    .section-title-big {
        font-size: 3rem;
    }

    .hero-image-1 {
        width: 100%;
        height: 550px;
        transform: translate(-10px, -40px);
    }

    .module-header-secondary,
    .hero-description {
        text-align: center;
    }

    .logo-fbc {
        height: 90px;
        width: 90px;
    }
}


.slide-gallery {
    position: relative;
}

.slide-gallery .gallery-item {
    position: absolute;
    inset: 0;
    display: block;
    text-indent: -9999px;
}

.slide-gallery .gallery-item img {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 768px) {
    .slider-controls.slider-news {
        left: -30px;
        padding: 0 30px;
        margin-top: 50px;
        position: relative;
    }
}

.slider-indicators {
    padding: 40px;
}

.slider-indicators > li {
    display: inline-flex;
    flex: 1;
}

.slider-indicators > li > button {
    display: inline-flex;
    width: 100%;
    border: none;
}

.slider-indicators > li > button.is-active {
    background-color: #967D5E;
}

.splide__slide {
    height: unset !important;
}

@media (max-width: 768px) {
    .slider-controls {
        transform: translateX(calc(50% - 170px));
    }
}

@media (min-width: 992px) {
    .bb-arrows {
        margin: -90px;
    }
}

@media (min-width: 992px) {
    .hero-description {
        width: 85%;
    }
}