
/* ================== СТИЛИ НАВИГАЦИОННОЙ СТРОКИ ПУТИ ================== */

.tattoo-page-path {
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-family: 'Bellota Text', system-ui, sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    width: 100%;
    margin-top: 20px;
}

.tattoo-page-path .path-link {
    color: rgba(225, 219, 232, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    padding: 2px 6px;
    border-radius: 4px;
}

.tattoo-page-path .path-link:hover {
    color: #a300ff;
}

.tattoo-page-path .path-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
}

.tattoo-page-path .path-current {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* === БЛОК УСЛУГИ ТАТУИРОВКИ === */

/* Контейнер блока */
.tattoo-service-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

.tattoo-service-wrapper {
    width: 100%;
}

/* Заголовок слева */
.tattoo-service-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 50px;
    position: relative;
    padding-left: 10px;
    text-align: left;
}

/* Контейнер с описанием и видео - теперь они в одном родительском контейнере */
.tattoo-content-container {
    display: flex;
    gap: 40px;
    align-items: stretch; /* Растягиваем дочерние элементы по высоте */
    height: 570px; /* Фиксированная высота как у видео */
}

/* Левая часть с описанием на стеклянном фоне */
.tattoo-description-glass {
    flex: 1;
    display: flex;
    height: 100%; /* Занимает всю высоту родительского контейнера */
}

.glass-background {
    width: 100%;
    padding: 40px;
    background: rgba(23, 19, 33, 0.299); /* Темно-фиолетовый с прозрачностью */
    backdrop-filter: blur(8px); /* Эффект размытия */
    -webkit-backdrop-filter: blur(15px); /* Для Safari */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Тонкая светлая обводка */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    height: 100%; /* Занимает всю высоту */
    box-sizing: border-box; /* Важно! */
    overflow: hidden; /* Чтобы контент не выходил за границы */
}

/* Эффект свечения по краям */
.glass-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Контейнер для контента внутри стеклянного фона */
.glass-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    overflow-y: auto;
    padding-right: 5px;
}

/* Стилизация скроллбара для .glass-content */
.glass-content::-webkit-scrollbar {
    width: 6px;
}

.glass-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.glass-content::-webkit-scrollbar-thumb {
    background: rgba(157, 78, 221, 0.5);
    border-radius: 3px;
}

.glass-content::-webkit-scrollbar-thumb:hover {
    background: rgba(177, 98, 234, 0.7);
}

.tattoo-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    line-height: 1.7;
}

.tattoo-description:first-child {
    margin-top: 0;
}

/* Кнопки */
.tattoo-buttons {
    display: flex;
    gap: 20px;
    margin-top: 0;
    padding-top: 20px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* Базовая стилизация для всех кнопок */
.tattoo-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Bellota Text', sans-serif;
    box-sizing: border-box;
}

/* Кнопка "Портфолио" */
.btn-portfolio {
    background: rgba(157, 78, 221, 0.4);
    border: 2px solid rgba(157, 78, 221, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: auto;
    min-width: 180px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-portfolio:hover { 
    background: rgba(177, 98, 234, 0.5);
    border-color: rgba(177, 98, 234, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.35);
}

.btn-portfolio:active {
    transform: translateY(-1px);
}

/* Кнопка "Записаться" */
.btn-appointment {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: auto;
    min-width: 180px;
    max-width: 100%;
    height: auto;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        inset 0 -1px 1px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Эффект свечения для кнопки "Записаться" */
.btn-appointment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.2) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.btn-appointment:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.2) 100%
    );
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 
        0 10px 25px rgba(255, 255, 255, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        inset 0 -1px 1px rgba(0, 0, 0, 0.05);
}

.btn-appointment:active {
    transform: translateY(-1px);
}

/* Правая часть с видео 9:16 */
.tattoo-video-container {
    flex: 0 0 320px;
    display: flex;
    height: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    height: 100%;
}

/* Плейсхолдер видео */
/* Новый код: */
.video-placeholder {
    width: 100%;
    height: 100%;
    background: #000; /* Просто черный фон */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Добавляем затемнение поверх видео для лучшей видимости кнопки */
.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}


/* Если хотите добавить затемнение при наведении */
.video-placeholder:hover::before {
    background: rgba(0, 0, 0, 0.3);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(163, 0, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 3px solid rgba(163, 0, 255, 0.5);
    transition: all 0.3s ease;
    z-index: 2;
}

.video-placeholder:hover .play-button {
    background: rgba(163, 0, 255, 0.3);
    border-color: rgba(163, 0, 255, 0.7);
    transform: scale(1.1);
}

.play-button i {
    font-size: 30px;
    color: rgba(163, 0, 255, 0.8);
    margin-left: 5px;
}

.video-label {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    text-align: center;
    padding: 0 15px;
}

/* === АДАПТИВНОСТЬ === */
/* === АДАПТИВНОСТЬ === */

/* Для экранов 1040px и меньше - ЦЕНТРИРУЕМ ВСЕ */
@media (max-width: 1040px) {
    .tattoo-page-path {
        font-size: 15px;
        margin-bottom: 12px;
        justify-content: center; /* ЦЕНТР */
    }
    
    .tattoo-service-title {
        font-size: 36px;
        text-align: center; /* ЦЕНТР */
        margin-bottom: 40px;
        padding-left: 0; /* Убираем левый отступ при центрировании */
    }
}

/* Для планшетов и небольших ноутбуков (1024px и меньше) */
@media (max-width: 1024px) {
    .tattoo-content-container {
        flex-direction: column;
        gap: 50px;
        align-items: center;
        height: auto;
    }
    
    .tattoo-description-glass {
        width: 100%;
        max-width: 800px;
        height: auto;
    }
    
    .glass-background {
        height: auto;
        padding: 30px;
    }
    
    .glass-content {
        overflow-y: visible;
        justify-content: flex-start;
        padding-right: 0;
    }
    
    .tattoo-video-container {
        width: 100%;
        max-width: 320px;
        flex: 0 0 auto;
        height: 500px;
    }
    
    .tattoo-description {
        font-size: 17px;
    }
    
    .tattoo-buttons {
        gap: 15px;
        margin-top: 0px;
        padding-bottom: 20px;
    }
    
    .btn-portfolio,
    .btn-appointment {
        padding: 10px 20px;
        font-size: 16px;
        min-width: 160px;
    }
}

/* Для планшетов (768px и меньше) */
@media (max-width: 768px) {
    .tattoo-service-section {
        padding: 40px 15px;
    }
    
    .glass-background {
        padding: 25px;
    }
    
    .tattoo-description {
        font-size: 16px;
    }
    
    .tattoo-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 0px;
        padding-bottom: 20px;
    }
    
    .tattoo-video-container {
        height: 450px;
    }
    
    .btn-portfolio,
    .btn-appointment {
        padding: 10px 18px;
        font-size: 15px;
        min-width: 150px;
    }
    
    /* Уточняем центрирование для 768px */
    .tattoo-page-path {
        font-size: 14px;
        margin-bottom: 10px;
        justify-content: center;
        margin-top: 10px;
    }
    
    .tattoo-service-title {
        font-size: 34px; /* Немного меньше для планшетов */
        text-align: center;
        margin-bottom: 40px;
    }
}

/* Для мобильных телефонов (480px и меньше) */
@media (max-width: 480px) {
    .tattoo-service-title {
        font-size: 28px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .glass-background {
        padding: 20px;
        border-radius: 16px;
    }
    
    .tattoo-description {
        font-size: 15px;
        margin-bottom: 15px;
        line-height: 1.6;
    }
    
    .tattoo-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 0px;
        padding-bottom: 20px;
    }
    
    .tattoo-video-container {
        height: 400px;
    }
    
    .play-button {
        width: 70px;
        height: 70px;
    }
    
    .play-button i {
        font-size: 25px;
    }
    
    .btn-portfolio,
    .btn-appointment {
        width: 100%;
        max-width: 250px;
        min-width: auto;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    /* Навигация для 480px */
    .tattoo-page-path {
        font-size: 13px;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .tattoo-page-path .path-separator {
        margin: 0 5px;
    }
}

/* Для очень маленьких экранов (360px и меньше) */
@media (max-width: 360px) {
    .tattoo-service-title {
        font-size: 24px;
    }
    
    .tattoo-video-container {
        height: 350px;
    }
    
    .glass-background {
        padding: 18px 15px;
    }
    
    .tattoo-description {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .btn-portfolio,
    .btn-appointment {
        width: 100%;
        max-width: 220px;
        padding: 10px 15px;
        font-size: 14px;
    }
    
    /* Навигация для 360px */
    .tattoo-page-path {
        font-size: 12px;
    }
}

/* ДОБАВЬТЕ ЭТО В КОНЕЦ ФАЙЛА CSS */

/* Стили для видео, которое скрыто по умолчанию */
.tattoo-video {
    display: none; /* Скрываем видео по умолчанию */
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Позиционирование для правильного отображения */
.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    height: 100%;
    background: #000; /* Черный фон на случай если видео не загрузится */
}

/* Когда плейсхолдер скрыт, показываем видео */
.video-placeholder.hidden {
    display: none;
}

.video-placeholder.hidden + .tattoo-video {
    display: block;
}

/* Альтернативный вариант через JS - класс для показа видео */
.video-wrapper.show-video .video-placeholder {
    display: none;
}

.video-wrapper.show-video .tattoo-video {
    display: block;
}

/* Адаптивность для видео контейнера */
@media (max-width: 1024px) {
    .tattoo-video-container {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .tattoo-video-container {
        height: 450px;
    }
}

@media (max-width: 480px) {
    .tattoo-video-container {
        height: 400px;
    }
}

@media (max-width: 360px) {
    .tattoo-video-container {
        height: 350px;
    }
}