*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
}

.about-box {
    max-width: 900px;
    margin: 30px auto;

    padding: 35px;

    background: white;

    border-radius: 20px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .1);

    text-align: center;

    transition: .3s;
}

.about-box:hover {
    transform: translateY(-5px);
}

.about-box h3 {
    color: #d4af37;

    margin-bottom: 20px;

    font-size: 30px;
}

.about-box p {
    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 15px;
}

html{
scroll-behavior:smooth;
}

body{
background:#f8f6f1;
color:#222;
overflow-x:hidden;
}

header {
    position: relative;
    top: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, .9);
    z-index: 1000;
}

.logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text, .logo h2 {
    color: #d4af37;
    font-size: 18px;
    font-weight: 600;
}

nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.info-box {
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,.1);
    line-height: 1.8;
    font-size: 18px;
    text-align: center;
}

.product-box {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 35px;
    text-align: center;

    background: linear-gradient(
        135deg,
        #d4af37,
        #f1d87a
    );

    color: black;

    border-radius: 20px;

    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.product-box h3 {
    margin-bottom: 15px;
    font-size: 28px;
}

.product-box p {
    font-size: 18px;
    line-height: 1.7;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: .3s;
}

nav a:hover {
    color: #d4af37;
}

.burger {
    display: none;

    font-size: 32px;

    color: white;

    cursor: pointer;
}

.hero{
height:100vh;
background:
linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
url("cream1.jpg");
background-size:cover;
background-position:center;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
color:white;
padding:20px;
}

.hero h1{
font-size:4rem;
margin-bottom:20px;
}

.hero p{
font-size:1.3rem;
margin-bottom:30px;
}

.btn{
background:#d4af37;
color:black;
padding:15px 35px;
border-radius:10px;
text-decoration:none;
font-weight:bold;
transition:.3s;
}

.btn:hover{
transform:translateY(-3px);
}

.section{
padding:100px 8%;
}

.section h2{
text-align:center;
font-size:2.5rem;
margin-bottom:40px;
}

.about-box h4 {

    margin-top: 25px;

    margin-bottom: 10px;

    color: #d4af37;
}

.about-box ul {

    text-align: left;

    max-width: 600px;

    margin: 15px auto 25px auto;

    line-height: 1.8;
}

.history-box {
    max-width: 950px;

    margin: 30px auto;

    padding: 40px;

    background: white;

    border-radius: 20px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .1);

    text-align: center;

    transition: .3s;
}

.history-box:hover {
    transform: translateY(-5px);
}

.history-box h3 {
    color: #d4af37;

    font-size: 30px;

    margin-bottom: 25px;
}

.history-box p {
    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 15px;
}

.faq-section {
    max-width: 1000px;
    margin: auto;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;

    padding: 20px;

    border: none;

    border-radius: 15px;

    background: white;

    text-align: left;

    font-size: 18px;

    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}

.faq-answer {

    max-height: 0;

    overflow: hidden;

    transition: all .4s ease;

    background: white;

    border-radius: 15px;

    margin-top: 5px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);

}

.faq-answer.active {

    max-height: 200px;

    padding: 20px;

}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.card{
background:white;
padding:30px;
border-radius:20px;
box-shadow:0 5px 20px rgba(0,0,0,.1);
transition:.4s;
}

.card:hover{
transform:translateY(-10px);
}

.gallery{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
gap:25px;
}

.gallery img{
width:100%;
border-radius:20px;
box-shadow:0 5px 15px rgba(0,0,0,.15);
}



footer{
background:black;
color:white;
text-align:center;
padding:30px;
}

.reveal{
opacity:0;
transform:translateY(50px);
transition:1s;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}

.fade-up{
animation:fadeUp 1.5s ease forwards;
}

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(50px);
}
to{
opacity:1;
transform:translateY(0);
}
}

/* ========================= */
/* Планшеты */
/* ========================= */

@media (max-width: 992px) {

    header {
        padding: 15px 4%;
    }

    nav {
        gap: 20px;
    }

    nav a {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* ========================= */
/* Телефоны */
/* ========================= */

@media (max-width: 768px) {

     .faq-question {

        padding: 16px;

        font-size: 16px;

    }

    .faq-answer {

        padding: 16px;

        font-size: 15px;

    }

    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .logo {
        text-align: center;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    nav a {
        font-size: 15px;
    }

    .burger {
    display: block;
}

nav {
    display: none;

    width: 100%;

    flex-direction: column;

    text-align: center;

    margin-top: 15px;

    background: rgba(0, 0, 0, .95);

    border-radius: 15px;

    padding: 15px;
}

nav.active {
    display: flex;
}

nav a {
    padding: 10px;
}

    .hero {
        padding: 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 70px 20px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 20px;
    }

    .about-box,
    .history-box,
    .info-box,
    .product-box {
        margin: 20px auto;
        padding: 20px;
    }

    .about-box h3,
    .history-box h3,
    .product-box h3 {
        font-size: 24px;
    }

    .about-box p,
    .history-box p,
    .info-box p,
    .product-box p {
        font-size: 16px;
        line-height: 1.7;
    }

}

/* ========================= */
/* Очень маленькие телефоны */
/* ========================= */

@media (max-width: 480px) {

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .faq-question {

        font-size: 15px;

        padding: 14px;

    }

    .faq-answer {

        font-size: 14px;

        padding: 14px;

    }

    nav {
        gap: 8px;
    }

    nav a {
        font-size: 14px;
    }

    .btn {
        width: 100%;
        display: block;
    }

    .card h3 {
        font-size: 20px;
    }

    .section h2 {
        font-size: 28px;
    }

    .about-box h3,
    .history-box h3,
    .product-box h3 {
        font-size: 22px;
    }

}

@media (max-width: 600px) {

    .info-box,
    .history-box,
    .about-box,
    .product-box {

        padding: 18px;

        margin: 15px;

    }

    .card {

        padding: 18px;

    }

    .card h3 {

        font-size: 20px;

    }

    .card p {

        font-size: 15px;

    }

    .section h2 {

        font-size: 26px;

    }

}