html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    padding: 15px 50px;
    box-sizing: border-box;
}

header nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.menu-toggle,
.menu-btn {
    display: none;
}

section {
    padding: 100px 20px 60px;
    min-height: 50vh;
    box-sizing: border-box;
    text-align: center;
}

.parallax-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/parallax-1.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;

    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

.parallax-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.parallax-advantages {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/parallax-2.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 20px;
}

.parallax-advantages h2 {
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 40px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    background-color: #f5f5f5;
}

.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background-color: #7b2cbf;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #5a189a;
}

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
}

.wb-glow-section {
    background: radial-gradient(circle at center, rgba(203, 17, 171, 0.08) 0%, #ffffff 70%);
    padding: 120px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.wb-glow-section p {
    max-width: 650px;
    margin: 0 auto;
    color: #444;
}

.btn-wb-magic {
    display: inline-block;
    background: linear-gradient(45deg, #cb11ab, #9b0b82);
    color: white !important;
    text-decoration: none;
    padding: 16px 45px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(203, 17, 171, 0.3);
    transition: all 0.3s ease;
}

.btn-wb-magic:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(203, 17, 171, 0.5);
    background: linear-gradient(45deg, #df13bc, #a90c8e);
}

@media (max-width: 768px) {
    header {
        flex-direction: row;
        align-items: center;
        padding: 15px 20px;
    }

    .menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
    }

    .menu-btn span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #333;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    header nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 20px 0;
        gap: 20px;
        text-align: center;
    }

    header nav a {
        margin-left: 0;
        font-size: 1.1rem;
    }

    .menu-toggle:checked ~ nav {
        display: flex;
    }

    .menu-toggle:checked ~ .menu-btn span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle:checked ~ .menu-btn span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .menu-btn span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    section {
        padding: 100px 15px 40px;
    }

    .parallax-hero h1 {
        font-size: 2rem;
        text-align: center;
    }

    h2 {
        font-size: 1.6rem;
    }

    .parallax-hero,
    .parallax-advantages {
        background-attachment: scroll;
        min-height: 60vh;
    }

    #contacts div {
        height: 300px !important;
    }
}