/**
 * Studio — TYLKO poprawki layoutu (hero/nav/CTA ::before).
 * Kolory, gradienty i overlaye: style.css (oryginał).
 */

:root {
    --nav-h: 72px;
}

.main-content--home {
    padding-top: 0;
    min-height: 0;
}

body:not(.homepage) .main-content {
    padding-top: var(--nav-h);
}

/* Header — kontener wyśrodkowany jak reszta strony */
.main-nav {
    width: 100%;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}

.main-nav--over-hero:not(.scrolled) {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.12) 75%, transparent 100%);
    border-bottom-color: transparent;
}

.main-nav.scrolled {
    background: rgba(10, 10, 10, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.nav-menu li a.active {
    color: var(--color-primary);
}

.nav-menu li a.active::after {
    width: 100%;
}

/* Hero — tło na pełny ekran (NIE w grid-cell), treść wyśrodkowana flexem */
.hero-section {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 100vh;
    min-height: 100dvh;
}

.hero-background,
.hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    grid-area: unset !important;
}

/* Overlay musi być nad zdjęciem — ten sam gradient co w style.css */
.hero-overlay {
    opacity: 1 !important;
    z-index: 1 !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: calc(var(--nav-h) + 1.5rem) 2rem 5rem;
    box-sizing: border-box;
}

.scroll-down {
    position: absolute !important;
    bottom: 2.5rem !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    z-index: 4 !important;
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
}

.scroll-down i {
    display: block;
    font-size: 2.5rem;
    color: var(--color-primary);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

/* CTA: tylko upewnij się, że ::before ze zdjęciem nie jest ukryte */
.cta-section::before {
    display: block !important;
    content: '' !important;
}

.cta-section .cta-content,
.about-section .about-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
}

.cookie-banner.show {
    display: block;
}
