html, body {
    overflow-x: hidden;
}

body {
    font-family: "Zalando Sans Expanded", sans-serif;
}

a {
    text-decoration: none;
}

header {
    background-color: black;
    padding: 10px;
    position: fixed;
    width: 100%;
}

header nav ol{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-right:100px ;
    margin-left:50px ;
}

header nav a {
    color: white;
    padding: 6px 12px;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 20px;
}

header nav a:hover {
    background-color: white;
    color: black;
}

section {
    height: 100vh;
    scroll-margin-top: 300px;
    width: 100%;
    padding-bottom: 200px;
}

section p a{
        padding-left: 50px;
    padding-right: 50px;
}

#kodoku {
    font-size: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#kodoku h1 {
    transition: letter-spacing 0.1s linear;
    letter-spacing: 0px;
    will-change: letter-spacing;
}


#product .content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 150px;
    padding-right: 150px;
    gap: 120px;
}

#product .buymenu {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#product img {
    padding-top: 50px;
    width: 500px;
}

#product h1 {
    font-size: 36px;
}

#product h5 {
    font-style: italic;
    font-size: 15px;
}

.buymenu p {
    max-width: 500px;
}

.buymenu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 40px;

    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: black;
    background: transparent;
    border: 1px solid black;
    border-radius: 999px;

    transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
    width: 150px;
}

.buymenu a:hover {
    background-color: black;
    color: white;
}

.buymenu a:active {
    transform: scale(0.97);
}

#abus {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

#abus h1 {
    font-size: 100px;
    font-weight: bold;
}

#abus h2 {
    font-size: 40px;
    font-weight: bold;
    color: white;
    background-color: black;
    width: 100%;
    text-align: center;
    padding: 20px;
}

#abus p {
    padding-left: 100px;
    padding-right: 100px;
    line-height: 1.5;
    max-width: 1400px;
}

#gallery h1 {
    font-size: 100px;
    font-weight: bold;
}

#gallery {
    height: auto;
}

.gallerybox {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.galpics {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding-left: 50px;
}

.galpics img{
    height: 400px;
    width: 300px;
}

#delivery {
    padding-top: 150px;
}

#delivery h1 {
    font-size: 100px;
    text-align: center;
    margin-bottom: 80px;
}

.qwe {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.qwe strong {
    font-weight: bold;
}

.delivery-box {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.boxik {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.delivery-box h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.delivery-box p {
    font-size: 14px;
    line-height: 1.6;
    padding: 0px;
}

#contact h1 {
    font-size: 100px;
    text-align: center;
    margin-bottom: 80px;
}

.contact-box {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 120px;
    flex-wrap: wrap;
}

.contact-info,
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 300px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-info a {
    color: black;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    width: fit-content;
}

.contact-info a:hover {
    border-bottom: 1px solid black;
}

/* форма */
.contact-form p {
    font-size: 14px;
    line-height: 1.6;
}

.contact-form form {
    display: flex;
    gap: 15px;
}

.contact-form input {
    padding: 12px 16px;
    border: 1px solid black;
    font-family: inherit;
    font-size: 14px;
    width: 180px;
}

.contact-form button {
    color: black;
    padding: 12px 24px;
    border: 1px solid black;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.contact-form button:hover {
    background-color: black;
    color: white;
}
footer {
    background-color: black;
    color: white;
    padding: 80px 50px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-logo h2 {
    font-size: 36px;
    letter-spacing: 0.2em;
}

.footer-links,
.footer-social {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a,
.footer-social a {
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.15s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: aquamarine;
    transform: translateY(-2px);
}

.footer-copy {
    font-size: 12px;
    color: #888;
    margin-top: 20px;
}

/* Полностью мобильная адаптация */
@media (max-width: 768px) {

header {
    display: none;
}

    /* секции */
    section {
        height: auto; /* естественная высота */
        scroll-margin-top: 120px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* KODOKU */
    #kodoku {
        font-size: 50px;
        padding-top: 325px;
        padding-bottom: 300px;
    }

    #kodoku h1 {
        letter-spacing: 0;
    }

    /* Product / New */
    #product .content {
        flex-direction: column; /* картинка сверху, текст снизу */
        align-items: center;
        gap: 20px;
        padding: 0;
    }

    #product .item {
        order: -1; /* картинка перед текстом */
        width: 100%;
        display: flex;
        justify-content: center;
    }

    #product img {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin-bottom: 15px;
    }

    #product .buymenu {
        gap: 15px;
        align-items: center;
    }

    #product h1 {
        font-size: 28px;
    }

    #product h5 {
        font-size: 12px;
    }

    .buymenu a {
        width: 100%;
        max-width: 200px;
        padding: 12px 0;
    }

    .buymenu p {
        padding: 50px;
    }

    /* ABOUT US */
    #abus {
        gap: 20px;
        align-items: center;
    }

    #abus p {
        padding: 50px;
    }

    #abus h1 {
        font-size: 36px;
    }

    #abus h2 {
        font-size: 22px;
        padding: 10px 0;
    }

    #abus p {
        font-size: 14px;
        line-height: 1.6;
        text-align: justify;
    }

    /* Gallery */
    #gallery h1 {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .galpics {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0;
    }

    .galpics span {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 45%;
        margin-bottom: 15px;
    }

    .galpics img {
        width: 100%;
        height: auto;
        max-width: 200px;
    }

    /* Delivery */
    #delivery h1 {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .delivery-box {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .qwe, .boxik {
        width: 100%;
        max-width: 300px;
        text-align: center;
        gap: 10px;
    }

    .delivery-box h3 {
        font-size: 18px;
    }

    .delivery-box p {
        font-size: 12px;
    }

    /* Contact Us */

    .mobilepadding {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    #contact h1 {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .contact-box {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        width: 100%;

    }

    .contact-info,
    .contact-form {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .contact-form form {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .contact-form input {
        width: 89%;
    }
    .contact-form button {
        width: 100%;
        max-width: 300px;
    }

    /* Footer */
    .footer-container {
        padding: 40px 20px;
        gap: 20px;
    }

    .footer-logo h2 {
        font-size: 28px;
    }

    .footer-links,
    .footer-social {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .footer-copy {
        font-size: 10px;
    }
    

.burger {
    position: fixed;
    right: 1rem;
    top: 55px; /* подкорректируй под точный уровень h1 KODOKU */
    font-size: 2rem;
    z-index: 3;
    cursor: pointer;
    color: black;
    transition: all 0.3s ease;
}

.menu {
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    background: #eee;
    overflow-x: hidden;
    transition: width 0.3s ease;
    z-index: 2;
}

.menu.open {
    width: 60vw; /* ширина меню */
}

.menu ol {
    list-style: none;
    padding: 50px 20px;
}

.menu a {
    display: block;
    padding: 1rem 0;
    color: black;
    text-decoration: none;
    font-size: 18px;
}

/* Мобильная галерея - одна картинка на экран с возможностью листания */
#gallery .galpics {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* плавная остановка на картинке */
    -webkit-overflow-scrolling: touch; /* для плавного скролла на iOS */
    gap: 0; /* убираем отступ между картинками */
    width: 100%;
    padding: 0;
}

#gallery .galpics span {
    flex: 0 0 80%; /* каждая картинка занимает 100% ширины экрана */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#gallery .galpics img {
    width: 100%;
    height: auto;
    max-width: none;
}

}
section#contact {
    padding: 0;
    height: 60vh;
}
section#abus {
    padding: 0;

}