:root {
    --main-yellow: #e6b04f;
}

* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Saira', sans-serif;
    background-color: #000;
    color: var(--main-yellow);
    line-height: 1.6;

}

/* Header */
header {
    position: sticky;
    top: 0;
    background: #111;
    color: var(--main-yellow);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Navigation */
nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--main-yellow);
    text-decoration: none;
    padding: 8px 12px;
}

nav a:hover {
    background-color: #333;
    border-radius: 4px;
}

/* Sections */
section {
    padding: 80px 20px;
    min-height: 100vh;
    background-color: #000;
}

h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--main-yellow);
}

/* Social Icons */
.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: var(--main-yellow);
    font-size: 1.8rem;
    transition: transform 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1100;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 4px;
    background-color: var(--main-yellow);
    display: block;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger active state (X icon) */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive menu */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #111;
        width: 100%;
        padding: 20px 0;
        z-index: 1000;
    }

    nav a {
        padding: 15px 20px;
        border-top: 1px solid #222;
    }

    nav.active {
        display: flex;
    }
}

section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.newsItem {
    margin-bottom: 2rem;
}

.kontakt-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    text-align: center;
}

.kontakt-content p {
    font-size: 1.1rem;
}

.mail-button {
    display: inline-block;
    background-color: var(--main-yellow);
    color: #000;
    text-decoration: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.mail-button:hover {
    background-color: #d69a2c;
    transform: scale(1.05);
    color: #000;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    font-size: 2.6rem;
}

.oferta-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.oferta-lista li {
    margin-bottom: 20px;
    color: var(--main-yellow);
}

.oferta-header {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.oferta-header:hover {
    color: var(--main-yellow);
    /* lub jaśniejszy */
}

.strzalka {
    color: var(--main-yellow);
    font-size: 28px;
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    user-select: none;
}

.oferta-opis {
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease;
    font-size: 0.9em;
    color: var(--main-yellow);
    margin-top: 10px;
    text-transform: none;
    line-height: 1.5;
    padding-left: 30px;
}

li.active .oferta-opis {
    max-height: 200px;
    /* dostosuj wysokość do treści */
    /* nie dodawaj tu transition! */
}

li.active .strzalka {
    transform: rotate(90deg);
    /* zmienia ▶ na ▼ */
}



.tlo-foto {
    background-image: url("./images/blurred.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tlo-foto2 {
    background-image: url("./images/kettlebell2.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tlo-foto .overlay {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    text-align: center;
    color: var(--main-yellow);
    font-size: 2rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.onas-section {
    background-color: #000;
    padding: 80px 20px;
    text-align: center;
}

.onas-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--main-yellow);
}

.onas-text {
    border: 2px solid var(--main-yellow);
    /* lub np. #FFD700 */
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.onas-ul {
    margin-left: 20px;
}

.team {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.member {
    max-width: 300px;
    text-align: center;
    background-color: #111;


    padding: 20px 15px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member img {
    width: 100%;

    box-shadow: none;
}

.member h3 {
    margin-top: 15px;
    font-size: 1.4rem;
    color: var(--main-yellow);
}

.member p {
    font-size: 1rem;

    margin-top: 10px;
}

.logo-section {
    text-align: center;

}

.footer-logo {
    max-width: 300px;
    /* lub inny rozmiar */
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

/* Kontener dla obu sekcji */
.kontakt-wrapper {
    display: flex;
    flex-direction: column;
    /* na telefonach jedna pod drugą */
    gap: 20px;
    /* odstęp między sekcjami */
}

/* Na większych ekranach - sekcje obok siebie */
@media (min-width: 768px) {
    .kontakt-wrapper {
        flex-direction: row;
        justify-content: space-evenly;
        /* rozłożenie sekcji */
        align-items: flex-start;
    }


}

.hkm {
    color: white;
}

.phone-link,
.address-link,
.founder-link {
    color: var(--main-yellow);
}

#aktualnosci {
    min-height: auto !important;
}