body,
html {
    margin: 0;
    padding: 0;
    color: black;
}

body {
    font-family: "Barlow Condensed", sans-serif;
    background-color: white;
}

:root {
    --primary-color: #f67cad;
    --secondary-color: #62c7d3;
}

a {
    color: inherit;
    text-decoration: none;
}

header {
    position: fixed;
    padding: 10px 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;

    .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    &.active {
        background-color: var(--primary-color);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

        .logo {
            height: 70px;
        }

        ul {
            li {
                color: white;
            }
        }
    }

    .logo {
        transition: all 0.3s ease-in-out;
        width: auto;
        height: 100px;
    }

    nav {

        ul {
            display: flex;
            list-style: none;
            gap: 20px;
            margin: 0;
            padding: 0;

            li {
                color: white;
                display: flex;
                align-items: center;
                justify-content: center;
                text-align: center;
                font-weight: 600;
                font-size: 16px;
                letter-spacing: 1px;

                a {
                    transition: all 0.3s ease-in-out;

                    &:hover {
                        color: var(--secondary-color);
                    }
                }
            }
        }
    }
}

.header-active header {
    background-color: var(--primary-color);

    .logo {
        /* height: 70px; */
    }

    ul {
        li {
            color: white;
        }
    }
}

@keyframes carousel {
    0% {
        clip-path: polygon(50% 0%, 50% 0%, 25% 100%, 25% 100%);
    }

    100% {
        clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    }
}

main {

    .main-section {
        background-color: var(--primary-color);
        padding: 0;
        transition: all 0.3s ease-in-out;

        .container {
            display: flex;
            align-items: center;
            position: relative;
            height: 100vh;
        }

        .arkaplanlar {

            img {
                position: absolute;
                z-index: 0;
                pointer-events: none;
            }

            .cilekler {
                opacity: 0.25;
                top: 20%;
                left: 0;
            }

            .kalpler {
                position: absolute;
                width: 100px;
                height: 100px;
                pointer-events: none;
                background-image: url(../images/heart.png);

                &.kalp_1 {
                    transform: scale(0.8);
                    background-position: -25px -25px;
                    bottom: 0;
                    left: 0;
                }

                &.kalp_2 {
                    transform: scale(1.2);
                    background-position: -120px -260px;
                    top: 20%;
                    left: 50%;
                }

                &.kalp_3 {
                    z-index: 1;
                    background-position: -25px -375px;
                    bottom: 0;
                    left: 50%;
                    transform: translateX(-50%) translateY(50%);
                }
            }
        }

        .main-section-left {
            z-index: 1;
            padding-top: 120px;
            display: flex;
            flex-direction: column;
            width: 50%;

            h1 {
                color: white;
                font-weight: 700;
                display: inline;
                font-size: 100px;
                line-height: 1;
                margin: 0;
            }

            h2 {
                margin: 0;
                font-weight: 400;
                font-size: 24px;
                margin-top: 20px;
            }

            .waffle {
                font-weight: 900;
                text-shadow: unset;
                background: url(../images/text_2.jpg);
                background-size: cover;
                background-clip: text;
                background-position: 0 10px;
                -webkit-background-clip: text;
                color: transparent;
            }

            img {
                object-fit: contain;
                width: 200px;
                height: 200px;
            }

            .social-media {
                img {
                    width: 64px;
                    height: 64px;
                    transition: all 0.3s ease-in-out;

                    &:hover {
                        transform: scale(1.2);
                    }
                }
            }
        }

        .main-section-right {
            position: relative;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            width: 50%;

            .waffle-carousel {
                animation: carousel 1.5s forwards;
                margin-right: -50px;
                width: 100%;
                height: 100%;
                position: relative;

                div {
                    width: 100%;
                    height: 100%;

                    img {
                        clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
            }
        }
    }

    &.active {
        .main-section {
            transform: scale(0.95);
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
            border-radius: 20px;
        }
    }

}

.logo {
    width: 150px;
    height: auto;
}

img {
    max-width: 100%;
    max-height: 100%;
}

.shopping_bag {
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;

    &:hover {
        color: var(--secondary-color);
    }
}

.button-1 {
    text-align: center;
    width: fit-content;
    background-color: white;
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: none;
    display: flex;
    align-items: center;
    gap: 5px;
    text-align: center;

    &:hover {
        background-color: white;
        color: black;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
    }

    &.add_to_cart {
        background-color: var(--secondary-color);
        border: 3px solid var(--primary-color);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 64px;
        height: 64px;
        font-size: 25px;
        border-radius: 50%;

        &:hover {
            background-color: var(--primary-color);
        }
    }
}

footer {
    background-color: var(--primary-color);
    text-align: center;
    padding: 20px;
    color: white;

    p {
        margin: 0;
    }
}

section {
    padding: 50px 0;

    h2.section-title {
        margin-bottom: 30px;
    }

    h3.section-title {
        margin-bottom: 20px;
    }

}

.urunler {
    margin-bottom: 30px;

    .urun {
        .urun-resim {
            overflow: hidden;

            img {
                width: 100%;
                height: 300px;
                object-fit: cover;
                transition: all 0.3s ease;
            }
        }

        h3 {
            margin-top: 10px;
            margin-bottom: 0;
        }

        p {
            font-size: 30px;
            margin: 0;
        }

        &:hover {
            img {
                transform: scale(1.05);
            }
        }
    }
}