.home {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 10vw;
}

/* Gradient overlay – silniejszy po lewej gdzie tekst, rozjaśnia się w prawo */
.home::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(0, 0, 0, 0.90) 0%,
        rgba(0, 0, 0, 0.70) 50%,
        rgba(0, 0, 0, 0.48) 100%
    );
}

/* Zdjęcie tła */
.home .background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.92);
    animation: hero-zoom 9s ease-out forwards;
}

@keyframes hero-zoom {
    from { transform: scale(1.07); }
    to   { transform: scale(1); }
}

/* Treść */
.home .content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-color);
    border: 1px solid rgba(186, 206, 40, 0.5);
    padding: 6px 14px 6px 10px;
    border-radius: 50px;
    margin-bottom: 28px;
}


/* Tytuł */
.hero-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
    line-height: 1.05;
}

.hero-title-line {
    font-size: clamp(2.6rem, 6.5vw, 5.2rem);
    font-weight: 700;
    color: #fff;
    display: block;
    white-space: nowrap;
}

.hero-title-line.accent {
    color: var(--blue-color);
    font-style: italic;
}

/* Subheadline */
.hero-sub {
    font-size: clamp(1.1rem, 2.2vw, 1.55rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 14px;
    line-height: 1.3;
}

.hero-sub span {
    color: var(--green-color);
}

/* Opis */
.hero-desc {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 40px;
}

/* Przyciski */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-scroll-indicator {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 11px;
    position: relative;
}

.hero-scroll-indicator::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 7px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 2px;
    animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
    0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* Ikony social media */
.home .media-icons {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.home .media-icons a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.home .media-icons a:hover {
    color: #fff;
    transform: scale(1.2);
}

/* Bąbelki */
.bubble-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -50px;
    border-radius: 50%;
    animation: rise 10s ease-in forwards;
}

@keyframes rise {
    0%   { transform: translateY(0);      opacity: 0.35; }
    100% { transform: translateY(-100vh); opacity: 0; }
}

/* ── Breakpointy ── */
@media (max-width: 1040px) {
    .home { padding: 0 40px; }
    .home .media-icons { right: 16px; }
}

@media (max-width: 660px) {
    .home { padding: 0 24px; }
    .hero-title-line { white-space: normal; }
    .hero-desc { margin-bottom: 28px; }
    .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
    .hero-actions .btn { text-align: center; justify-content: center; }
    .home .media-icons {
        flex-direction: row;
        top: auto;
        bottom: 110px;
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-height: 600px) {
    .hero-badge       { display: none; }
    .hero-title-line  { font-size: 2rem; }
    .hero-sub         { font-size: 1rem; }
    .hero-desc        { display: none; }
}
