/* ============================================
   COMPONENT: HERO SECTION
============================================ */

/* Główny kontener sekcji */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), 
                url('https://images.unsplash.com/photo-1556911220-e15b29be8c8f?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat fixed;
    color: var(--white, #ffffff);
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    width: 100%; /* Zapewnia poprawne centrowanie */
}

/* Typografia w Hero */
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero h1 span {
    color: var(--brand-red, #b01c2e);
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* --- NOWA OBSŁUGA PRZYCISKÓW --- */

.hero-buttons {
    display: flex;
    justify-content: center; /* Centruje przyciski w poziomie */
    align-items: center;
    gap: 20px; /* Odstęp między przyciskami */
    flex-wrap: wrap; /* Pozwala spaść przyciskom niżej na małym ekranie */
}

/* Przyciski */
.btn {
    display: inline-flex; /* Ważne: nie rozciąga przycisku na całą szerokość */
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap; /* Zapobiega łamaniu tekstu w przycisku */
}

.btn-primary {
    background: var(--brand-red, #b01c2e);
    color: var(--white, #ffffff);
    box-shadow: 0 4px 15px rgba(176, 28, 46, 0.4);
}

.btn-primary:hover {
    background: var(--brand-red-dark, #8a1221);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(176, 28, 46, 0.5);
}

.btn-outline {
    border-color: var(--white, #ffffff);
    color: var(--white, #ffffff);
    /* Usunąłem margin-left, bo teraz załatwia to 'gap' w .hero-buttons */
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--white, #ffffff);
    color: var(--brand-dark, #343a40);
}

/* Responsywność dla Hero */
@media (max-width: 768px) {
    .hero-content {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column; /* Na telefonie jeden pod drugim */
        gap: 15px;
    }

    .btn {
        width: 100%; /* Na mobilu przyciski mogą być na całą szerokość dla wygody kciuka */
        max-width: 300px; /* Ale bez przesady */
    }
    
    .btn-outline {
        margin: 0; /* Reset starych marginesów */
    }
}