body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    color: #333;
}

header.hero-header {
    background-image: url("images/farb-brunet.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

header.hero-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.header-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 20px;
    /* зменшено з 40px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    box-sizing: border-box;
}

.logo span {
    color: #e91e63;
    /* рожево-червоний акцент */
    font-family: 'Playfair Display', serif;
}

.nav-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    color: white;
    max-width: 40%;
    flex-wrap: wrap;
    word-break: break-word;
}

.nav-contact nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-contact nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.nav-contact nav a {
    margin-left: 15px;
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.contact-info {
    font-size: 14px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.main-nav a:hover {
    color: #ffd1dc;
}

.contact-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 8px 12px;
    border-radius: 8px;
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 10;
}

.tooltip {
    position: relative;
    cursor: pointer;
}

.tooltip::after {
    content: attr(title);
    position: absolute;
    top: -30px;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tooltip:hover::after {
    opacity: 1;
}

.separator {
    color: #ccc;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 90%;
    padding: 20px;
}

.static-text {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

#typing-text {
    font-weight: 600;
    color: #e91e63;
    white-space: nowrap;
    border-right: 2px solid #e91e63;
    animation: blink 0.7s infinite;
    font-size: 1.5em;
    text-align: center;
    overflow: visible;
    /* 👈 важливо! */
    width: fit-content;
    margin: 20px auto;
}

.no-cursor {
    border-right: none;
    animation: none;
}

@keyframes blink {

    0%,
    100% {
        border-color: transparent;
    }

    50% {
        border-color: #e91e63;
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}



.portfolio-section {
    background-image: url('images/strizka.jpg');
    /* заміни на свій шлях */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    color: #fff;
    /* світлий текст на темному фоні */
    text-align: center;
    position: relative;
}

.portfolio-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #b85c8e;
    /* рожевий акцент */
    margin-bottom: 1em;
    position: relative;
}

.portfolio-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #b85c8e;
    margin: 10px auto 0;
    border-radius: 2px;
}

.service-card {
    display: inline-block;
    margin: 10px 20px;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.service-card:hover {
    color: #b85c8e;
}


.booking-form {
    background-color: white;
    padding: 20px;
    border-radius:
}

.hair-slider-section {
        padding: 40px 20px;
        background-color: #fff;
        text-align: center;
    }

    .hair-slider-section h2 {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .slider-description {
        font-size: 1.1em;
        margin-bottom: 30px;
        color: #555;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

                .swiper {
                    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
                }
    
        .swiper-slide {
            display: flex;
            justify-content: center;
            /* Центрує фото по горизонталі */
            align-items: center;
            /* Центрує фото по вертикалі */
        }
    
        .swiper-slide img {
            max-width: 100%;
            max-height: 600px;
            object-fit: contain;
            /* Забезпечує повне відображення фото без обрізання */
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            transition: transform 0.5s ease;
        }

                                  
        .hair-slider-section {
                                    padding: 60px 20px;
                                    background: url('images/logo.jpg') no-repeat center center;
                                    background-size: cover;
                                    text-align: center;
                                    color: #fff;
                                    position: relative;
                                    z-index: 1;
                                }
                
                                .hair-slider-section::before {
                                    content: "";
                                    position: absolute;
                                    top: 0;
                                    left: 0;
                                    width: 100%;
                                    height: 100%;
                                    background-color: rgba(0, 0, 0, 0.4);
                                    /* затемнення для читабельності */
                                    z-index: -1;
                                }
                
                                .hair-slider-section h2 {
                                    font-size: 2em;
                                    margin-bottom: 10px;
                                    position: relative;
                                    z-index: 2;
                                }
                
                                .slider-description {
                                    font-size: 1.1em;
                                    margin-bottom: 30px;
                                    color: #eee;
                                    max-width: 700px;
                                    margin-left: auto;
                                    margin-right: auto;
                                    position: relative;
                                    z-index: 2;
                                }

    .hair-color-hero {
    background-image: url("images/logo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px;
    position: relative;
    color: #fff;
    text-align: center;
    border: none;
}

.hair-color-overlay {
    background-color: rgba(0, 0, 0, 0.2); /* зробимо менш темним */
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: none;
}

.swiper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
}




.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 700px;
    color: #333;
    overflow-y: auto;
    max-height: 80vh;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 28px;
    font-weight: bold;
    color: #e91e63;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 700px;
    color: #333;
    overflow-y: auto;
    max-height: 80vh;
}

.modal-content h2 {
    margin-top: 0;
    color: #e91e63;
    text-align: center;
}

.modal-content h3 {
    margin-top: 20px;
    color: #23a8ac;
}

.modal-content ul {
    list-style: none;
    padding-left: 0;
}

.modal-content li {
    margin-bottom: 5px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 28px;
    font-weight: bold;
    color: #e91e63;
    cursor: pointer;
}

.modal {
    display: none;
    /* ... */
}

.modal-content {
    /* ... */
}

.close {
    /* ... */
}


body {
    background-image: url("images/logo.jpg");
    /* заміни на свою назву файлу */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    /* якщо фон темний — текст буде читабельним */
}


.booking-form {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

/* === 📦 Контейнер секції "Процедура" === */
.treatment-slider-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* фото зліва, текст справа */
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
}

/* === 🎞️ Swiper-слайдер === */
.treatment-slider {
    flex: 1 1 700px;
    max-width: 700px;
    width: 100%;
    height: auto;
    padding-bottom: 40px;
}

.treatment-slider .swiper-wrapper {
    align-items: center;
}

.treatment-slider .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

/* === 📝 Текстовий блок === */
.slider-side-text {
    flex: 1 1 400px;
    max-width: 400px;
    padding: 20px;
    color: #080808;
    text-shadow: 0 1px 4px rgba(189, 38, 38, 0.6);
}

.text-inner {
    font-size: 22px;
    line-height: 1.9;
    font-weight: 700;
    color: #ffd1dc;
    /* чорний текст */
    text-shadow: 0 1px 2px rgba(131, 9, 9, 0.4);
    /* світла тінь для об'єму */
}


/* === 📱 Адаптація для планшетів === */
@media (max-width: 1024px) {
    .treatment-slider-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }

    .treatment-slider,
    .slider-side-text {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .slider-side-text {
        padding: 20px;
    }

    .text-inner {
        font-size: 15px;
    }
}

/* === 📱 Адаптація для мобілки === */
@media (max-width: 767px) {
    .treatment-slider-wrapper {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .treatment-slider {
        width: 100%;
        height: 100vh;
        /* Фото на весь екран */
        position: relative;
    }

                .treatment-slider .swiper-slide img {
                    width: 100%;
                    height: auto;
                    object-fit: contain;
                }

    .slider-side-text {
        background-image: url("images/logo.jpg");
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            padding: 20px;
            border-radius: 10px;
            color: #fff;
        }

    .text-inner {
        font-size: 14px;
        line-height: 1.6;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .swiper-pagination {
        bottom: 10px !important;
    }
}






/* Блок з адресою та соцмережами */

.footer-contact {
    position: relative;
    background-image: url("images/tc-ok.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 220px;
    overflow: hidden;
}

/* Блок з адресою та соцмережами */
.footer-contact-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffd700;
    font-size: 13px;
    line-height: 1.2;
    padding: 8px 12px;
    border-radius: 6px;
    max-width: 260px;
    z-index: 2;
}

.footer-contact-box p {
    margin: 3px 0;
}

/* Стиль для посилань Instagram і TikTok */
.footer-contact-box a {
    color: #ffd700;
    text-decoration: none;
    font-weight: normal;
}

.footer-contact-box a:hover {
    text-decoration: underline;
}

/* Контакти головна */
.city-tooltip {
    position: relative;
    cursor: pointer;
    color: #fff;
    /* або інший акцентний */
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.75);
    color: #ffd700;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.city-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}





