body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.container-fluid {
    padding: 0;
}

nav {
    background-color: #343a40;
    padding: 10px;
}

icons {
    display: none;
}

.social-icon-mini {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon-mini:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}


.menu {
    transition: background-color 0.3s ease;
}

.menu.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

nav a {
    color: white;
    margin-right: 20px;
    text-decoration: none;
    font-size: 18px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 0%;
    margin-top: 0px; /* Default margin for larger screens */
}

.logo {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 2px #f0f8ff);
    transition: transform 0.5s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.contact-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; /* Center the elements horizontally */
    margin-top: 20px;
}

.contact-info div {
    text-align: center;
    margin: 0 15px; /* Adjusted margin for 30px space between elements */
}

.contact-info img {
    max-width: 50px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.contact-info h3 {
    color: white;
    margin: 0;
    font-size: 18px;
}

.main-content {
    margin-top: 50px;
    padding: 20px;
}
.background-container {
    background-image: url('img/Back4_70.jpg');
    background-size: cover;
    width: 100%;
    box-sizing: content-box;
    min-height: 500px;
    height: 900px;
    will-change: transform;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {

    .background-container {
        background-image: url('img/Back4_70.jpg');
        background-size: cover;
        width: 100%;
        box-sizing: content-box;
        min-height: 300px;
        height: 300px;
        will-change: transform;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    container-fluid{
    }

    nav {
        text-align: center;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }

    .logo-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 0%;
        margin-top: 0px; /* Default margin for larger screens */
    }

    .logo {
        max-width: 50%;
        height: auto;
        align-content: center;
        filter: drop-shadow(2px 2px 2px #f0f8ff);
    }

    .contact-info {
        margin-top: 10px;
    }

    .navbar-collapse {
        background-color: #343a40; /* Change the background color for better visibility */
        text-align: left;
    }

    .navbar-toggler {
        border: 1px solid rgba(255,255,255,0.1);
        padding: 0.25rem 0.75rem;
    }
}

.social-icons-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

@media (max-width: 991px) {
    .social-icons-container {
        justify-content: center;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

#pricing_title {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    font-family: 'PT Serif', serif;
    font-style: italic;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pricing-category {
    margin-bottom: 20px;
}

.nav-link.active {
    color: #d4a017 !important;
}

.nav-link.active::after {
    width: 100%;
    background-color: #d4a017;
}

.pricing-category h3 {
    font-weight: bold;
    cursor: pointer;
    font-family: 'PT Serif', serif;
    font-style: italic;
    color: #212529;
    padding: 15px;
    background-color: #f1f3f5;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.pricing-category h3:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.pricing-category h3::after {
    content: '▾';
    font-size: 20px;
    transition: transform 0.3s ease;
}

.pricing-category h3:not(.collapsed)::after {
    transform: rotate(180deg);
}

.pricing-category ul {
    list-style-type: none;
    padding: 0;
}

.pricing-category li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.pricing-category table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-family: 'PT Serif', serif;
    font-style: italic;
    table-layout: fixed;
}

.pricing-category tr {
    transition: background-color 0.2s ease;
}

.pricing-category tr:hover {
    background-color: #f8f9fa;
    cursor: default;
}

.pricing-category td {
    padding: 12px 10px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

.pricing-category .service-name {
    text-align: left;
    font-weight: 500;
    width: 60%;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pricing-category .service-price {
    text-align: right;
    font-weight: bold;
    color: #d4a017; /* A subtle gold/elegant color for prices */
    white-space: nowrap;
    width: 25%;
}

.pricing-category .duration {
    text-align: right;
    font-size: 13px;
    color: #6c757d;
    white-space: nowrap;
    padding-left: 5px;
    width: 15%;
}

@media (max-width: 576px) {
    .pricing-category .service-name {
        width: 50%;
        font-size: 15px;
    }
    .pricing-category .service-price {
        width: 30%;
        font-size: 15px;
    }
    .pricing-category .duration {
        width: 20%;
        font-size: 12px;
    }
    .pricing-category td {
        padding: 12px 5px;
    }
    .pricing-category h3 {
        font-size: 18px;
        padding: 12px;
    }
}

.contact-section_down {
    background-color: #212529;
    color: white;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.contact-info_down {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.contact-info_down div {
    margin-bottom: 20px;
}

.contact-info_down img {
    max-width: 50px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

#map {
    height: 700px; /* Adjust the height as needed */
    width: 100%; /* Full width */
}

/* ---- Category service pages ---- */

.category-page {
    padding-top: 40px;
    padding-bottom: 40px;
    max-width: 900px;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
}

.category-h1 {
    font-family: 'PT Serif', serif;
    font-style: italic;
    font-weight: bold;
    font-size: 32px;
    color: #212529;
    margin-bottom: 20px;
}

.category-intro {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 30px;
}

.category-intro a.phone-link {
    color: #b5860f;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dotted #b5860f;
}

.category-intro a.phone-link:hover {
    border-bottom-style: solid;
}

.category-intro .brand-tag {
    display: inline-block;
    padding: 1px 10px;
    background: #fbf1da;
    color: #9c6f0c;
    border: 1px solid #e8c874;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.92em;
    white-space: nowrap;
    line-height: 1.6;
}

.precautions {
    margin: 10px 0 35px;
}

.precautions h2 {
    font-family: 'PT Serif', serif;
    font-style: italic;
    font-weight: bold;
    font-size: 24px;
    color: #212529;
    margin-bottom: 16px;
}

.precaution-card {
    background: #f8f9fa;
    border-left: 4px solid #d4a017;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 14px;
}

.precaution-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #212529;
}

.precaution-card p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

.precaution-card ul {
    margin: 0;
    padding-left: 20px;
    color: #333;
    line-height: 1.8;
}

.precaution-card.avoid {
    border-left-color: #c94f4f;
}

.precaution-card.why {
    border-left-color: #d4a017;
    background: #fdf8ee;
}

.precaution-card.contraindications {
    border-left-color: #c17817;
}

.precaution-card.postpone {
    border-left-color: #6c757d;
}

.precaution-card.correction {
    border-left-color: #4a7c59;
}

.precautions-note {
    font-style: italic;
    color: #555;
    margin: 6px 4px 0;
}

.precaution-card ul.checklist {
    list-style: none;
    padding-left: 0;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 20px 0;
}

.process-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.process-step .step-number {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #d4a017;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    font-family: 'PT Serif', serif;
}

.process-step .step-content h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 4px 0 6px;
    color: #212529;
}

.process-step .step-content p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

.category-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(180px, 45%), 1fr));
    gap: 10px;
    margin-bottom: 30px;
}

.gallery-item {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f3f5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.gallery-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox-overlay.open {
    display: flex;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: fixed;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    z-index: 1051;
}

body.lightbox-open {
    overflow: hidden;
}

.related-services {
    margin: 30px 0;
    padding: 20px;
    background-color: #f1f3f5;
    border-radius: 8px;
}

.related-services h2 {
    font-family: 'PT Serif', serif;
    font-style: italic;
    font-size: 20px;
    margin-bottom: 12px;
}

.related-services a {
    display: inline-block;
    margin: 4px 10px 4px 0;
    color: #212529;
    text-decoration: underline;
}

.category-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.btn-cta {
    display: inline-block;
    background-color: #d4a017;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-cta:hover {
    background-color: #b5860f;
    color: #fff;
    text-decoration: none;
}

.btn-cta-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.btn-cta-instagram:hover {
    background: linear-gradient(45deg, #d97d1f, #c95328, #bb1f38, #a91d57, #99136e);
}

/* Services teaser grid on homepage */
.services-teaser {
    padding: 40px 15px;
    max-width: 1100px;
    margin: 0 auto;
}

.services-teaser h2 {
    text-align: center;
    font-family: 'PT Serif', serif;
    font-style: italic;
    font-size: 28px;
    margin-bottom: 25px;
}

.services-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(160px, 45%), 1fr));
    gap: 12px;
}

.services-teaser-grid a {
    display: block;
    text-align: center;
    padding: 16px 8px;
    background-color: #f1f3f5;
    border-radius: 8px;
    color: #212529;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.services-teaser-grid a:hover {
    background-color: #d4a017;
    color: #fff;
    transform: translateY(-2px);
}

.dropdown-menu {
    font-family: 'Arial', sans-serif;
}

.dropdown-item:active {
    background-color: #d4a017;
}