/* Public-site refinement, 2026-10-09. Existing logo, brand palette and menu JS remain in use. */
:root {
    --yc-local-ink: #192335;
    --yc-local-copy: #465164;
    --yc-local-line: #e3e6ef;
    --yc-local-surface: #f5f6fb;
    --yc-local-accent: #2f57ef;
}

body { max-width: 100%; color: var(--yc-local-copy); }
main img, main svg, main iframe { max-width: 100%; }
main img { height: auto; }
main .row > [class*="col-"], .footer-area [class*="col-"] { min-width: 0; }
p { line-height: 1.75; }
h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid var(--yc-local-accent);
    outline-offset: 4px;
}

/* Remove the original theme's negative menu margin, which covered the phone CTA. */
.header-three .menu-area { margin-bottom: 0; background: #fff; }
#header-sticky .main-menu { margin-right: 0; }
#header-sticky .logo svg { display: block; max-width: 100%; height: auto; }
#header-sticky .header-phone-cta a {
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(47, 87, 239, .14);
}

@media (min-width: 993px) {
    #header-sticky { padding: 12px 0; }
    #header-sticky .container { width: calc(100% - 48px); max-width: 1280px; padding: 0; }
    #header-sticky .second-menu > .row {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 24px;
        margin: 0;
    }
    #header-sticky .second-menu > .row > div {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        padding: 0;
    }
    #header-sticky .second-menu > .row > div:first-child { flex-basis: 195px; }
    #header-sticky .second-menu > .row > div:nth-child(2) { flex: 1 1 auto; min-width: 0; }
    #header-sticky .second-menu > .row > .col-12 { display: none; }
    #header-sticky .main-menu nav > ul {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 0 16px;
        margin: 0;
        padding: 0;
    }
    #header-sticky .main-menu nav > ul > li { margin: 0 !important; }
    #header-sticky .main-menu nav > ul > li > a {
        padding: 13px 0;
        font-size: 14px;
        line-height: 1.4;
        white-space: nowrap;
    }
    #header-sticky .header-phone-cta a { padding: 11px 16px; border-radius: 12px; }
    #header-sticky .header-phone-cta a span { font-size: 14px; }
}

/* Keep the hero within its grid instead of extending the photograph off-screen. */
.slider-four .slider-bg { min-height: 0 !important; }
.slider-four .single-slider > .container > .row {
    align-items: center;
    padding-top: clamp(40px, 6vw, 80px);
    padding-bottom: clamp(48px, 6vw, 84px);
}
.slider-four .slider-content, .slider-four .slider-content.mt-200 { margin-top: 0; }
.slider-four .slider-img { margin: 0; }
.slider-four .slider-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(25, 35, 53, .16);
}
.slider-content .yc-primary-heading,
.slider-content h1,
.slider-content h2 {
    max-width: 760px;
    margin: 0 0 24px;
    font-size: clamp(2rem, 1.25rem + 2.5vw, 3.6rem);
    line-height: 1.12;
    letter-spacing: -.035em;
    font-weight: 800;
    color: var(--yc-local-ink);
    text-wrap: balance;
}
.slider-content p { max-width: 650px; font-size: clamp(1rem, .9rem + .3vw, 1.125rem); line-height: 1.8; }
.hero-phone-cta { gap: 12px; margin-top: 26px; }
.hero-phone-cta > a { max-width: 100%; white-space: normal; }
.hero-phone-cta .btn.ss-btn, .hero-phone-cta .btn-wa { padding: 15px 22px; line-height: 1.5; }
.btn.ss-btn, .btn.header-btn { box-shadow: 0 5px 16px rgba(47, 87, 239, .16); }
.btn-wa { background: #087f46; box-shadow: 0 5px 16px rgba(8, 127, 70, .12); }
.btn-wa:hover { background: #076a3b; }

.breadcrumb-area { margin-top: 0; min-height: 0; padding-top: 54px; padding-bottom: 54px; }
.breadcrumb-title h1, .breadcrumb-title h2, .breadcrumb-title .yc-primary-heading {
    color: #fff;
    font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.025em;
    margin-bottom: 18px;
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 0; }
.project-detail h1, .makale-icerik h1 {
    font-size: clamp(1.8rem, 1.25rem + 1.8vw, 2.65rem);
    line-height: 1.22;
    letter-spacing: -.025em;
    margin-bottom: 24px;
}
.section-title h2, .about-title h2 {
    font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.5rem);
    line-height: 1.25;
    letter-spacing: -.025em;
}
.project-detail p, .makale-icerik p { color: var(--yc-local-copy); }

/* Branch cards use the same visible facts as the structured data. */
.yc-local-contact {
    padding: clamp(40px, 6vw, 76px) 0;
    background: var(--yc-local-surface);
    border-top: 1px solid var(--yc-local-line);
    border-bottom: 1px solid var(--yc-local-line);
    scroll-margin-top: 110px;
}
.yc-local-contact h2, .yc-local-faq > h2, .yc-local-faq > .container > h2 {
    margin: 0 0 18px;
    font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.35rem);
    line-height: 1.25;
    letter-spacing: -.025em;
}
.yc-local-contact > .container > p:not(.yc-local-links) { max-width: 860px; margin-bottom: 24px; }
.yc-local-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
    gap: 20px;
    margin: 28px 0;
}
.yc-local-contact-card {
    min-width: 0;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid var(--yc-local-line);
    border-top: 3px solid #6f5be9;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(25, 35, 53, .035);
}
.yc-local-contact-card h3 { font-size: 21px; line-height: 1.35; margin: 0 0 14px; }
.yc-local-contact-card address { font-style: normal; color: var(--yc-local-copy); line-height: 1.75; margin: 0 0 16px; }
.yc-local-contact-card p { margin-bottom: 16px; color: var(--yc-local-copy); }
.yc-local-contact-card a[href^="tel:"] { color: var(--yc-local-ink); font-size: 18px; font-weight: 800; overflow-wrap: anywhere; }
.yc-local-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.yc-local-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 10px 13px;
    border: 1px solid #dce2f2;
    border-radius: 8px;
    color: #2447c2;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background-color .15s ease, border-color .15s ease;
}
.yc-local-links a:hover { color: #1e3791; border-color: #adbaf0; background: #eef1fc; }
.yc-local-faq { padding: clamp(36px, 5vw, 64px) 0; }
.yc-local-faq details {
    margin-bottom: 12px;
    padding: 20px 22px;
    border: 1px solid var(--yc-local-line);
    border-radius: 12px;
    background: #fff;
}
.yc-local-faq summary { cursor: pointer; color: var(--yc-local-ink); font-size: 17px; font-weight: 750; line-height: 1.5; }
.yc-local-faq details p { margin: 14px 0 0; color: var(--yc-local-copy); }
.yc-local-faq h3 { margin-top: 26px; font-size: 21px; line-height: 1.4; }

@media (max-width: 992px) {
    #header-sticky .second-menu > .row { flex-wrap: wrap; margin-left: -15px; margin-right: -15px; }
    #header-sticky .second-menu > .row > div { min-width: 0; }
    #header-sticky .second-menu > .row > div:first-child { width: calc(100% - 60px); max-width: calc(100% - 60px); }
    #header-sticky .second-menu > .row > .col-12 { width: 100%; max-width: 100%; padding-left: 15px; padding-right: 15px; }
    #header-sticky .logo svg { width: 195px; max-width: 100%; }
    #header-sticky .mean-container .mean-nav {
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100dvh - 150px);
        overflow-y: auto;
        border-radius: 10px;
        box-shadow: 0 10px 26px rgba(25, 35, 53, .12);
    }
    #header-sticky .mean-container .mean-nav ul li a { box-sizing: border-box; width: 100%; padding: 15px 20px; }
    .slider-four .slider-img { max-width: 560px; margin: 32px auto 0; }
    .slider-four .single-slider > .container > .row { padding-top: 40px; padding-bottom: 44px; }
    .breadcrumb-area { padding-top: 36px; padding-bottom: 36px; }
}

@media (max-width: 575.98px) {
    body { overflow-x: clip; }
    .container { padding-left: 20px; padding-right: 20px; }
    .hero-phone-cta > a { width: 100%; text-align: center; }
    .hero-phone-cta .btn.ss-btn, .hero-phone-cta .btn-wa { padding: 14px 16px; font-size: 15px; }
    .slider-four .slider-img { margin-top: 26px; }
    .yc-local-contact-grid { grid-template-columns: minmax(0, 1fr); }
    .yc-local-contact-card { padding: 22px; }
    .yc-local-links a { font-size: 13px; }
    .mobile-call-bar { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
    .mobile-call-bar a { min-width: 0; font-size: 14px; }
    .mobile-call-bar .mc-wa { background: #087f46; }
    .footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
    .footer-social a { margin-left: 0; }
    .f-contact span { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
    .btn.ss-btn, .btn.header-btn, .btn-wa, .services-box, .eventes-box, .single-post2, .box-courses { transition: none !important; }
    .btn.ss-btn:hover, .btn.header-btn:hover, .btn-wa:hover, .services-box:hover, .eventes-box:hover, .single-post2:hover, .box-courses:hover { transform: none; }
}
