/* ==========================================================================
   OZB Su Tesisat — Public site stilleri.
   Palet: Lacivert #071E41 · Petrol Mavisi #006D8F · Buz Mavisi #E8F7FA · Beyaz
   Admin panel stilleri ayrı dosyadadır (admin.css).
   ========================================================================== */

:root {
    --navy: #071e41;
    --navy-700: #0b2b5a;
    --navy-500: #133b73;
    --petrol: #006d8f;
    --petrol-hover: #00566f;
    --petrol-soft: rgba(0, 109, 143, 0.1);
    --ice: #e8f7fa;
    --white: #ffffff;

    --text: #12263f;
    --text-muted: #5c7089;
    --border: #d9e6ee;
    --surface: #ffffff;
    --surface-alt: var(--ice);

    --success: #1a9c73;
    --danger: #d8384f;
    --whatsapp: #25d366;

    --radius: 0.9rem;
    --radius-lg: 1.4rem;
    --shadow-sm: 0 2px 10px rgba(7, 30, 65, 0.06);
    --shadow-md: 0 12px 32px rgba(7, 30, 65, 0.1);
    --shadow-lg: 0 24px 60px rgba(7, 30, 65, 0.16);

    --topbar-height: 40px;
    --header-height: 86px;
    --container-pad: 1rem;
}

/* ---------- Temel ---------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy);
}

a {
    color: var(--petrol);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--petrol-hover);
}

img {
    max-width: 100%;
    height: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--navy);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    z-index: 2000;
}

.skip-link:focus {
    left: 0;
    color: var(--white);
}

/* ---------- Üst şerit ---------- */
.topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    min-height: var(--topbar-height);
    display: flex;
    align-items: center;
}

.topbar a {
    color: rgba(255, 255, 255, 0.78);
}

.topbar a:hover {
    color: var(--white);
}

.topbar__left span {
    margin-right: 1.5rem;
}

.topbar__left i,
.topbar__right i {
    color: var(--petrol);
    margin-right: 0.35rem;
}

.topbar__social {
    display: inline-flex;
    gap: 0.85rem;
    margin-left: 1.5rem;
}

.topbar__social i {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
}

.topbar__social a:hover i {
    color: var(--petrol);
}

/* ---------- Navbar ---------- */
.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.2s ease;
}

.site-navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.site-navbar .navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-logo {
    height: 62px;
    width: auto;
    object-fit: contain;
}

.navbar-toggler {
    border: 1px solid var(--border);
    color: var(--navy);
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.35rem 0.6rem;
    min-height: 44px;
    min-width: 44px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem var(--petrol-soft);
}

.navbar-nav .nav-link {
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.7rem;
    position: relative;
}

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

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.1rem;
    height: 2px;
    border-radius: 2px;
    background: var(--petrol);
}

.nav-item--cta {
    margin-left: 0.75rem;
}

.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--petrol);
    color: var(--white);
    border-radius: 999px;
    padding: 0.55rem 1.25rem;
    font-weight: 700;
    min-height: 46px;
    box-shadow: 0 6px 18px rgba(0, 109, 143, 0.28);
}

.btn-call:hover {
    background: var(--petrol-hover);
    color: var(--white);
}

.btn-call i {
    font-size: 1.15rem;
}

.btn-call__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.btn-call__label {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.85;
}

.btn-call__number {
    font-size: 0.98rem;
    font-weight: 800;
}

/* ---------- Butonlar ---------- */
.btn-petrol,
.btn-navy,
.btn-outline-petrol,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-weight: 700;
    padding: 0.7rem 1.6rem;
    min-height: 48px;
    border: 2px solid transparent;
    transition: all 0.18s ease;
}

.btn-petrol {
    background: var(--petrol);
    color: var(--white);
}

.btn-petrol:hover {
    background: var(--petrol-hover);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    background: var(--navy-700);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-petrol {
    background: transparent;
    border-color: var(--petrol);
    color: var(--petrol);
}

.btn-outline-petrol:hover {
    background: var(--petrol);
    color: var(--white);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1da851;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-light-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-weight: 700;
    padding: 0.7rem 1.6rem;
    min-height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-light-outline:hover {
    background: var(--white);
    color: var(--navy);
}

/* ---------- Bölüm iskeleti ---------- */
.section {
    padding: 5rem 0;
    scroll-margin-top: calc(var(--header-height) + 8px);
}

.section--ice {
    background: var(--ice);
}

.section--navy {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.85);
}

.section--navy h2,
.section--navy h3 {
    color: var(--white);
}

.section-head {
    max-width: 46rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-head--start {
    margin-left: 0;
    text-align: left;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--petrol-soft);
    color: var(--petrol);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.section--navy .section-badge {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.section-title {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    margin-bottom: 0.85rem;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 0;
}

.section--navy .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- Hero slider ---------- */
.hero {
    position: relative;
    background: var(--navy);
}

.hero-swiper {
    height: clamp(30rem, 74vh, 44rem);
}

.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(7, 30, 65, 0.94) 0%, rgba(7, 30, 65, 0.78) 45%, rgba(0, 109, 143, 0.42) 100%);
}

.hero-slide__inner {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    padding: 3rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    border-radius: 999px;
    padding: 0.4rem 1.05rem;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.hero-badge i {
    color: #7fe3ff;
}

.hero-title {
    color: var(--white);
    font-size: clamp(1.9rem, 5vw, 3.4rem);
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: var(--white);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(4px);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 1.1rem;
    font-weight: 800;
}

.hero-swiper .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.45;
    width: 0.65rem;
    height: 0.65rem;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #7fe3ff;
    width: 1.75rem;
    border-radius: 999px;
}

/* ---------- Hero altı hızlı bilgi şeridi ---------- */
.quick-strip {
    position: relative;
    z-index: 5;
    margin-top: -3.5rem;
}

.quick-strip__inner {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}

.quick-strip__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.6rem 1.5rem;
    border-right: 1px solid var(--border);
}

.quick-strip__item:last-child {
    border-right: none;
}

.quick-strip__icon {
    flex-shrink: 0;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 1rem;
    background: var(--ice);
    color: var(--petrol);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.quick-strip__title {
    font-size: 1.02rem;
    margin-bottom: 0.1rem;
}

.quick-strip__text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- Hakkımızda ---------- */
.about-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-badge-card {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    background: var(--petrol);
    color: var(--white);
    border-radius: var(--radius);
    padding: 1rem 1.35rem;
    box-shadow: var(--shadow-md);
}

.about-badge-card strong {
    display: block;
    font-size: 1.9rem;
    line-height: 1;
}

.about-badge-card span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.about-text p {
    color: var(--text-muted);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 1rem;
    margin-top: 1.75rem;
}

.stat-tile {
    background: var(--ice);
    border-radius: var(--radius);
    padding: 1.1rem 1rem;
    text-align: center;
}

.stat-tile__value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--petrol);
    line-height: 1.1;
}

.stat-tile__label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ---------- Hizmet kartları ---------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 1.5rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--petrol);
}

.service-card__media {
    position: relative;
    background: var(--ice);
}

.service-card__media-inner {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card__media img {
    transform: scale(1.06);
}

.service-card__icon {
    position: absolute;
    left: 1rem;
    bottom: -1.45rem;
    z-index: 2;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 0.85rem;
    background: var(--petrol);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 8px 20px rgba(0, 109, 143, 0.35);
}

.service-card__body {
    padding: 2.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card__title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-card__title a {
    color: var(--navy);
}

.service-card__title a:hover {
    color: var(--petrol);
}

.service-card__text {
    color: var(--text-muted);
    font-size: 0.93rem;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.service-card__link {
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.service-card--emergency {
    border-color: rgba(216, 56, 79, 0.35);
}

.service-card--emergency .service-card__icon {
    background: var(--danger);
    box-shadow: 0 8px 20px rgba(216, 56, 79, 0.32);
}

/* ---------- Neden biz ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    gap: 1.35rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem 1.4rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card__icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 1rem;
    background: linear-gradient(140deg, var(--navy), var(--petrol));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.feature-card__title {
    font-size: 1.08rem;
    margin-bottom: 0.45rem;
}

.feature-card__text {
    color: var(--text-muted);
    font-size: 0.93rem;
    margin: 0;
}

/* ---------- Hizmet bölgeleri ---------- */
.areas-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: 0.4rem 1.25rem;
}

.areas-list a {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    color: var(--navy);
    padding: 0.4rem 0;
    min-height: 40px;
}

.areas-list a:hover {
    color: var(--petrol);
}

.areas-list i {
    color: var(--petrol);
    font-size: 0.85rem;
}

.areas-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.areas-photo-grid img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.areas-photo-grid img:nth-child(2),
.areas-photo-grid img:nth-child(3) {
    margin-top: 1.5rem;
}

.area-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--petrol);
}

.area-card__name {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.area-card__city {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ---------- Galeri ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ice);
    aspect-ratio: 4 / 3;
    border: none;
    padding: 0;
    width: 100%;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-item__overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 2.5rem 1rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(7, 30, 65, 0.9));
    color: var(--white);
    text-align: left;
}

.gallery-item__title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.gallery-item__category {
    font-size: 0.78rem;
    opacity: 0.85;
}

.gallery-item__zoom {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    border-radius: 999px;
    padding: 0.5rem 1.15rem;
    font-weight: 600;
    font-size: 0.9rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.filter-btn:hover {
    border-color: var(--petrol);
    color: var(--petrol);
}

.filter-btn.active {
    background: var(--petrol);
    border-color: var(--petrol);
    color: var(--white);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(7, 30, 65, 0.96);
    display: none;
}

.lightbox.is-open {
    display: flex;
    flex-direction: column;
}

.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 1.35rem;
}

.lightbox__swiper {
    flex: 1;
    min-height: 0;
    width: 100%;
}

.lightbox__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1rem 1rem;
}

.lightbox__slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
}

.lightbox__caption {
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 0.75rem 1rem 1.5rem;
    font-size: 0.95rem;
}

.lightbox .swiper-button-next,
.lightbox .swiper-button-prev {
    color: var(--white);
}

/* ---------- Yorumlar ---------- */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem 1.5rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.testimonial-stars {
    color: #f5a623;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
}

.testimonial-comment {
    color: var(--text-muted);
    margin: 0;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.testimonial-location {
    font-size: 0.83rem;
    color: var(--text-muted);
}

.testimonials-swiper {
    padding-bottom: 3rem;
}

.testimonials-swiper .swiper-slide {
    height: auto;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: var(--petrol);
}

/* ---------- S.S.S. ---------- */
.faq-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--white);
}

.faq-accordion .accordion-button {
    font-weight: 700;
    color: var(--navy);
    background: var(--white);
    padding: 1.1rem 1.25rem;
    min-height: 56px;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--ice);
    color: var(--petrol);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem var(--petrol-soft);
}

.faq-accordion .accordion-body {
    color: var(--text-muted);
    padding: 0 1.25rem 1.25rem;
}

/* ---------- Blog ---------- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 1.5rem;
}

.post-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.post-card__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--ice);
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card__date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.post-card__title {
    font-size: 1.08rem;
    margin-bottom: 0.5rem;
}

.post-card__title a {
    color: var(--navy);
}

.post-card__title a:hover {
    color: var(--petrol);
}

.post-card__summary {
    color: var(--text-muted);
    font-size: 0.92rem;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.post-body {
    font-size: 1.05rem;
}

.post-body p {
    margin-bottom: 1.15rem;
    color: var(--text);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.post-tag {
    background: var(--ice);
    color: var(--petrol);
    border-radius: 999px;
    padding: 0.25rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-hero {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-500) 60%, var(--petrol) 130%);
    color: var(--white);
    padding: 3.5rem 0;
}

.page-hero__title {
    color: var(--white);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    margin-bottom: 0.5rem;
}

.page-hero__subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 46rem;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.75rem;
    padding: 0;
    list-style: none;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 0.4rem;
    opacity: 0.5;
}

/* ---------- CTA bandı ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--navy), var(--petrol));
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-md);
}

.cta-band h2 {
    color: var(--white);
    font-size: clamp(1.35rem, 2.8vw, 1.9rem);
    margin-bottom: 0.35rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.cta-band__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ---------- İletişim ---------- */
.contact-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem 1.25rem;
    height: 100%;
}

.contact-card__icon {
    flex-shrink: 0;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.85rem;
    background: var(--ice);
    color: var(--petrol);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-card__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 700;
}

.contact-card__value {
    font-weight: 700;
    color: var(--navy);
    word-break: break-word;
}

.contact-card__value a {
    color: var(--navy);
}

.contact-card__value a:hover {
    color: var(--petrol);
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.contact-form-card .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy);
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border-color: var(--border);
    border-radius: 0.6rem;
    padding: 0.7rem 0.9rem;
    min-height: 48px;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--petrol);
    box-shadow: 0 0 0 0.2rem var(--petrol-soft);
}

.contact-form-card textarea.form-control {
    min-height: 8rem;
}

.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    line-height: 0;
}

.map-embed iframe {
    width: 100%;
    height: 22rem;
    border: 0;
    display: block;
}

.kvkk-check .form-check-input:checked {
    background-color: var(--petrol);
    border-color: var(--petrol);
}

.kvkk-check label {
    font-size: 0.86rem;
    color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.72);
    padding: 3.5rem 0 1.5rem;
    margin-top: 0;
}

.footer-logo {
    height: 62px;
    width: auto;
    background: var(--white);
    border-radius: 0.6rem;
    padding: 0.35rem 0.6rem;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.68);
}

.footer-heading {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Bu iki liste açık renk metin kullandığı için SADECE koyu footer içinde geçerlidir.
   Beyaz bir kartın içinde bağlantı listesi gerekiyorsa .sidebar-links kullanılmalıdır. */
.site-footer .footer-links,
.site-footer .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-links li,
.site-footer .footer-contact li {
    margin-bottom: 0.55rem;
    font-size: 0.92rem;
}

.site-footer .footer-links a,
.site-footer .footer-contact a {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer .footer-links a:hover,
.site-footer .footer-contact a:hover {
    color: var(--white);
}

.site-footer .footer-contact i {
    color: var(--petrol);
    margin-right: 0.4rem;
}

/* ---------- Açık zeminli kart içi bağlantı listesi (detay sayfası kenar çubukları) ---------- */
.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li + li {
    border-top: 1px solid var(--border);
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.93rem;
    padding: 0.65rem 0;
    min-height: 44px;
}

.sidebar-links a:hover {
    color: var(--petrol);
}

.sidebar-links a i {
    color: var(--petrol);
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    background: var(--petrol);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- Sabit iletişim butonları ---------- */
.floating-actions {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1040;
    flex-direction: column;
    gap: 0.65rem;
}

.floating-actions__btn {
    display: flex;
    align-items: center;
    gap: 0;
    height: 3.4rem;
    width: 3.4rem;
    padding: 0;
    border-radius: 999px;
    color: var(--white);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    justify-content: center;
    transition: width 0.25s ease, gap 0.25s ease, padding 0.25s ease;
}

.floating-actions__btn i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.floating-actions__btn span {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    transition: max-width 0.25s ease, opacity 0.2s ease;
}

.floating-actions__btn:hover,
.floating-actions__btn:focus-visible {
    width: auto;
    gap: 0.6rem;
    padding: 0 1.3rem;
    color: var(--white);
}

.floating-actions__btn:hover span,
.floating-actions__btn:focus-visible span {
    max-width: 10rem;
    opacity: 1;
}

.floating-actions__btn--whatsapp {
    background: var(--whatsapp);
}

.floating-actions__btn--call {
    background: var(--petrol);
}

/* Mobil alt eylem çubuğu */
.mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px rgba(7, 30, 65, 0.12);
}

.mobile-action-bar__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 56px;
    font-weight: 700;
    color: var(--white);
    font-size: 0.98rem;
}

.mobile-action-bar__btn i {
    font-size: 1.15rem;
}

.mobile-action-bar__btn--call {
    background: var(--petrol);
}

.mobile-action-bar__btn--call:hover {
    color: var(--white);
}

.mobile-action-bar__btn--whatsapp {
    background: var(--whatsapp);
}

.mobile-action-bar__btn--whatsapp:hover {
    color: var(--white);
}

/* ---------- Yardımcılar ---------- */
.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 1rem;
}

.empty-state i {
    font-size: 2.5rem;
    color: var(--border);
    display: block;
    margin-bottom: 0.75rem;
}

.pagination-wrap {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.pagination-wrap a,
.pagination-wrap span {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.6rem;
    border: 1px solid var(--border);
    font-weight: 700;
    color: var(--navy);
    padding: 0 0.75rem;
}

.pagination-wrap a:hover {
    border-color: var(--petrol);
    color: var(--petrol);
}

.pagination-wrap .is-current {
    background: var(--petrol);
    border-color: var(--petrol);
    color: var(--white);
}

.prose p {
    margin-bottom: 1.1rem;
}

.prose ul {
    padding-left: 1.25rem;
}

/* ---------- Global loading overlay ---------- */
.global-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
}

.global-loading-overlay.is-visible {
    display: flex;
}

.global-loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid var(--ice);
    border-top-color: var(--petrol);
    border-radius: 50%;
    animation: global-loading-spin 0.8s linear infinite;
}

@keyframes global-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Mobil (bkz. CLAUDE.md mobil uyumluluk kuralı) — kalıcı mobil düzen kuralları
   view içine dağıtılmaz, burada toplanır.
   ========================================================================== */

@media (max-width: 991.98px) {
    :root {
        --header-height: 78px;
    }

    .navbar-collapse {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin-top: 0.75rem;
        padding: 0.5rem;
        box-shadow: var(--shadow-md);
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0.9rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }

    .nav-item--cta {
        margin: 0.5rem 0.9rem 0.4rem;
    }

    .btn-call {
        width: 100%;
        justify-content: center;
    }

    .quick-strip__inner {
        grid-template-columns: 1fr;
    }

    .quick-strip__item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .quick-strip__item:last-child {
        border-bottom: none;
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 3.25rem 0;
    }

    .section-head {
        margin-bottom: 2rem;
    }

    /* Mobilde sabit alt çubuk sayfanın son içeriğini örtmesin. */
    body {
        padding-bottom: 56px;
    }

    .hero-swiper {
        height: auto;
        min-height: 30rem;
    }

    .hero-slide__inner {
        padding: 4rem 0 3rem;
        text-align: center;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-actions .btn-petrol,
    .hero-actions .btn-light-outline,
    .hero-actions .btn-whatsapp {
        flex: 1 1 12rem;
    }

    /* Dokunmatik cihazda ok yerine parmakla kaydırma kullanılır (Swiper zaten dokunmatik). */
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }

    .quick-strip {
        margin-top: -2rem;
    }

    .service-grid {
        grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
        gap: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
        gap: 0.75rem;
    }

    /* Hover'a bağlı tek erişim yolu bırakılmaz: dokunmatikte büyütme rozeti her zaman görünür. */
    .gallery-item__zoom {
        opacity: 1;
    }

    .areas-list {
        grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    }

    .areas-photo-grid img:nth-child(2),
    .areas-photo-grid img:nth-child(3) {
        margin-top: 0;
    }

    .cta-band {
        padding: 1.75rem 1.25rem;
    }

    .cta-band__actions {
        width: 100%;
    }

    .cta-band__actions .btn-light-outline,
    .cta-band__actions .btn-whatsapp {
        flex: 1 1 10rem;
    }

    .contact-form-card {
        padding: 1.25rem;
    }

    .map-embed iframe {
        height: 16rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }

    .page-hero {
        padding: 2.5rem 0;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Dokunmatik hedefler en az 44px. */
    .btn,
    .filter-btn,
    .btn-petrol,
    .btn-navy,
    .btn-outline-petrol,
    .btn-whatsapp,
    .btn-light-outline {
        min-height: 44px;
    }
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.45rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .about-badge-card {
        left: 0.75rem;
        bottom: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .about-badge-card strong {
        font-size: 1.4rem;
    }
}
