/* =====================================================
   MOTOGANG GLOBAL THEME - Kwadratowy motyw z plamami farby
   Kolory: Żółty #fef200, Różowy #db0e77, Czarny #1a1a1a
   ===================================================== */

/* === RESET WSZYSTKICH ZAOKRĄGLEŃ === */
*,
*::before,
*::after {
    border-radius: 0 !important;
}

/* === KOLORY MOTYWU === */
:root {
    --mg-yellow: #fef200;
    --mg-yellow-dark: #e5a600;
    --mg-pink: #db0e77;
    --mg-pink-light: #ff4081;
    --mg-black: #1a1a1a;
    --mg-dark: #2d2d2d;
    --mg-gray: #555;
}

/* === PRZYCISKI === */
.btn,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
button,
input[type="submit"],
input[type="button"] {
    border-radius: 0 !important;
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--mg-pink) !important;
    border-color: var(--mg-pink) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--mg-pink-light) !important;
    border-color: var(--mg-pink-light) !important;
}

/* === FORMULARZE === */
input,
textarea,
select,
.form-control,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
.select2-dropdown {
    border-radius: 0 !important;
}

/* === KARTY I BOXY === */
.card,
.modal-content,
.dropdown-menu,
.alert,
.badge,
.nav-tabs .nav-link,
.nav-pills .nav-link,
.pagination .page-link,
.breadcrumb,
.list-group-item,
.toast,
.popover,
.tooltip-inner {
    border-radius: 0 !important;
}

/* === OBRAZKI === */
.img-thumbnail,
.rounded,
.rounded-circle,
.rounded-pill {
    border-radius: 0 !important;
}

/* === NAGŁÓWKI - STYL TEKO === */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
}

/* === SEKCJE Z PLAMAMI FARBY === */
.section-with-splash {
    position: relative;
    overflow: hidden;
}

.section-with-splash::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 20%;
    width: 150px;
    height: 300px;
    background-image: url('/static/images/paint-splash-vertical-yellow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

.section-with-splash::after {
    content: '';
    position: absolute;
    right: -50px;
    bottom: 20%;
    width: 150px;
    height: 300px;
    background-image: url('/static/images/paint-splash-vertical-pink.svg');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

/* === STYL SEKCJI NEWS === */
.news {
    position: relative;
}

.news h3 {
    font-family: 'Teko', sans-serif;
    font-size: 2.2rem;
    text-transform: uppercase;
    color: var(--mg-black);
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.news h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--mg-pink);
}

.news h3 small {
    display: block;
    font-size: 0.5em;
    color: var(--mg-pink);
    text-transform: none;
    font-weight: 400;
}

/* === CONTENT BOX === */
section.content-box {
    position: relative;
}

section.content-box h1,
section.content-box h2 {
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    color: var(--mg-black);
}

section.content-box h2::after {
    background-color: var(--mg-pink) !important;
}

/* === SIMPLE HEADER === */
.simple-header h2 {
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
}

.simple-header h2.selected::after {
    background: var(--mg-pink) !important;
}

/* === TOP SLIDER === */
.top-slider {
    position: relative;
}

.top-slider .text-left img,
.top-slider .text-right img {
    /* Obrazki tekstowe zachowują swój styl */
}

/* === TRAINERS SECTION === */
.trainers {
    position: relative;
}

.trainers .trainer img {
    border-radius: 0 !important;
}

/* === VIDEO SLIDER === */
.video-slider a,
.video-slider img {
    border-radius: 0 !important;
}

/* === IMAGE MASK SEKCJE === */
section.image-mask img {
    border-radius: 0 !important;
}

/* === CAMP CARDS === */
.camp-card,
.offer-camp-card,
.offer-voucher-card {
    border-radius: 0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* === FOOTER === */
footer {
    position: relative;
}

footer .btn {
    border-radius: 0 !important;
}

/* === MODAL / POPUP === */
.modal-content {
    border-radius: 0 !important;
}

.modal-content .close-popup {
    border-radius: 0 !important;
}

.motogang-popup .modal-content {
    border-radius: 0 !important;
}

.motogang-popup .btn-popup-reserve {
    border-radius: 0 !important;
}

/* === NEWSLETTER BOX === */
.newsletter-box {
    border-radius: 0 !important;
}

.newsletter-box input,
.newsletter-box button {
    border-radius: 0 !important;
}

/* === SKLEP / SHOP === */
.shop-card,
.product-card,
.voucher-card {
    border-radius: 0 !important;
}

/* === GALERIA === */
.gallery-item,
.gallery-item img {
    border-radius: 0 !important;
}

/* === LIGHTBOX === */
.ekko-lightbox .modal-content {
    border-radius: 0 !important;
}

/* === PLAMY FARBY - DEKORACJE GLOBALNE === */
.paint-decoration-yellow {
    position: absolute;
    background-image: url('/static/images/paint-splash-yellow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
}

.paint-decoration-pink {
    position: absolute;
    background-image: url('/static/images/paint-splash-pink.svg');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
}

/* === SPECJALNE STYLE DLA OBRAZKÓW Z RAMKĄ === */
.framed-image {
    position: relative;
    display: inline-block;
}

.framed-image img {
    border: 8px solid var(--mg-black);
    box-shadow: 15px 15px 0 rgba(0,0,0,0.1);
}

.framed-image.tilted {
    transform: rotate(-3deg);
}

.framed-image.tilted-right {
    transform: rotate(3deg);
}

/* === AKCENTOWANE LINIE === */
.accent-line {
    width: 80px;
    height: 4px;
    background: var(--mg-pink);
}

.accent-line-yellow {
    background: var(--mg-yellow);
}

.accent-line-center {
    margin: 15px auto;
}

/* === KARTY Z ŻÓŁTYM AKCENTEM === */
.card-yellow-accent {
    border-left: 5px solid var(--mg-yellow) !important;
    transition: all 0.3s ease;
}

.card-yellow-accent:hover {
    border-left-color: var(--mg-pink) !important;
    transform: translateY(-5px);
}

/* === KARTY Z RÓŻOWYM AKCENTEM === */
.card-pink-accent {
    border-left: 5px solid var(--mg-pink) !important;
}

/* === CIEMNE NAGŁÓWKI KART === */
.card-dark-header {
    background: var(--mg-black) !important;
    color: #fff !important;
    position: relative;
}

.card-dark-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mg-yellow), var(--mg-pink));
}

/* === IKONY W ŻÓŁTYM BOXIE === */
.icon-box-yellow {
    background: var(--mg-black);
    color: var(--mg-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === CENY === */
.price-tag {
    font-family: 'Teko', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--mg-black);
}

.price-tag-pink {
    color: var(--mg-pink);
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.8em;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .section-with-splash::before,
    .section-with-splash::after {
        display: none;
    }
}

@media (max-width: 768px) {
    h1, .h1 { font-size: 2rem; }
    h2, .h2 { font-size: 1.75rem; }
    h3, .h3 { font-size: 1.5rem; }
    
    .news h3 {
        font-size: 1.8rem;
    }
}
