/********** CarServ Template - Yavuz Oto Elektrik & Takoğraf Yetkili Servisi **********/
:root {
    --primary: #D81324;
    --primary-gold: #e5a93c;
    --primary-blue: #0288d1;
    --secondary: #0B2154;
    --light: #F2F2F2;
    --dark: #111111;
    --whatsapp: #25D366;
    --whatsapp-hover: #1ebd58;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background-color: #ffffff;
    color: #555555;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
}

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

.back-to-top {
    position: fixed;
    display: none;
    right: 25px;
    bottom: 85px;
    z-index: 99;
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 4px;
}

.back-to-top:hover {
    background-color: var(--secondary);
    color: #ffffff;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

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

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

.btn.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background-color: #b70f1e;
    border-color: #b70f1e;
    color: #FFFFFF;
}

.btn.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #FFFFFF;
}

.btn.btn-whatsapp {
    background-color: var(--whatsapp);
    border-color: var(--whatsapp);
    color: #FFFFFF;
}

.btn.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    border-color: var(--whatsapp-hover);
    color: #FFFFFF;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 4px;
}

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

.navbar-brand-img {
    height: 74px;
    width: auto;
    max-width: 520px;
    object-fit: contain;
    background: transparent;
    border: none;
    padding: 0;
    transition: transform .3s ease;
}

.navbar-brand-img:hover {
    transform: scale(1.02);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 30px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
    transition: .3s;
}

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

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

    .navbar-brand-img {
        height: 52px;
        max-width: 320px;
    }
}

@media (max-width: 576px) {
    .navbar-brand-img {
        height: 46px;
        max-width: 270px;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 85px;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

/*** Mobile Offcanvas Side Drawer Menu ***/
.offcanvas.offcanvas-end {
    width: 300px;
    background: #ffffff;
    z-index: 1060;
}

.offcanvas-header {
    background: #f8fafc;
}

.nav-link-mobile {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    border-radius: 8px;
    transition: all .2s ease;
}

.nav-link-mobile:hover,
.nav-link-mobile.active {
    background-color: #fee2e2;
    color: var(--primary);
}

/*** Service Full-Width Feature Cards (Clean, No stock images) ***/
.service-detail-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.service-feature-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: .3s;
}

.service-feature-box:hover {
    background: #ffffff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/*** Carousel & Hero Responsive Tuning ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 15, 23, .80);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.hero-side-img {
    max-height: 340px;
    width: auto;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 991.98px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 560px;
    }

    #header-carousel .carousel-item img.carousel-bg-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-caption {
        padding: 40px 15px 50px;
    }

    .hero-title {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
    }

    .hero-desc {
        font-size: 1rem !important;
        line-height: 1.45 !important;
    }

    .hero-buttons .btn {
        padding: 12px 18px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    #header-carousel .carousel-item {
        min-height: 540px;
    }

    .carousel-caption {
        padding: 25px 12px 35px;
    }

    .hero-badge {
        font-size: 0.8rem !important;
        margin-bottom: 6px !important;
    }

    .hero-title {
        font-size: 1.45rem !important;
        line-height: 1.22 !important;
        margin-bottom: 8px !important;
    }

    .hero-desc {
        font-size: 0.88rem !important;
        line-height: 1.35 !important;
        margin-bottom: 12px !important;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
        margin: 0 !important;
    }
}

/*** Mobile Accordion for 6 Services ***/
.service-accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.service-accordion-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: #f8fafc;
    border: none;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--secondary);
    text-align: left;
    transition: background-color .3s ease, color .3s ease;
}

.service-accordion-button:not(.collapsed) {
    background: var(--primary);
    color: #ffffff;
}

.service-accordion-button:not(.collapsed) i.service-icon {
    color: #ffffff !important;
}

.service-accordion-button:not(.collapsed) i.accordion-arrow {
    transform: rotate(180deg);
    color: #ffffff !important;
}

.service-accordion-button i.accordion-arrow {
    transition: transform .3s ease;
}

.service-accordion-body {
    padding: 20px 16px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

/*** Fact / Trust Bar ***/
.fact-item {
    transition: .4s;
    border: 1px solid #e2e8f0;
}

.fact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/*** Service ***/
.service .nav .nav-link {
    background: var(--light);
    border-radius: 6px;
    transition: .4s;
    border: 1px solid #e2e8f0;
}

.service .nav .nav-link.active {
    background: var(--primary);
    border-color: var(--primary);
}

.service .nav .nav-link.active h5,
.service .nav .nav-link.active i {
    color: #FFFFFF !important;
}

/*** Booking / Service Request Form ***/
.booking {
    background: linear-gradient(rgba(11, 15, 23, .88), rgba(11, 15, 23, .88)), url(../img/dukkan_genis_cekim.jpg) center center no-repeat;
    background-size: cover;
}

.booking .form-control,
.booking .form-select {
    height: 55px;
    border-radius: 4px;
}

.booking textarea.form-control {
    height: auto;
}

/*** Google Reviews Section & Cards ***/
.google-rating-summary {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.review-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    height: 100%;
    transition: .3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.review-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0B2154, #D81324);
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.review-stars {
    color: #f59e0b;
    font-size: 0.9rem;
}

/*** Footer ***/
.footer {
    background: linear-gradient(rgba(7, 10, 16, .97), rgba(7, 10, 16, .97)), url(../img/dukkan_on_cephe.jpg) center center no-repeat;
    background-size: cover;
}

.footer-logo-img {
    max-width: 280px;
    height: auto;
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

.footer .btn.btn-social {
    margin-right: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: #ffffff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    color: #cbd5e1;
    font-size: 15px;
    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;
    margin-right: 10px;
    color: var(--primary);
}

.footer .btn.btn-link:hover {
    color: #ffffff;
    padding-left: 5px;
    text-decoration: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a {
    color: var(--light);
}

/*** Mobile Sticky Action Bar ***/
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0B0F17;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    z-index: 1040;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.35);
}

.mobile-sticky-actions {
    display: flex;
    gap: 8px;
}

.mobile-sticky-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 6px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 6px;
    line-height: 1.2;
}

@media (max-width: 767.98px) {
    .mobile-sticky-bar {
        display: block;
    }
    body {
        padding-bottom: 56px;
    }
}

/*** Cookie Consent Bottom Strip (Şerit Tasarım) ***/
.cookie-bar-strip {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 15, 23, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 2px solid var(--primary);
    padding: 10px 20px;
    z-index: 9999;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s;
}

.cookie-bar-strip.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-bar-strip .cookie-text {
    font-size: 0.84rem;
    color: #e2e8f0;
    line-height: 1.35;
    margin-bottom: 0;
}

.cookie-bar-strip .cookie-btn-accept {
    background: var(--primary);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 6px;
    border: none;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.cookie-bar-strip .cookie-btn-accept:hover {
    background: #b90e1c;
    color: #ffffff;
}

.cookie-bar-strip .cookie-btn-settings {
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 6px 12px;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.cookie-bar-strip .cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .cookie-bar-strip {
        bottom: 54px; /* Sits directly above mobile sticky action bar */
        padding: 8px 12px;
    }

    .cookie-bar-strip .cookie-text {
        font-size: 0.74rem;
        line-height: 1.25;
        text-align: center;
    }

    .cookie-bar-strip .cookie-actions {
        width: 100%;
        display: flex;
        gap: 6px;
    }

    .cookie-bar-strip .cookie-btn-accept {
        flex: 1;
        padding: 5px 8px;
        font-size: 0.78rem;
    }

    .cookie-bar-strip .cookie-btn-settings {
        flex: 1;
        padding: 5px 8px;
        font-size: 0.76rem;
    }
}