@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

:root {
    --color-primary: #21daff;
    --color-secondary: #ff5c1a;
    --color-light: #fafafa;
    --color-bg-section: #f0f8ff;
    --color-text: #333333;
    --color-white: #ffffff;
    --color-dark: #000000;
    --color-accent: #ff9800;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
    position: relative;
}

body {
    background: var(--color-light);
    color: var(--color-text);
    line-height: 1.6;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

section {
    height: calc(100dvh - 8rem);
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    scroll-snap-align: end;
    align-items: center;
}

section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

section:nth-of-type(even) {
    background-color: var(--color-light);
}

section:nth-of-type(odd) {
    background-color: var(--color-bg-section);
}

.hero {
    background-image: url(../images/hero.png);
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--color-white);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h1,
.hero p {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    width: 40%;
}

section h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.button {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.button:hover {
    background-color: #e04e10;
}

p {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    html,
    body {
        scroll-snap-type: none;
    }
    .hero-content {
        width: 80%;
    }

    section {
        padding: 1rem;
        height: auto;
        min-height: 100dvh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
}
