* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light); 
    margin: 0;
    overflow: hidden; 
    -webkit-font-smoothing: antialiased;
}

.snap-container {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    -webkit-overflow-scrolling: touch; 
}

.snap-container::-webkit-scrollbar { 
    display: none; 
}

.snap-section {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: transparent; 
}

.snap-section:not(.hero-section) {
    background: url('../assets/images/elektroinstalace-ceske-budejovice-pozadi.webp') center/cover no-repeat fixed;
}

.section-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 5;
}

.text-center {
    text-align: center;
}

/* OPRAVA: Původně zde bylo background-attachment: scroll; 
   Nyní vynutíme fixed pozadí (nehybné) i pro mobilní zařízení. */
@media (max-width: 1024px) {
    .snap-section:not(.hero-section) { 
        background-attachment: fixed !important; 
        background-size: cover !important;
        background-position: center center !important;
    }
}