/* Заголовок */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 15px;
    /*border-bottom: 2px dashed #d4c1ac;*/
}
h1,
.site-title,
.main-title {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: transparent;
    background: linear-gradient(45deg, #260026, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none; /* убирает подчёркивание */
    box-shadow:
        0 10px 25px rgba(0,0,0,0.4),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.1);
    padding: 10px 20px;
    border-radius: 12px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    margin: 10px 0;
}

/* Верхнее меню */
.top-menu {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px auto 30px;
    max-width: 800px;
}

.menu-button {
    padding: 12px 24px;
    font-family: 'Bad Script', cursive;
    font-size: 16px;
    color: #660066;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(128, 0, 128, 0.2);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.menu-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.menu-button.active {
    color: white !important;
    background: linear-gradient(135deg, #800080, #9b59b6);
    border: none;
    box-shadow: 0 5px 16px rgba(128, 0, 128, 0.25);
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(6px, -6px) rotate(0.9deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Галерея */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-bottom: 10px;
}

/* Подвал */
footer {
    text-align: center;
    padding: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .product-card {
        width: calc(50% - 15px);
    }
    h1 {
        font-size: 2.2rem;
    }
    .product-card img {
        height: 200px;
    }
    .modal img {
        max-height: 50vh;
    }
}

@media (max-width: 480px) {
    .product-card {
        width: 100%;
    }
    .contact-buttons {
        gap: 10px;
    }
    .contact-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .product-card img {
        height: 180px;
    }
    .modal img {
        max-height: 40vh;
    }
}
/* Заголовок */
header h1 {
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Bad Script', cursive;
    font-size: 28px;
    color: #555;
}

/* Меню под заголовком */
.top-menu {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 0 auto 30px;
    max-width: 800px;
    flex-wrap: wrap;
}

.menu-button{
    padding: 10px 20px;
    font-family: 'Bad Script', cursive;
    font-weight: bold;
    font-size: 26px;
    background: linear-gradient(45deg, #260026, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    background-color: rgba(255, 255, 255, 0.7); /* фон кнопки остаётся */
    border: 1px solid rgba(128, 0, 128, 0.2);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow:
        0 10px 25px rgba(0,0,0,0.4),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-greeting {
    padding: 10px 20px;
    font-family: 'Bad Script', cursive;
    font-weight: bold;
    font-size: 26px;
   cursor: default;
       background: linear-gradient(45deg, #260026, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}



.menu-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.menu-button.active {
    color: white !important;
    background: linear-gradient(135deg, #800080, #9b59b6);
    border: none;
    box-shadow: 0 5px 16px rgba(128, 0, 128, 0.25);
}
.user-greeting {
    font-family: 'Bad Script', cursive;
    font-size: 26px;
    color: #660066;
    padding: 10px 15px;
    margin-left: auto; /* ← прижимает к правому краю */
    display: flex;
    align-items: center;
    justify-content: center;
}