/* Global styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

/* Header and navigation */
header nav {
    background-color: #f83b86;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
}

header/* Стиль для логотипа с прописным шрифтом */
.logo {
    font-size: 30px;
    font-weight: bold;
    color: white;
    letter-spacing: 2px;
    font-family: 'Dancing Script', cursive; /* Добавим красивый прописной шрифт */
    text-transform: uppercase;
}



/* Скрываем меню на мобильных устройствах */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}


.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
}

.burger div {
    width: 100%;
    height: 4px;
    background-color: white;
    margin: 4px 0;
    transition: all 0.3s ease;
}





nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    background-color: #ff5fa9;
    border-radius: 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #ff4077;
}

/* Main product container */
.product-container {
    text-align: center;
    padding: 20px;
}

.main-image {
    display: block;
    width: 300px;
    margin: 0 auto;
}

.prices {
    font-size: 18px;
    color: #555;
}

.prices strong {
    color: #f83b86;
    font-size: 24px;
}

.order-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #ff5fa9;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.order-btn:hover {
    background-color: #ff4077;
}

/* Sub images styling */
.sub-images {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.sub-images img {
    margin: 0 10px;
    width: 80px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sub-images img:hover {
    transform: scale(1.1);
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
}

.modal-content h2 {
    text-align: center;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-content input, .modal-content button {
    padding: 10px;
    font-size: 16px;
}

.modal-content button {
    background-color: #f83b86;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.modal-content button:hover {
    background-color: #ff5fa9;
}

.close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 20px;
    cursor: pointer;
}

/* About Us and Contacts sections */
footer {
    background-color: #f83b86;
    color: white;
    padding: 20px;
    text-align: center;
}

footer h2 {
    margin-bottom: 10px;
}

.contacts ul {
    list-style: none;
    padding: 0;
}

.contacts ul li {
    margin: 5px 0;
}

.contacts ul li a {
    color: white;
    text-decoration: none;
    background-color: #ff5fa9;
    padding: 8px 15px;
    border-radius: 15px;
    display: inline-block;
}

.contacts ul li a:hover {
    background-color: #ff4077;
}



@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        align-items: center;
    }
    .product-container {
        padding: 10px;
    }
    .main-image {
        width: 100%;
    }
    .sub-images {
        flex-wrap: wrap;
    }
    .sub-images img {
        width: 60px;
        margin: 5px;
    }
}


/* Для мобильных устройств */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 0;
        height: 100vh;
        width: 50%;
        background-color: #f83b86;
        display: none;
        align-items: center;
        justify-content: center;
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: block;
    }

    .nav-links li {
        margin-bottom: 20px;
         padding: 20px 20px;
    }

    .nav-links a {
        padding: 20px 20px;
        font-size: 20px;
    }
}

/* Закругленные углы для изображений */
.main-image, .sub-images img {
    border-radius: 15px;
}

/* Увеличиваем крестик для модальных окон */
.modal-content .close {
    font-size: 80px; /* Увеличим размер крестика */
    color: white;
}

/* Увеличение крестика для меню */
.burger .line1, .burger .line2, .burger .line3 {
    height: 5px; /* Сделаем линии толще */
}

/* Также можно изменить размер и цвет крестика в меню при активном состоянии */
.burger.toggle .line1, 
.burger.toggle .line2, 
.burger.toggle .line3 {
    height: 5px;
    background-color: #fff; /* Чтобы крестик был виднее */
}







