/********** Template CSS **********/

/* Theme override: replace orange primary with matte red */
:root {
    --bs-primary: #B02A37;
}

/* Ensure all Bootstrap primary utilities follow the override */
.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.border-primary {
    border-color: var(--bs-primary) !important;
}

.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-outline-primary {
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}


/*** Page loader (LinYang logo: grayscale → full color) ***/
#spinner.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease-out, visibility 0s linear 0.55s;
}

#spinner.page-loader.show {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.35s ease-out, visibility 0s linear 0s;
}

.page-loader__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.page-loader__logo {
    display: block;
    width: min(280px, 72vw);
    height: auto;
    filter: grayscale(100%) contrast(1.06) brightness(0.98);
    opacity: 0.86;
    transform: scale(0.94);
    transition:
        filter 1.15s cubic-bezier(0.33, 1, 0.68, 1),
        opacity 0.95s ease,
        transform 1s cubic-bezier(0.34, 1.2, 0.64, 1);
    will-change: filter, transform, opacity;
}

#spinner.page-loader.page-loader--color .page-loader__logo {
    filter: grayscale(0%) contrast(1) brightness(1);
    opacity: 1;
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    #spinner.page-loader,
    .page-loader__logo {
        transition-duration: 0.01ms !important;
    }

    #spinner.page-loader.page-loader--color .page-loader__logo {
        filter: none;
        transform: none;
    }
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    background: rgba(0, 0, 0, .7);
    padding: 3rem;
    padding-left: 11rem;
    z-index: 1;
}

.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 80px;
    flex-direction: column;
    margin: 0;
    margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .carousel .carousel-item {
        position: relative;
        min-height: 600px;
    }
    
    .carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }

    .carousel .carousel-caption {
        padding-left: 10rem;
    }
}

@media (max-width: 768px) {
    .carousel .carousel-item {
        min-height: 500px;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }

    .carousel .carousel-caption {
        padding-left: 9rem;
    }
}

@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 7rem;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

/* İç sayfa başlığı — fotoğrafsız, kompakt şerit (pageHeaderStart + hizmet detay) */
.page-heading-strip {
    background: linear-gradient(180deg, #fbfbfc 0%, #f4f5f7 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-heading-strip__accent {
    display: block;
    width: 3px;
    min-height: 2.25rem;
    margin-top: 0.15em;
    border-radius: 2px;
    background: var(--bs-primary);
    flex-shrink: 0;
}

.page-heading-strip__title {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: clamp(1.05rem, 2.6vw, 1.35rem);
    letter-spacing: 0.07em;
    line-height: 1.25;
}

.page-heading-strip__eyebrow {
    letter-spacing: 0.12em;
}

.page-heading-strip__crumbs {
    flex-wrap: wrap;
    row-gap: 0.2rem;
    font-size: 0.75rem;
    padding: 0;
    background: transparent;
}

.page-heading-strip__crumbs .breadcrumb-item + .breadcrumb-item {
    padding-left: 0.35rem;
}

.page-heading-strip__crumbs .breadcrumb-item + .breadcrumb-item::before {
    padding-right: 0.35rem;
    color: rgba(0, 0, 0, 0.28);
}

.page-heading-strip__link {
    color: var(--bs-primary);
    text-decoration: none;
}

.page-heading-strip__link:hover {
    text-decoration: underline;
}

.page-heading-strip__crumbs .breadcrumb-item.active {
    color: rgba(33, 37, 41, 0.55);
}

.letter-spacing-1 {
    letter-spacing: 0.14em;
}


/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid var(--bs-primary);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}


/*** Features ***/
.feature {
    background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 1) 50%), url(../img/carousel-1.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.feature-icon {
    position: relative;
    transition: .5s;
}

.feature-item:hover .feature-icon {
    margin-left: 3rem;
}

.feature-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--bs-secondary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.feature-item a:hover {
    color: var(--bs-primary) !important;
}

.feature-item a:hover::after {
    background: var(--bs-primary);
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Service detail (ürün sayfası — .service şablonundan bağımsız, mobilde kayma yok) ***/
.service-detail-page {
    overflow-x: clip;
}

.service-detail-hero__text {
    min-width: 0;
}

.service-detail-hero__media {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #e9ecef;
    aspect-ratio: 4 / 3;
    box-shadow: 0 0.35rem 1.5rem rgba(0, 0, 0, 0.08);
}

.service-detail-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-hero__title {
    font-family: "Roboto", sans-serif;
    font-weight: 800;
    font-size: clamp(1.2rem, 3.2vw, 1.65rem);
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.service-detail-hero__excerpt {
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    line-height: 1.55;
    max-width: 36rem;
}

.service-detail-body-wrap .service-detail-body__heading {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.service-detail-body {
    font-size: 1rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (min-width: 992px) {
    .service-detail-body {
        font-size: 1.05rem;
    }
}

.service-detail-related {
    background: linear-gradient(180deg, #fafbfc 0%, #f1f3f5 100%);
}

.service-detail-related__title {
    font-family: "Roboto", sans-serif;
    font-weight: 800;
    font-size: clamp(1.1rem, 2.8vw, 1.45rem);
    letter-spacing: 0.06em;
    line-height: 1.25;
}

.service-detail-related__lead {
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-detail-related__card {
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--bs-white);
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 0.2rem 0.85rem rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.service-detail-related__card:hover {
    box-shadow: 0 0.45rem 1.25rem rgba(0, 0, 0, 0.1);
    border-color: rgba(176, 42, 55, 0.25);
    transform: translateY(-2px);
}

.service-detail-related__card:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.service-detail-related__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9ecef;
}

.service-detail-related__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.service-detail-related__card:hover .service-detail-related__img {
    transform: scale(1.03);
}

.service-detail-related__body {
    padding: 1rem 1.125rem 0.5rem;
}

.service-detail-related__card-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

.service-detail-related__excerpt {
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-detail-related__footer {
    padding: 0 1.125rem 1.125rem;
}

.service-detail-related__cta {
    pointer-events: none;
}

.service-detail-related__card:hover .service-detail-related__cta {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}


/*** Appoinment ***/
.appoinment {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-2.jpg) left center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Appoinment ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}