:root {
    --brand-primary: #0b3d5c;
    --brand-secondary: #146c94;
    --brand-accent: #f0a202;
    --brand-dark: #0a2540;
    --brand-soft: #f4f7fb;
    --brand-text: #1f2a37;
    --brand-muted: #6b7280;
    --shadow-soft: 0 12px 40px rgba(11, 61, 92, 0.08);
    --radius-lg: 1.25rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--brand-text);
    background: #fff;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section {
    padding: 5rem 0;
}

.section-soft {
    background: var(--brand-soft);
}

.section-anchor {
    scroll-margin-top: 90px;
}

.section-header {
    max-width: 720px;
    margin-bottom: 3rem;
}

.section-eyebrow {
    display: inline-block;
    color: var(--brand-secondary);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .8rem;
    margin-bottom: .75rem;
}

.section-title {
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.section-lead {
    color: var(--brand-muted);
    margin-bottom: 0;
}

.btn-accent {
    --bs-btn-color: #14213d;
    --bs-btn-bg: var(--brand-accent);
    --bs-btn-border-color: var(--brand-accent);
    --bs-btn-hover-color: #14213d;
    --bs-btn-hover-bg: #ffb703;
    --bs-btn-hover-border-color: #ffb703;
    --bs-btn-focus-shadow-rgb: 240, 162, 2;
    --bs-btn-active-color: #14213d;
    --bs-btn-active-bg: #e09a00;
    --bs-btn-active-border-color: #e09a00;
    font-weight: 700;
}

.site-navbar {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
    padding-top: .85rem;
    padding-bottom: .85rem;
}

.brand-logo,
.footer-logo {
    height: 42px;
    width: auto;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

.brand-text {
    font-weight: 800;
    letter-spacing: .02em;
}

.site-navbar .nav-link {
    color: rgba(255, 255, 255, .9) !important;
    font-weight: 600;
    padding: .5rem .9rem !important;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: #fff !important;
}

.hero-section {
    background:
        radial-gradient(circle at top right, rgba(20, 108, 148, .18), transparent 40%),
        linear-gradient(180deg, #eef5fb 0%, #ffffff 100%);
    overflow: hidden;
}

.min-vh-hero {
    min-height: calc(100vh - 84px);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--brand-muted);
    max-width: 34rem;
}

.hero-visual {
    position: relative;
}

.hero-image,
.hero-placeholder {
    border-radius: calc(var(--radius-lg) + .5rem);
    box-shadow: var(--shadow-soft);
    background: #fff;
}

.hero-placeholder {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--brand-secondary);
}

.content-card,
.service-card,
.contact-info-card {
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    background: #fff;
}

.icon-badge,
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 108, 148, .1);
    color: var(--brand-secondary);
    font-size: 1.35rem;
}

.service-media {
    position: relative;
    overflow: hidden;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    background: #e8eef5;
    min-height: 200px;
}

.service-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-media-fallback {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--brand-secondary);
}

.service-icon {
    position: absolute;
    left: 1.25rem;
    bottom: -1.25rem;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.service-card .card-body {
    padding-top: 2.25rem !important;
}

.about-gallery {
    display: grid;
    gap: 1.25rem;
}

.about-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    width: 100%;
    object-fit: cover;
}

.about-image-primary {
    min-height: 260px;
}

.about-image-secondary {
    min-height: 220px;
}

.rich-content p {
    color: var(--brand-muted);
    line-height: 1.75;
}

.rich-content ul {
    padding-left: 1.2rem;
}

.rich-content li {
    margin-bottom: .4rem;
    color: var(--brand-text);
}

.contact-info-card {
    padding: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: inherit;
    padding: .85rem 0;
    border-bottom: 1px solid #eef2f7;
}

.contact-info-item:last-child {
    border-bottom: 0;
}

.contact-info-item .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 61, 92, .08);
    color: var(--brand-primary);
    flex-shrink: 0;
}

.contact-info-item .icon.whatsapp {
    background: rgba(37, 211, 102, .15);
    color: #1faa59;
}

.contact-info-item small {
    display: block;
    color: var(--brand-muted);
}

.contact-info-item strong {
    display: block;
    font-weight: 700;
}

.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 61, 92, .08);
    color: var(--brand-primary);
    transition: .2s ease;
}

.social-links a:hover {
    background: var(--brand-primary);
    color: #fff;
    transform: translateY(-2px);
}

.social-links-light a {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.social-links-light a:hover {
    background: var(--brand-accent);
    color: #14213d;
}

.site-footer {
    background: linear-gradient(160deg, var(--brand-dark), var(--brand-primary));
    color: rgba(255, 255, 255, .78);
}

.footer-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: .65rem;
}

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, .78);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .9rem;
}

.footer-admin-link {
    color: rgba(255, 255, 255, .6);
    transition: color .2s ease;
}

.footer-admin-link:hover {
    color: var(--brand-accent);
}

.service-detail-hero .service-cover {
    min-height: 380px;
    background-size: cover;
    background-position: center;
    background-color: var(--brand-primary);
}

.service-cover-overlay {
    min-height: 380px;
    background: linear-gradient(180deg, rgba(10, 37, 64, .55), rgba(10, 37, 64, .82));
    display: flex;
    align-items: flex-end;
}

.service-cover-overlay .breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, .55);
}

.service-cover-overlay .breadcrumb-item,
.service-cover-overlay .breadcrumb-item a {
    color: rgba(255, 255, 255, .8);
}

.service-cover-overlay .breadcrumb-item.active {
    color: #fff;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .3s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 6.5rem;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    box-shadow: var(--shadow-soft);
    display: none;
    z-index: 1030;
}

.back-to-top.show {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hızlı iletişim: sol arama, orta konum, sağ WhatsApp */
.quick-contact {
    position: fixed;
    left: 50%;
    bottom: 1.1rem;
    transform: translateX(-50%);
    z-index: 1040;
    display: flex;
    align-items: stretch;
    gap: .55rem;
    width: min(640px, calc(100vw - 1.5rem));
    padding: .45rem;
    border-radius: 999px;
    background: rgba(10, 37, 64, .88);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 50px rgba(10, 37, 64, .35);
}

.quick-contact__item {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 0;
    padding: .55rem .85rem;
    border-radius: 999px;
    color: #fff;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.quick-contact__item:hover {
    transform: translateY(-2px);
    color: #fff;
}

.quick-contact__icon {
    flex: 0 0 auto;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, .14);
}

.quick-contact__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
}

.quick-contact__copy strong {
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-contact__copy small {
    font-size: .7rem;
    opacity: .82;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-contact__item--call {
    background: linear-gradient(135deg, #0b3d5c, #146c94);
}

.quick-contact__item--call:hover {
    box-shadow: 0 10px 24px rgba(20, 108, 148, .35);
}

.quick-contact__item--map {
    background: linear-gradient(135deg, #c47d00, #f0a202);
    color: #1a1408;
}

.quick-contact__item--map:hover {
    color: #1a1408;
    box-shadow: 0 10px 24px rgba(240, 162, 2, .35);
}

.quick-contact__item--map .quick-contact__icon {
    background: rgba(255, 255, 255, .35);
}

.quick-contact__item--whatsapp {
    background: linear-gradient(135deg, #128c7e, #25d366);
}

.quick-contact__item--whatsapp:hover {
    box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
}

body {
    padding-bottom: 5.5rem;
}

@media (max-width: 575.98px) {
    .quick-contact {
        border-radius: 1.25rem;
        bottom: .75rem;
        gap: .35rem;
        padding: .35rem;
    }

    .quick-contact__item {
        flex-direction: column;
        justify-content: center;
        gap: .35rem;
        padding: .55rem .35rem;
        text-align: center;
        border-radius: 1rem;
    }

    .quick-contact__copy strong {
        font-size: .72rem;
    }

    .quick-contact__copy small {
        display: none;
    }

    .back-to-top {
        right: .85rem;
        bottom: 6.75rem;
    }
}

.form-control,
.form-select {
    border-radius: .8rem;
    padding: .75rem 1rem;
    border-color: #d9e2ec;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 .2rem rgba(20, 108, 148, .15);
}

@media (max-width: 991.98px) {
    .min-vh-hero {
        min-height: auto;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .about-image-secondary {
        min-height: 180px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .gallery-item img,
    .service-media img,
    .service-media-fallback {
        height: 200px;
    }
}
