/* Импорты общих стилей */
@import 'common/base.css';
@import 'common/header.css';
@import 'common/navigation.css';
@import 'common/footer.css';
@import 'common/loading.css';

/* Основные стили страницы */
.main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
    background: #0f0f0f;
}

.salonContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Содержимое салона */
.salon-content {
    animation: fadeIn 0.5s ease-out;
}

/* Заголовок салона */
.salon-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Верхняя строка: название и локация */
.salon-top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Название салона */
.salon-title {
    color: #d4af37;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: fadeIn 0.8s ease-out;
}

.salon-title i {
    font-size: 2rem;
    color: #f4d03f;
    animation: pulse 2s infinite;
}

.salon-title span {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Локация салона */
.salon-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a0a0a0;
    font-size: 1.1rem;
    font-weight: 500;
}

.salon-location i {
    color: #d4af37;
    font-size: 1rem;
}

/* Основной контент: фото и описание */
.salon-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.salon-image-section {
    position: relative;
}

.salon-main-image {
    width: 100%;
    
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    position: relative;
}

.salon-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .salon-main-image:hover img {
        transform: scale(1.05);
    }
}

.salon-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Контактная информация */
.salon-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(5px);
}

.contact-item i {
    color: #d4af37;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.contact-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #d4af37;
    text-decoration: none;
}

.salon-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d4af37;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.salon-location i {
    font-size: 1.25rem;
    color: #f4d03f;
}

.salon-description {
    flex: 1;
}

.section-title {
    color: #d4af37;
    font-size: 1.6rem; /* Увеличенный размер */
    font-weight: 600;
    margin-bottom: 1.3rem; /* Увеличенный отступ */
    display: flex;
    align-items: center;
    gap: 0.8rem; /* Увеличенный интервал */
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.02em; /* Межбуквенный интервал */
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3); /* Тень для контраста */
    position: relative; /* Для декоративного элемента */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #f4d03f);
    border-radius: 1px;
}

.section-title i {
    color: #f4d03f;
    font-size: 1.25rem;
}

.description-content {
    color: #f0f0f0; /* Более яркий цвет для лучшей читаемости */
    line-height: 1.8; /* Увеличенный межстрочный интервал */
    font-size: 1.05rem; /* Увеличенный размер шрифта */
    font-weight: 400; /* Четкий вес шрифта */
    background: rgba(255, 255, 255, 0.03); /* Более заметный фон */
    padding: 1.8rem; /* Увеличенные отступы */
    border-radius: 12px; /* Более округлые углы */
    border: 1px solid rgba(212, 175, 55, 0.15); /* Более заметная граница */
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    text-align: justify; /* Выравнивание по ширине */
    hyphens: auto; /* Автоматическая расстановка переносов */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Тонкая тень для контраста */
}

/* Секция девушек */
.salon-girls-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.girls-count {
    color: #a0a0a0;
    font-size: 1rem;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Сетка девушек */
.girls-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Карточка девушки */
.girl-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid rgba(51, 51, 51, 0.5);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    aspect-ratio: 3/4;
    text-decoration: none;
    display: block;
}

@media (hover: hover) {
    .girl-card:hover {
        transform: translateY(-8px);
        border-color: #d4af37;
        box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    }
}

.girl-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f4d03f);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.girl-card:hover::before {
    transform: scaleX(1);
}

.girl-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.girl-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.girl-card:hover .girl-image img {
    transform: scale(1.08);
}

.girl-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.girl-card:hover .girl-image::after {
    transform: translateX(100%);
}

.girl-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20%;
    padding: 0.8rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    backdrop-filter: blur(5px);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.girl-name {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.girl-meta {
    color: #cccccc;
    font-size: 0.8rem;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Пустое состояние */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #a0a0a0;
}

.empty-icon {
    font-size: 4rem;
    color: #d4af37;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.empty-state h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Ошибка */
.error-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #a0a0a0;
}

.error-icon {
    font-size: 4rem;
    color: #e74c3c;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.error-state h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.error-state p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Кнопки */
.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #0f0f0f;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
}

@media (hover: hover) {
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
        color: #0f0f0f;
    }
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.girl-card {
    animation: fadeIn 0.5s ease-out;
}

/* Адаптивность */
/* Планшеты и средние экраны */
@media (max-width: 1200px) {
    .girls-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .salon-main-content {
        gap: 2.5rem; /* Уменьшенный интервал для планшетов */
    }
    
    .description-content {
        padding: 1.6rem; /* Оптимальные отступы для планшетов */
        font-size: 1.02rem; /* Оптимальный размер шрифта для планшетов */
    }
}

/* Планшеты в портретной ориентации */
@media (max-width: 1024px) and (orientation: portrait) {
    .salon-header {
        padding: 2.2rem; /* Увеличенные отступы */
    }
    
    .salon-title {
        font-size: 2.2rem; /* Оптимальный размер для планшетов */
    }
    
    .description-content {
        text-align: left; /* Левый край для планшетов */
    }
}

@media (max-width: 768px) {
    .salon-top-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .salon-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .salon-title i {
        font-size: 1.5rem;
    }
    
    .salon-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .salon-header {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 0.5rem 0.75rem;
    }
    
    .contact-item:hover {
        transform: none;
    }
    
    .salon-main-image {
        height: 100%;
    }
    
    .salon-info-section {
        gap: 1.5rem;
    }
    
    .description-content {
        padding: 1.5rem; /* Увеличенные отступы для мобильных */
        text-align: left; /* Левый край для мобильных */
        font-size: 1rem; /* Оптимальный размер для мобильных */
        line-height: 1.7; /* Оптимальный межстрочный интервал для мобильных */
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .girls-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .salon-header {
        padding: 1rem;
    }
    .salon-girls-section {
        padding: 1rem;
    }
    
    .salon-main-image {
        height: 100%;
    }
    
    .girl-content {
        padding: 0.6rem;
    }
    
    .girl-name {
        font-size: 0.9rem;
    }
    
    .girl-meta {
        font-size: 0.7rem;
    }
    
    .description-content {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Поддержка prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .girl-card,
    .action-btn,
    .btn-primary {
        transition: none;
    }
    
    .girl-card {
        animation: none;
    }
    
    .salon-content {
        animation: none;
    }
}

/* Стили для карточек профилей (унифицированные стили) */
.profile-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid rgba(51, 51, 51, 0.5);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    aspect-ratio: 3/4;
    text-decoration: none;
    display: block;
}

@media (hover: hover) {
    .profile-card:hover {
        transform: translateY(-8px);
        border-color: #d4af37;
        box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    }
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f4d03f);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.profile-card:hover::before {
    transform: scaleX(1);
}

.profile-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.profile-card:hover .profile-image img {
    transform: scale(1.08);
}

.profile-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.profile-card:hover .profile-image::after {
    transform: translateX(100%);
}

.profile-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20%;
    padding: 0.8rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    backdrop-filter: blur(5px);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-info h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.profile-info p {
    color: #cccccc;
    font-size: 0.8rem;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}


@media (max-width: 480px) {
    .profile-info {
        padding: 0.6rem;
    }
    
    .profile-info h3 {
        font-size: 0.9rem;
    }

    .profile-info p {
        font-size: 0.7rem;
    }
}

/* Премиум карточки (унифицированные стили) */
.premium-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid rgba(51, 51, 51, 0.5);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    aspect-ratio: 3/4;
    text-decoration: none;
    display: block;
}

@media (hover: hover) {
    .premium-card:hover {
        transform: translateY(-8px);
        border-color: #d4af37;
        box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    }
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f4d03f);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.premium-card:hover::before {
    transform: scaleX(1);
}

.premium-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.premium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.premium-card:hover .premium-image img {
    transform: scale(1.08);
}

.premium-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.premium-card:hover .premium-image::after {
    transform: translateX(100%);
}

.premium-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20%;
    padding: 0.8rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    backdrop-filter: blur(5px);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.premium-info h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.premium-info p {
    color: #cccccc;
    font-size: 0.8rem;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}


@media (max-width: 480px) {
    .premium-info {
        padding: 0.6rem;
    }
    
    .premium-info h3 {
        font-size: 0.9rem;
    }

    .premium-info p {
        font-size: 0.7rem;
    }
}
