/* Navbar Link & Appointment Button Styling */
.navbar .navbar-nav .nav-item:not(.btn-appointment) .nav-link {
    color: #ffffff !important;
    transition: color 0.25s ease-in-out;
}

.navbar .navbar-nav .nav-item:not(.btn-appointment).active .nav-link,
.navbar .navbar-nav .nav-item:not(.btn-appointment):hover .nav-link,
.navbar .navbar-nav .nav-item:not(.btn-appointment) .nav-link:hover {
    color: #BEADFA !important;
}

.navbar .navbar-nav .nav-item:not(.btn-appointment)::before,
.navbar .navbar-nav .nav-item:not(.btn-appointment)::after {
    background: #BEADFA !important;
}

.navbar .navbar-nav .nav-item.btn-appointment .nav-link {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #000000 !important;
    border-radius: 50px !important;
    padding: 11px 30px !important;
    transition: all 0.25s ease-in-out !important;
}

.navbar .navbar-nav .nav-item.btn-appointment:hover .nav-link,
.navbar .navbar-nav .nav-item.btn-appointment .nav-link:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}

/* Preloader Automatic Failsafe (Never hangs) */
.preloader {
    animation: forceHidePreloader 0.4s ease 1.2s forwards;
}
@keyframes forceHidePreloader {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.navbar{
    border-bottom: 6px solid rebeccapurple;
}
/* Footer Top & Bottom Styling */
.footer-top {
    border-top: 6px solid rebeccapurple;
}
.footer-widget a {
    color: whitesmoke !important;
    text-decoration: none !important;
    transition: color 0.2s ease, opacity 0.2s ease;
}
.footer-widget a:hover {
    color: #e2b4f8 !important;
    text-decoration: underline !important;
}
.footer-widget li {
    color: aliceblue !important;
    line-height: 24px;
}
.footer-widget li i {
    width: 20px;
    display: inline-block;
    margin-right: 6px;
    text-align: center;
}
.footer-bottom {
    background-color: rgb(96, 71, 121) !important;
    padding: 20px 0 !important;
}
.footer-bottom .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.footer-bottom .copyright {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
.footer-bottom .copyright p {
    margin: 0;
    color: whitesmoke !important;
    font-size: 13.5px !important;
    white-space: nowrap;
    letter-spacing: 0.2px;
}
.footer-bottom .aden-link {
    color: #e2d9eb !important;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}
.footer-bottom .aden-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}
.social-icons a {
    color: blanchedalmond !important;
}

/* Floating Buttons Animation & Position */
a.skew-shake-x {
    position: fixed;
    bottom: 58px;
    right: 0;
    z-index: 888;
    display: inline-block;
    animation: skew-x-shake 1.3s infinite;
}
@keyframes skew-x-shake {
    0% { transform: skewX(-15deg); }
    5% { transform: skewX(15deg); }
    10% { transform: skewX(-15deg); }
    15% { transform: skewX(15deg); }
    20% { transform: skewX(0deg); }
    100% { transform: skewX(0deg); }
}

a.vertical-shake {
    position: fixed;
    bottom: 122px;
    right: 0px;
    display: inline-block;
    z-index: 989;
    animation: vertical-shaking 0.9s infinite;
}
@keyframes vertical-shaking {
    0% { transform: translateY(0); }
    25% { transform: translateY(5px); }
    50% { transform: translateY(-5px); }
    75% { transform: translateY(5px); }
    100% { transform: translateY(0); }
}

@media (max-width: 991.98px) {
    .footer-bottom .copyright p {
        white-space: normal;
        text-align: center;
        margin-bottom: 12px;
    }
    .footer-bottom .copyright {
        justify-content: center;
    }
}

/* ==========================================================================
   Modern Gallery Styles - Reina Güzellik Sefaköy
   ========================================================================== */
.gallery-section {
    padding: 70px 0 90px;
    background: #fbfbfd;
}

.gallery-header-wrapper {
    margin-bottom: 40px;
}

.gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    background: rgba(102, 51, 153, 0.08);
    color: #663399;
    border: 1px solid rgba(102, 51, 153, 0.2);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
}

.gallery-badge i {
    color: #8a4baf;
    font-size: 14px;
}

.gallery-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e1e24;
    margin-bottom: 14px;
    line-height: 1.3;
}

.gallery-main-title span {
    color: #663399;
    position: relative;
}

.gallery-subtext {
    font-size: 16px;
    color: #63636c;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Navigation */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.gallery-filter-btn {
    border: 1px solid #e5def0;
    background: #ffffff;
    color: #555562;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.gallery-filter-btn i {
    font-size: 13px;
    opacity: 0.75;
    transition: all 0.25s ease;
}

.gallery-filter-btn:hover {
    background: #f8f4fc;
    color: #663399;
    border-color: #baa2d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 51, 153, 0.12);
}

.gallery-filter-btn.active {
    background: linear-gradient(135deg, #663399 0%, #8a4baf 100%);
    color: #ffffff;
    border-color: #663399;
    box-shadow: 0 6px 18px rgba(102, 51, 153, 0.28);
    transform: translateY(-2px);
}

.gallery-filter-btn.active i {
    opacity: 1;
    color: #ffffff;
}

/* Gallery Grid & Cards */
.gallery-grid {
    transition: all 0.4s ease;
}

.gallery-item {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hidden {
    display: none !important;
    opacity: 0;
    transform: scale(0.9);
}

.gallery-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(102, 51, 153, 0.2);
}

.gallery-card a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

.gallery-card:hover img {
    transform: scale(1.07);
}

/* Modern Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(23, 16, 33, 0.94) 0%, rgba(23, 16, 33, 0.42) 50%, rgba(23, 16, 33, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.overlay-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-8px);
    transition: transform 0.35s ease;
}

.gallery-card:hover .overlay-top {
    transform: translateY(0);
}

.card-category-badge {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.overlay-center {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-card:hover .overlay-center {
    opacity: 1;
    transform: scale(1);
}

.zoom-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #663399;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background 0.2s ease;
}

.zoom-icon-wrapper:hover {
    transform: scale(1.1);
    background: #ffffff;
    color: #4b1e77;
}

.overlay-bottom {
    transform: translateY(10px);
    transition: transform 0.35s ease;
}

.gallery-card:hover .overlay-bottom {
    transform: translateY(0);
}

.card-title {
    color: #ffffff;
    font-size: 16.5px;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-desc {
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Lightbox Modern Enhancements */
.lb-outerContainer {
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5) !important;
}
.lb-image {
    border-radius: 10px !important;
    border: none !important;
}
.lb-data .lb-caption {
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: #ffffff !important;
}
.lb-data .lb-number {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    padding-top: 4px !important;
}
.lb-nav a.lb-prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E") !important;
    background-size: 32px 32px !important;
    background-position: left 20px center !important;
    opacity: 0.65 !important;
    transition: opacity 0.2s ease !important;
}
.lb-nav a.lb-prev:hover {
    opacity: 1 !important;
}
.lb-nav a.lb-next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E") !important;
    background-size: 32px 32px !important;
    background-position: right 20px center !important;
    opacity: 0.65 !important;
    transition: opacity 0.2s ease !important;
}
.lb-nav a.lb-next:hover {
    opacity: 1 !important;
}
.lb-data .lb-close {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") !important;
    background-size: 22px 22px !important;
    opacity: 0.8 !important;
    transition: opacity 0.2s ease !important;
}
.lb-data .lb-close:hover {
    opacity: 1 !important;
}

@media (max-width: 767.98px) {
    .gallery-section {
        padding: 50px 0 70px;
    }
    .gallery-main-title {
        font-size: 26px;
    }
    .gallery-subtext {
        font-size: 14px;
    }
    .gallery-filters {
        gap: 6px;
        margin-bottom: 28px;
    }
    .gallery-filter-btn {
        padding: 7px 15px;
        font-size: 12px;
    }
    .gallery-card {
        aspect-ratio: 4 / 3;
    }
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(23, 16, 33, 0.9) 0%, rgba(23, 16, 33, 0.2) 60%, transparent 100%);
        padding: 14px;
    }
    .overlay-top {
        transform: translateY(0);
    }
    .overlay-bottom {
        transform: translateY(0);
    }
    .overlay-center {
        display: none;
    }
    .card-title {
        font-size: 14px;
    }
    .card-desc {
        font-size: 11px;
    }
}

/* ==========================================================================
   Dark Background Section - Restore Bright White Text (Screenshot 2 match)
   ========================================================================== */
section.bg-dark,
section.inverse-bg.bg-dark {
    background-color: #2f353a !important;
}

section.bg-dark h2,
section.bg-dark .text-block h2 {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    margin-bottom: 14px !important;
}

section.bg-dark p,
section.bg-dark .text-block p {
    color: #ffffff !important;
    opacity: 0.95 !important;
    font-size: 15.5px !important;
    line-height: 26px !important;
    margin-bottom: 20px !important;
}

section.bg-dark ul,
section.bg-dark .text-block ul {
    margin: 15px 0 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

section.bg-dark ul li,
section.bg-dark .text-block ul li {
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 28px !important;
    padding-left: 28px !important;
    position: relative !important;
    margin-bottom: 6px !important;
    opacity: 1 !important;
}

section.bg-dark .text-block ul li::before,
section.bg-dark ul li::before {
    color: #ffffff !important;
    content: "\f18e" !important;
    font-family: FontAwesome !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    font-size: 15px !important;
    opacity: 1 !important;
}

/* Inner Page Banner Dark & Elegant Typography */
.inner-page-banner {
    position: relative;
    background-color: #ffffff;
}

.inner-page-banner h1 {
    color: #1a1a24 !important;
    font-weight: 700 !important;
    font-size: 38px !important;
    text-transform: capitalize !important;
    margin: 0 0 16px 0 !important;
    letter-spacing: -0.3px !important;
    position: relative;
    padding-bottom: 14px !important;
}

.inner-page-banner h1::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 60px !important;
    height: 4px !important;
    background: #663399 !important;
    border-radius: 2px !important;
}

.inner-page-banner .breadcrumb {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.inner-page-banner .breadcrumb-item {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #6c757d !important;
}

.inner-page-banner .breadcrumb-item a {
    color: #4a4a58 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.inner-page-banner .breadcrumb-item a:hover {
    color: #663399 !important;
}

.inner-page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: #9c9ca8 !important;
    padding: 0 8px !important;
}

.inner-page-banner .breadcrumb-item.active {
    color: #663399 !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   Modern Minimalist Contact Cards (iletisim.html)
   ========================================================================== */
.contact-info {
    width: 100% !important;
    height: 100% !important;
    min-height: 200px;
    background: #ffffff !important;
    border: 1px solid #ebebf0 !important;
    border-radius: 18px !important;
    padding: 32px 24px !important;
    margin: 0 0 24px 0 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.contact-info:hover {
    border-color: #baa2d6 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(102, 51, 153, 0.08) !important;
}

.contact-info .icon-box {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: #f8f5fc !important;
    border: 1px solid #ede7f6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 16px auto !important;
    transition: all 0.25s ease !important;
}

.contact-info:hover .icon-box {
    background: #663399 !important;
    border-color: #663399 !important;
}

.contact-info .icon-box i {
    font-size: 20px !important;
    color: #663399 !important;
    margin: 0 !important;
    transition: all 0.25s ease !important;
}

.contact-info:hover .icon-box i {
    color: #ffffff !important;
}

.contact-info h3 {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #1e1e24 !important;
    margin: 0 0 16px 0 !important;
    letter-spacing: 0.2px;
}

/* Contact Rows & Clean Details */
.contact-lines-wrapper {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 0 auto !important;
    text-align: left !important;
}

.contact-clean-line {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #2b2b36 !important;
    text-decoration: none !important;
    margin: 0 !important;
    line-height: 24px !important;
    white-space: nowrap !important;
    transition: color 0.2s ease !important;
}

.contact-clean-line:hover {
    color: #663399 !important;
}

/* Identical Icon Sizes & Perfect Alignment */
.contact-icon-item {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    font-size: 16px !important;
    line-height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.contact-icon-item.phone-icon {
    color: #663399 !important;
    font-size: 16px !important;
}

.contact-icon-item.wp-icon {
    color: #25d366 !important;
    font-size: 17px !important;
}

.contact-icon-item.mail-icon {
    color: #663399 !important;
    font-size: 15px !important;
}

.contact-icon-item.web-icon {
    color: #663399 !important;
    font-size: 15px !important;
}

.contact-icon-item.address-icon {
    color: #663399 !important;
    font-size: 17px !important;
}

.address-sub-clean {
    font-size: 14px !important;
    color: #63636c !important;
    line-height: 22px !important;
    display: inline-block !important;
    margin: 0 !important;
}

/* ==========================================================================
   Mobile & Tablet Slider Positioning
   1. ve 2. slider modellerini 3. slider gibi içeri kaydırarak görünür yapma
   ========================================================================== */
@media (max-width: 991.98px) {
    /* 1. Slider (slide-3.jpg) - çok hafif içe kaydırarak çiçeği ve yüzü tam göster */
    #banner .carousel-item:nth-child(1),
    #banner .carousel-item.slide-item-1 {
        background-position: 55% center !important;
    }

    /* 2. Slider (slide-1.jpg) - sadece yüzün tam kadraja girmesi için hafif içe kaydır */
    #banner .carousel-item:nth-child(2),
    #banner .carousel-item.slide-item-2 {
        background-position: 63% center !important;
    }

    /* 3. Slider (slide-2.jpg) - tablet ekranlarında modelin yüzünü tam kadraja alma */
    #banner .carousel-item:nth-child(3),
    #banner .carousel-item.slide-item-3 {
        background-position: 72% center !important;
    }

    /* Metin alanının modelin üzerine taşmaması için genişliği sınırla */
    #banner .hero-text {
        max-width: 58% !important;
    }
}

/* ==========================================================================
   Hero Banner Typography & Readability
   Yazıların hizalı, net kontrastlı ve rahat okunur olması için geliştirmeler
   ========================================================================== */
#banner .hero-text h6 {
    color: #6c757d !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
}

#banner .hero-text h1 {
    color: #1a1a1a !important;
    font-weight: 700 !important;
}

#banner .hero-text p {
    color: #495057 !important;
    font-size: 15px !important;
    line-height: 24px !important;
}

@media (max-width: 575.98px) {
    /* Mobil telefon ekranlarında (360px - 430px) modellerin yazıya değmeden tam görünmesi */
    #banner .carousel-item:nth-child(1),
    #banner .carousel-item.slide-item-1 {
        background-position: 56% center !important;
    }

    #banner .carousel-item:nth-child(2),
    #banner .carousel-item.slide-item-2 {
        background-position: 64% center !important;
    }

    #banner .carousel-item:nth-child(3),
    #banner .carousel-item.slide-item-3 {
        background-position: 78% center !important;
    }

    /* Dar ekranda yazının modellerin yüzüne binmesini kesin olarak engelle ve hizala */
    #banner .hero-text {
        max-width: 56% !important;
    }

    #banner .hero-text h6 {
        font-size: 12px !important;
        line-height: 16px !important;
        margin-bottom: 6px !important;
    }

    #banner .hero-text h1 {
        font-size: 21px !important;
        line-height: 28px !important;
        margin-bottom: 10px !important;
        font-weight: 700 !important;
    }

    #banner .hero-text p {
        font-size: 13px !important;
        line-height: 20px !important;
        color: #3f3f46 !important;
        margin-bottom: 14px !important;
    }

    #banner .hero-text .btn {
        padding: 8px 18px !important;
        font-size: 13px !important;
        line-height: 18px !important;
        border-radius: 20px !important;
    }
}




