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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #fff5f7;
    color: #3b2529;
    line-height: 1.6;
}


header {
    width: 100%;
    padding: 18px 6%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #fb6853;
    color: white;

    position: sticky;
    top: 0;

    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

nav a:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}


.hero {
    position: relative;

    min-height: 80vh;

    padding: 60px 20px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    background:
        radial-gradient(
            circle at top,
            #ffd9df,
            #fff5f7 60%
        );

    overflow: hidden;
}



.hero-content {
    position: relative;

    z-index: 20;

    max-width: 750px;
}

.hero h1 {
    font-size: clamp(42px, 8vw, 80px);
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 35px;
}


.layers {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 300px;

    z-index: 5;

    pointer-events: none;
}



.layer {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 300px;

    object-fit: cover;
}


.layer1 {
    z-index: 4;

    animation:
        layer1Move 3s ease-in-out infinite;
}



.layer2-wrapper {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 300px;

    z-index: 3;

    pointer-events: auto;

    animation:
        layer2Move 3s ease-in-out infinite;
}

.layer2-wrapper img {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 300px;

    object-fit: cover;
}

.layer2 {
    opacity: 1;
}

.layer2-hover {
    opacity: 0;
}

.layer2-wrapper:hover .layer2 {
    opacity: 0;
}

.layer2-wrapper:hover .layer2-hover {
    opacity: 1;
}



.layer3 {
    z-index: 2;

    animation:
        layer3Move 3s ease-in-out infinite;
}



@keyframes layer1Move {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

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

@keyframes layer2Move {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

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

@keyframes layer3Move {

    0% {
        transform: translateY(0);
    }

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

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



.buttons {
    display: flex;
    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}

.button {
    display: inline-block;

    padding: 13px 25px;

    border-radius: 12px;

    background: #fb6853;

    color: white;

    text-decoration: none;

    font-weight: bold;

    border: 2px solid white;

    cursor: pointer;

    transition:
        transform 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}

.button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15);

    background: #f4513c;
}



.section {
    max-width: 1100px;

    margin: auto;

    padding: 90px 30px;

    text-align: center;
}

.section h2 {
    font-size: 40px;
    margin-bottom: 20px;
}



.cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

    margin-top: 40px;
}

.card {
    background: white;

    padding: 30px;

    border-radius: 20px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);

    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-7px);
}

.card-icon {
    font-size: 55px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card p {
    margin-bottom: 25px;
}


/* FOOTER*/

footer {
    width: 100%;

    padding: 25px;

    text-align: center;

    background: #fb6853;

    color: white;
}


/* TABLETS*/

@media (max-width: 800px) {

    header {
        flex-direction: column;

        gap: 15px;

        text-align: center;
    }

    nav {
        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;
    }

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    /* KEEP PNGs FULLY VISIBLE */
    .layers {
        opacity: 1;
    }
}


/* =========================
   PHONES
========================= */

@media (max-width: 550px) {

    header {
        padding: 15px;
    }

    .logo {
        font-size: 21px;
    }

    nav {
        width: 100%;

        gap: 10px;

        justify-content: center;
    }

    nav a {
        padding: 7px 10px;
    }


    /* HERO */

    .hero {
        min-height: 700px;

        padding: 50px 20px;

        align-items: flex-start;
    }

    .hero-content {
        width: 100%;
    }

    .hero p {
        font-size: 17px;
    }


    /* LAYERS */

    .layers {
        left: 0;
        bottom: 0;

        width: 100%;
        height: 250px;

        opacity: 1;
    }

    .layer {
        width: 100%;
        height: 250px;
    }

    .layer2-wrapper {
        width: 100%;
        height: 250px;
    }

    .layer2-wrapper img {
        width: 100%;
        height: 250px;
    }


    /* BUTTONS */

    .buttons {
        flex-direction: column;

        align-items: stretch;

        gap: 12px;
    }

    .button {
        width: 100%;

        text-align: center;
    }


    /* SECTIONS */

    .section {
        padding: 65px 20px;
    }

    .section h2 {
        font-size: 32px;
    }


    /* CARDS */

    .cards {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .card {
        padding: 25px 20px;
    }
}