:root {
    --sky: #4bc1e5;
    --grass: #b5d333;
    --orange: #eb5e28;
    --dark: #1a3d31;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow: hidden;
}

/* Hide Scrollbar for Chrome, Safari and Opera */
*::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--white);
    color: var(--dark);
}

.snap-container {
    height: 100vh;
    width: 100vw;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

section {
    height: 100vh;
    width: 100vw;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px;
    overflow: hidden;
}

.container {
    max-width: 1300px;
    width: 100%;
    position: relative;
    z-index: 10;
}

h1,
h2 {
    font-size: clamp(3rem, 12vw, 10rem);
    font-weight: 900;
    line-height: 0.85;
    transform: translateX(-100px);
    opacity: 0;
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
}

.active h1,
.active h2 {
    transform: translateX(0);
    opacity: 1;
}

.sub {
    font-size: clamp(1rem, 3vw, 1.5rem);
    letter-spacing: 15px;
    text-transform: uppercase;
    margin-top: 30px;
    opacity: 0;
    transition: 1s 0.2s;
}

.active .sub {
    opacity: 0.6;
}

.char {
    position: absolute;
    pointer-events: none;
    z-index: 5;
    transition: 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.char-hero {
    right: -500px;
    bottom: 0;
    height: 110%;
    z-index: 5;
}

.active .char-hero {
    right: -5%;
}

/* Signage : Vigneron Bio */
.sign-bio {
    position: absolute;
    right: 2%;
    bottom: 20%;
    height: clamp(150px, 20vw, 250px);
    z-index: 10;
    transform: rotate(10deg);
    opacity: 0;
    transition: 1s 0.5s;
}

.active .sign-bio {
    opacity: 1;
    transform: rotate(5deg);
}

.leaf {
    position: absolute;
    height: 150px;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.l1 {
    top: 10%;
    right: 10%;
    animation: bob 6s infinite ease-in-out;
}

.l2 {
    bottom: 10%;
    left: 5%;
    transform: rotate(45deg);
    animation: bob 5s infinite 1s ease-in-out;
}

@keyframes bob {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

.sec-1 {
    background-color: var(--sky);
    color: white;
}

.sec-2 {
    background-color: var(--grass);
    color: var(--dark);
}

.sec-3 {
    background-color: var(--dark);
    color: white;
}

.img-reveal {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    width: 40%;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: 1.2s 0.3s;
}

.active .img-reveal {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.contact-ui {
    text-align: center;
    width: 100%;
}

.btn-main {
    background: var(--orange);
    color: white;
    padding: clamp(20px, 4vw, 40px) clamp(40px, 8vw, 80px);
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 900;
    text-decoration: none;
    border-radius: 200px;
    display: inline-block;
    box-shadow: 0 30px 60px rgba(235, 94, 40, 0.3);
    transition: 0.3s;
}

.btn-main:hover {
    transform: scale(1.05) rotate(-2deg);
    background: white;
    color: var(--orange);
}

.indicators {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.5;
}

.dot.active {
    background: white;
    transform: scale(1.5);
    opacity: 1;
}

a.contact-link {
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
}

a.contact-link:hover {
    opacity: 1 !important;
    filter: brightness(1.2);
    text-decoration: underline;
}

footer p {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.25);
    z-index: 100;
    letter-spacing: 1px;
    text-transform: uppercase;
}

footer a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: white;
}

@media (max-width: 900px) {
    section {
        padding: 40px 20px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    h1,
    h2 {
        transform: none !important;
        opacity: 1 !important;
        text-align: center;
        font-size: 3.5rem;
        margin-top: 20px;
    }

    .sub {
        letter-spacing: 5px;
        opacity: 0.8 !important;
    }

    .char-hero {
        height: 60%;
        right: -20% !important;
        bottom: -5%;
        opacity: 0.3;
    }

    .sign-bio {
        height: 100px;
        bottom: 5%;
        right: 5%;
        opacity: 0.6 !important;
    }

    .img-reveal {
        position: relative;
        width: 90%;
        right: auto;
        top: auto;
        transform: none !important;
        opacity: 1 !important;
        margin-top: 40px;
        border-width: 10px;
    }

    .indicators {
        display: none;
    }

    .btn-main {
        width: 100%;
        padding: 20px;
    }
}
