* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #1a1a1a;
    color: #fff;
}

header {
    display: flex;
    align-items: center;
    padding: 20px 0;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

/* Внутренний контейнер для выравнивания */
header::before {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    pointer-events: none;
}

/* Обертка для header content */
header > * {
    position: relative;
}

/* Логотип-ссылка */
.logo-link {
    text-decoration: none;
    display: inline-block;
    margin-left: calc((100vw - 1200px) / 2);
    flex-shrink: 0;
}

/* На экранах меньше 1200px */
@media (max-width: 1240px) {
    .logo-link {
        margin-left: 20px;
    }
}

/* Логотип выровнен по левому краю контента */
.logo-text {
    font-size: 1.6em;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #d4af37, #e6c84f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-link:hover .logo-text {
    transform: scale(1.05);
}

/* Навигация по центру */
nav {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 auto;
    flex: 1;
    justify-content: center;
}

nav a {
    color: #fff;
    margin: 0 25px;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #e6c84f);
    transition: width 0.3s ease;
}

nav a:hover {
    color: #d4af37;
}

nav a:hover::after {
    width: 100%;
}

/* Селектор языка справа, выровнен по правому краю контента */
.language-select {
    padding: 4px 10px;
    font-size: 0.75em;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 15px;
    background: rgba(34, 34, 34, 0.8);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    outline: none;
    margin-right: calc((100vw - 1200px) / 2);
    flex-shrink: 0;
}

/* На экранах меньше 1200px */
@media (max-width: 1240px) {
    .language-select {
        margin-right: 20px;
    }
}

.language-select:hover,
.language-select:focus {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.language-select option {
    background: #222;
    color: #fff;
    font-size: 0.9em;
}

.welcome {
    text-align: center;
    padding: 40px 40px;
    background: transparent;
    margin: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out forwards;
}

.welcome h1 {
    font-size: 3em;
    color: #fff;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.3s forwards;
    transition: all 0.3s ease;
}

.welcome h1:hover {
    color: #d4af37;
    transform: scale(1.05);
}

.about {
    text-align: center;
    padding: 40px 40px;
    background: transparent;
    margin: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.about h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #d4af37;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.8s forwards;
    transition: color 0.3s ease;
}

.about h2:hover {
    color: #e6c84f;
}

.about p {
    font-size: 1.2em;
    line-height: 1.8;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInText 1s ease-out 1s forwards;
}

.services {
    text-align: center;
    padding: 60px 40px;
    background: transparent;
    margin: 0;
    width: 100%;
}

.services h2 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #d4af37;
    opacity: 0;
    animation: fadeInText 1s ease-out forwards;
}

.services ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.services li {
    background: #222;
    border: 1px solid #d4af37;
    border-radius: 10px;
    margin: 10px 0;
    padding: 20px 40px;
    text-align: left;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInList 0.5s ease-out forwards;
    transition: all 0.3s ease;
}

.services li:hover {
    border-color: #e6c84f;
    transform: translateY(-5px);
}

.services li::before {
    content: "•";
    color: #d4af37;
    font-size: 2em;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.services li:nth-child(1) { animation-delay: 0.2s; }
.services li:nth-child(2) { animation-delay: 0.3s; }
.services li:nth-child(3) { animation-delay: 0.4s; }
.services li:nth-child(4) { animation-delay: 0.5s; }
.services li:nth-child(5) { animation-delay: 0.6s; }
.services li:nth-child(6) { animation-delay: 0.7s; }
.services li:nth-child(7) { animation-delay: 0.8s; }
.services li:nth-child(8) { animation-delay: 0.9s; }

.service-item {
    margin-left: 30px;
}

.service-title {
    font-size: 1.2em;
    color: #fff;
    font-weight: 700;
    transition: color 0.3s ease;
}

.service-title:hover {
    color: #d4af37;
}

.service-title .price {
    color: #d4af37;
    font-weight: 400;
}

.services li p {
    font-size: 0.9em;
    color: #999;
    margin-top: 5px;
}

.contacts {
    text-align: center;
    padding: 40px 40px;
    background: transparent;
    margin: 0;
    width: 100%;
}

.contacts h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #d4af37;
    opacity: 0;
    animation: fadeInText 1s ease-out forwards;
}

.contacts p {
    font-size: 1.2em;
    color: #999;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.3s forwards;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #d4af37;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.5s forwards;
}

.telegram-btn:hover {
    background: #d4af37;
    color: #111;
    transform: scale(1.05);
}

.telegram-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

footer {
    background: #111;
    padding: 30px 40px;
    text-align: center;
    border-top: 1px solid #d4af37;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content .logo-text {
    display: block;
    margin-bottom: 15px;
}

.footer-content nav {
    margin: 15px 0;
}

.footer-content nav a {
    font-size: 1em;
}

.footer-content p {
    font-size: 0.9em;
    color: #999;
    margin-top: 15px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}

@keyframes fadeInList {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card h3 {
    margin: 10px 0;
    font-size: 1.2em;
}

.card .model-info {
    font-size: 0.9em;
    color: #999;
    margin: 5px 0;
}

.card .btn {
    margin: 10px 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: #d4af37;
    color: #111;
    font-weight: bold;
    transition: background 0.3s ease;
}

.card:hover .btn {
    background: #e6c84f;
}

.card .btn:hover {
    background: #b8972e;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #d4af37;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Убираем мобильный селектор языка из header */
.mobile-language-select {
    display: none !important;
}

/* Скрываем mobile-language-switcher на десктопе */
.mobile-language-switcher {
    display: none;
}

@media (max-width: 900px) {
    header {
        padding: 15px 0;
        justify-content: center;
        position: relative;
    }
    
    .logo-link {
        margin-left: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo-text {
        font-size: 1.4em;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .language-select {
        display: none !important;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(17, 17, 17, 0.98);
        flex-direction: column;
        padding: 100px 30px 30px;
        transition: right 0.3s ease;
        z-index: 99;
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.5);
        margin: 0;
    }
    
    nav.active {
        right: 0;
    }
    
    nav a {
        margin: 20px 0;
        font-size: 1.2em;
        display: block;
        text-align: center;
        padding: 10px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    nav a:last-of-type {
        border-bottom: none;
        margin-bottom: 30px;
    }
    
    /* Селектор языка в бургер меню */
    .mobile-language-switcher {
        display: none; /* Скрыт по умолчанию */
    }
    
    nav.active .mobile-language-switcher {
        display: block;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(212, 175, 55, 0.3);
    }
    
    .mobile-language-switcher select {
        width: 100%;
        padding: 10px 18px;
        font-size: 0.95em;
        border: 2px solid #d4af37;
        border-radius: 25px;
        background: rgba(34, 34, 34, 0.8);
        color: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        outline: none;
    }
    
    .mobile-language-switcher select:hover,
    .mobile-language-switcher select:focus {
        background: rgba(212, 175, 55, 0.2);
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .welcome, .about, .services, .contacts {
        padding: 40px 20px;
    }

    .welcome h1 {
        font-size: 2.2em;
    }

    .about h2, .services h2, .contacts h2 {
        font-size: 1.8em;
    }

    .about p, .services .service-title, .contacts p {
        font-size: 1.1em;
    }

    .services li p {
        font-size: 0.85em;
    }

    .telegram-btn {
        font-size: 1em;
        padding: 10px 25px;
    }

    .card .model-info {
        font-size: 0.85em;
    }

    header, footer {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    header {
        padding: 12px 0;
        min-height: 60px;
    }
    
    .logo-text {
        font-size: 1.2em;
        letter-spacing: 1px;
    }
    
    .mobile-menu-toggle {
        right: 15px;
    }
    
    /* Еще больше уменьшаем селектор языка на мобильных */
    .language-select {
        padding: 3px 8px;
        font-size: 0.65em;
        margin-right: 15px;
    }
    .gallery {
        grid-template-columns: 1fr;
    }

    nav a {
        margin: 0 10px;
        font-size: 1em;
    }

    .welcome, .about, .services, .contacts {
        padding: 30px 15px;
    }

    .welcome h1 {
        font-size: 1.8em;
    }

    .about h2, .services h2, .contacts h2 {
        font-size: 1.5em;
    }

    .about p, .services .service-title, .contacts p {
        font-size: 1em;
    }

    .services li p {
        font-size: 0.8em;
    }

    .services li::before {
        left: 15px;
        font-size: 1.5em;
    }

    .service-item {
        margin-left: 20px;
    }

    .telegram-btn {
        font-size: 0.9em;
        padding: 8px 20px;
    }

    .card .model-info {
        font-size: 0.8em;
    }

    header, footer {
        flex-direction: column;
        padding: 15px;
    }

    .logo-text {
        margin-bottom: 10px;
    }
}


/* Заменить стили для .model-details в style.css */

/* Стили для model-details.html */
.model-details {
    padding: 60px 40px;
    text-align: center;
    background: transparent;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out forwards;
}

.model-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
}

.model-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    max-width: 300px;
}

.model-image {
    width: 100%;
    max-width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.model-image:hover {
    transform: scale(1.05);
}

.additional-photos {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.additional-photo {
    width: 90px;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.additional-photo:hover {
    transform: scale(1.1);
    border: 2px solid #d4af37;
}

.model-info {
    max-width: 400px;
    text-align: left;
    background: rgba(34, 34, 34, 0.9);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.2s forwards;
}

.model-info::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 4px;
    background: linear-gradient(to right, #d4af37, #e6c84f);
    border-radius: 10px 10px 0 0;
}

.model-info h1 {
    font-size: 2.8em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.4s forwards;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.6s forwards;
}

.info-icon {
    font-size: 1.4em;
    color: #d4af37;
}

.model-info p {
    font-size: 1.1em;
    color: #ccc;
    line-height: 1.6;
}

.info-bio {
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.8s forwards;
}

.book-now-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #d4af37;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInText 1s ease-out 1s forwards;
}

.book-now-btn:hover {
    background: #d4af37;
    color: #111;
    transform: scale(1.05);
}

.model-services {
    max-width: 300px;
    text-align: left;
}

.model-services h2 {
    font-size: 1.6em;
    color: #d4af37;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.3s forwards;
}

.model-services ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.model-services ul li {
    background: #222;
    border: 1px solid #d4af37;
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 0.95em;
    color: #fff;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInList 0.5s ease-out forwards;
}

.model-services ul li:hover {
    border-color: #e6c84f;
    transform: translateY(-3px);
}

.model-services ul li:nth-child(1) { animation-delay: 0.2s; }
.model-services ul li:nth-child(2) { animation-delay: 0.3s; }
.model-services ul li:nth-child(3) { animation-delay: 0.4s; }
.model-services ul li:nth-child(4) { animation-delay: 0.5s; }
.model-services ul li:nth-child(5) { animation-delay: 0.6s; }
.model-services ul li:nth-child(6) { animation-delay: 0.7s; }
.model-services ul li:nth-child(7) { animation-delay: 0.8s; }
.model-services ul li:nth-child(8) { animation-delay: 0.9s; }

.model-reviews {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}

.model-reviews h2 {
    font-size: 1.8em;
    color: #d4af37;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.3s forwards;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.review {
    background: #222;
    border: 1px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    max-width: 350px;
    text-align: left;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInList 0.5s ease-out forwards;
    transition: all 0.3s ease;
}

.review:nth-child(1) { animation-delay: 0.2s; }
.review:nth-child(2) { animation-delay: 0.3s; }

.review:hover {
    border-color: #e6c84f;
    transform: translateY(-5px);
}

.review p {
    font-size: 1em;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.6;
}

.review span {
    font-size: 0.9em;
    color: #d4af37;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 900px) {
    .model-container {
        flex-direction: column;
        align-items: center;
    }

    .model-gallery,
    .model-info,
    .model-services {
        max-width: 100%;
    }

    .model-image {
        max-width: 250px;
        height: 350px;
    }

    .additional-photo {
        width: 80px;
        height: 100px;
    }

    .model-info,
    .model-services {
        text-align: center;
    }

    .model-info::before {
        display: none;
    }

    .info-item {
        justify-content: center;
    }

    .model-services ul {
        align-items: center;
    }

    .reviews-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .model-details {
        padding: 30px 15px;
    }

    .model-image {
        max-width: 200px;
        height: 300px;
    }

    .additional-photo {
        width: 60px;
        height: 80px;
    }

    .model-info h1 {
        font-size: 2em;
    }

    .model-info p,
    .model-services ul li,
    .review p {
        font-size: 0.9em;
    }

    .model-services h2,
    .model-reviews h2 {
        font-size: 1.5em;
    }

    .book-now-btn {
        font-size: 1em;
        padding: 10px 20px;
    }
}

/* Заменить существующие стили для .booking в style.css и добавить новые */

/* Заменить существующие стили для .booking в style.css и добавить новые */

/* Стили для booking.html */
.booking {
    padding: 60px 40px;
    text-align: center;
    background: transparent;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out forwards;
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.model-card {
    max-width: 300px;
    text-align: center;
    background: rgba(34, 34, 34, 0.9);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.2s forwards;
}

.model-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 4px;
    background: linear-gradient(to right, #d4af37, #e6c84f);
    border-radius: 10px 10px 0 0;
}

.model-card .model-image {
    width: 100%;
    max-width: 260px;
    height: 340px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.model-card .model-image:hover {
    transform: scale(1.05);
}

.model-card h2 {
    font-size: 2em;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.4s forwards;
}

.model-card p {
    font-size: 1.1em;
    color: #ccc;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.6s forwards;
}

.booking-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.booking h1 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.2s forwards;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(34, 34, 34, 0.9);
    border-radius: 10px;
    padding: 20px;
    position: relative;
}

.booking-form::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 4px;
    background: linear-gradient(to right, #d4af37, #e6c84f);
    border-radius: 10px 10px 0 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 1.1em;
    color: #fff;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.8s forwards;
}

.form-group select,
.form-group input[type="date"],
.form-group input[type="text"] {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #d4af37;
    border-radius: 8px;
    background: #222;
    color: #fff;
    width: 100%;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInText 1s ease-out 1s forwards;
}

.form-group select:focus,
.form-group input[type="date"]:focus,
.form-group input[type="text"]:focus {
    outline: none;
    border-color: #e6c84f;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.form-group h3 {
    font-size: 1.5em;
    color: #d4af37;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.8s forwards;
}

#additional-services {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#additional-services li {
    flex: 1 1 calc(50% - 10px);
    position: relative;
}

#additional-services li input[type="checkbox"] {
    display: none;
}

#additional-services li label {
    display: block;
    background: transparent;
    border: 1px solid #d4af37;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInList 0.5s ease-out forwards;
}

#additional-services li label:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

#additional-services li input[type="checkbox"]:checked + label {
    background: #d4af37;
    color: #111;
    border-color: #e6c84f;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

#additional-services li:nth-child(1) label { animation-delay: 0.2s; }
#additional-services li:nth-child(2) label { animation-delay: 0.3s; }
#additional-services li:nth-child(3) label { animation-delay: 0.4s; }
#additional-services li:nth-child(4) label { animation-delay: 0.5s; }
#additional-services li:nth-child(5) label { animation-delay: 0.6s; }
#additional-services li:nth-child(6) label { animation-delay: 0.7s; }
#additional-services li:nth-child(7) label { animation-delay: 0.8s; }
#additional-services li:nth-child(8) label { animation-delay: 0.9s; }

.meeting-type h3 {
    font-size: 1.5em;
    color: #d4af37;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.6s forwards;
}

.meeting-buttons {
    display: flex;
    gap: 10px;
}

.meeting-btn {
    flex: 1;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #d4af37;
    border-radius: 50px;
    color: #fff;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.8s forwards;
}

.meeting-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.meeting-btn.active {
    background: #d4af37;
    color: #111;
    border-color: #e6c84f;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.total-price {
    font-size: 1.3em;
    color: #fff;
    margin: 20px 0;
    text-align: center;
    opacity: 0;
    animation: fadeInText 1s ease-out 1.2s forwards;
}

.total-price span {
    color: #d4af37;
    font-weight: 700;
}

.submit-booking-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid #d4af37;
    border-radius: 50px;
    color: #fff;
    font-size: 1.1em;
    font-weight: 700;
    transition: all 0.3s ease;
    align-self: center;
    opacity: 0;
    animation: fadeInText 1s ease-out 1.4s forwards;
}

.submit-booking-btn:hover {
    background: #d4af37;
    color: #111;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Адаптивность */
@media (max-width: 900px) {
    .booking {
        padding: 40px 20px;
    }

    .booking-container {
        flex-direction: column;
        align-items: center;
    }

    .model-card,
    .booking-content {
        max-width: 100%;
    }

    #additional-services li {
        flex: 1 1 100%;
    }

    .meeting-buttons {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .booking {
        padding: 30px 15px;
    }

    .booking h1 {
        font-size: 2em;
    }

    .model-card h2 {
        font-size: 1.8em;
    }

    .model-card p,
    .form-group label,
    #additional-services li label,
    .total-price,
    .meeting-type h3 {
        font-size: 1em;
    }

    .form-group h3 {
        font-size: 1.3em;
    }

    .model-card .model-image {
        max-width: 200px;
        height: 260px;
    }

    .submit-booking-btn,
    .meeting-btn {
        font-size: 1em;
        padding: 8px 15px;
    }
}


/* Заменить стили для .payment в style.css */

/* Заменить стили для .payment в style.css */

/* Стили для payment.html */
.payment {
    padding: 60px 40px;
    text-align: center;
    background: transparent;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out forwards;
}

.payment-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: rgba(34, 34, 34, 0.9);
    border-radius: 10px;
    padding: 30px;
    position: relative;
}

.payment-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 4px;
    background: linear-gradient(to right, #d4af37, #e6c84f);
    border-radius: 10px 10px 0 0;
}

.payment h1 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.2s forwards;
}

.booking-summary {
    background: rgba(17, 17, 17, 0.95);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.4s forwards;
}

.booking-summary::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 4px;
    background: linear-gradient(to right, #d4af37, #e6c84f);
    border-radius: 10px 10px 0 0;
}

.booking-summary h2 {
    font-size: 1.8em;
    color: #d4af37;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInText 1s ease-out 0.6s forwards;
}

.booking-summary ul {
    list-style: none;
}

.booking-summary ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #222;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #ccc;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInList 0.5s ease-out forwards;
}

.booking-summary ul li:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.booking-summary ul li:nth-child(1) { animation-delay: 0.8s; }
.booking-summary ul li:nth-child(2) { animation-delay: 0.9s; }
.booking-summary ul li:nth-child(3) { animation-delay: 1.0s; }
.booking-summary ul li:nth-child(4) { animation-delay: 1.1s; }
.booking-summary ul li:nth-child(5) { animation-delay: 1.2s; }
.booking-summary ul li:nth-child(6) { animation-delay: 1.3s; }

.booking-summary .summary-icon {
    font-size: 1.4em;
    color: #d4af37;
}

.booking-summary .summary-label {
    color: #fff;
    font-weight: 700;
    flex: 0 0 200px;
}

.booking-summary ul li span:last-child {
    color: #ccc;
    flex: 1;
    text-align: right;
}

.payment-methods h2 {
    font-size: 1.8em;
    color: #d4af37;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInText 1s ease-out 1.4s forwards;
}

.payment-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.payment-btn {
    flex: 1 1 200px;
    max-width: 280px;
    padding: 15px 25px;
    background: transparent;
    border: 2px solid #d4af37;
    border-radius: 50px;
    color: #fff;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInText 1s ease-out forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.payment-btn:nth-child(1) { animation-delay: 1.6s; }
.payment-btn:nth-child(2) { animation-delay: 1.7s; }
.payment-btn:nth-child(3) { animation-delay: 1.8s; }

.payment-btn:hover {
    background: #2E7D32;
    border-color: #e6c84f;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(46, 125, 50, 0.5);
}

.payment-btn:active {
    background: #1B5E20;
    color: #fff;
    border-color: #e6c84f;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(46, 125, 50, 0.5);
}

/* Адаптивность */
@media (max-width: 900px) {
    .payment {
        padding: 40px 20px;
    }

    .payment-container {
        padding: 20px;
    }

    .booking-summary .summary-label {
        flex: 0 0 150px;
    }

    .payment-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }

    .payment-btn {
        flex: 1;
        max-width: 200px;
        padding: 8px 12px;
        font-size: 0.8em;
        min-height: 40px;
    }
}

@media (max-width: 600px) {
    .payment {
        padding: 30px 15px;
    }

    .payment h1 {
        font-size: 2em;
    }

    .booking-summary h2,
    .payment-methods h2 {
        font-size: 1.5em;
    }

    .booking-summary ul li {
        font-size: 1em;
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }

    .booking-summary .summary-label {
        flex: none;
    }

    .booking-summary ul li span:last-child {
        text-align: left;
    }

    .payment-btn {
        font-size: 0.7em;
        padding: 6px 8px;
        min-height: 35px;
        max-width: none;
        border-width: 1.5px;
        flex: 1;
    }
    
    .payment-buttons {
        gap: 8px;
    }
    
    .payment-btn:hover {
        box-shadow: 0 0 6px rgba(46, 125, 50, 0.5);
    }
}

/* Стили для всплывающего алерт-окна */
.location-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.location-alert.show {
    opacity: 1;
    visibility: visible;
}

.alert-content {
    background: #222;
    border: 1px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease-out forwards;
}

.alert-content::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 4px;
    background: linear-gradient(to right, #d4af37, #e6c84f);
    border-radius: 10px 10px 0 0;
}

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #d4af37;
    border-top: 4px solid #e6c84f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#alert-message {
    font-size: 1.1em;
    color: #fff;
    margin-bottom: 10px;
}

.check-icon {
    font-size: 2em;
    color: #2ecc71;
    display: none;
    margin: 0 auto;
}

.check-icon.show {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

/* Адаптивность для алерт-окна */
@media (max-width: 600px) {
    .alert-content {
        padding: 15px;
        max-width: 300px;
    }

    #alert-message {
        font-size: 1em;
    }

    .loader {
        width: 30px;
        height: 30px;
        border-width: 3px;
    }

    .check-icon {
        font-size: 1.5em;
    }
}

/* Анимация затухания для переходов между страницами */
body.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body {
    opacity: 0;
    transition: opacity 0.5s ease;
}
body.loaded {
    opacity: 1;
}

