/* Genel stil – beyaz zemin, kurumsal görünüm */
:root {
    --primary-color: #2563eb;
    --secondary-color: #0f172a;
    --background-color: #f8fafc;
    --header-bg: #ffffff;
    --footer-bg: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--background-color); /* çok açık gri/beyaz */
    color: var(--secondary-color); /* koyu lacivert ton */
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

header.site-header {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-bottom: none;
    background-color: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

/* Tam genişlik ana sayfa slider (Bootstrap carousel) */
.home-slider-full {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.home-slider-full .carousel {
    margin: 0;
}

.home-slider-img {
    width: 100%;
    height: auto;
    min-height: 220px;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
}

.home-slider-video {
    width: 100%;
    height: auto;
    min-height: 220px;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
    background: #0f172a;
    display: block;
}

/* Slider geçiş efektleri (admin: Ana Sayfa Slider) */
.home-slider-full .home-carousel--fade-soft.carousel-fade .carousel-item {
    transition-duration: 0.88s;
    transition-timing-function: cubic-bezier(0.33, 0, 0.2, 1);
}

.home-slider-full .home-carousel--instant .carousel-item {
    transition: none !important;
}

.home-slider-full .home-carousel--instant.carousel-fade .carousel-item {
    transition: opacity 0ms !important;
}

.home-slider-full .home-carousel--instant.slide:not(.carousel-fade) .carousel-item {
    transition: transform 0s ease-in-out, opacity 0s ease !important;
}

/* Hafif yakınlaşmalı solma */
.home-slider-full .home-carousel--zoom-soft .carousel-inner {
    overflow: hidden;
}

.home-slider-full .home-carousel--zoom-soft .carousel-item.active .home-slider-img,
.home-slider-full .home-carousel--zoom-soft .carousel-item.active .home-slider-video {
    animation: home-slider-zoom-soft 0.9s cubic-bezier(0.33, 0, 0.2, 1) both;
}

@keyframes home-slider-zoom-soft {
    from {
        transform: scale(1.05);
    }
    to {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .home-slider-img {
        min-height: 180px;
        max-height: 360px;
    }

    .home-slider-video {
        min-height: 180px;
        max-height: 360px;
    }
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid #e2e8f0;
}

.brand-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.15;
    color: var(--secondary-color, #0f172a);
}

/* Slogan şeridi: tam ekran genişliği, metin viewport’a göre ortalı */
.site-tagline-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 12px clamp(14px, 4vw, 28px);
    box-sizing: border-box;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #eef2f7 0%, #e2e8f0 55%, #dce3ec 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.site-tagline-bar__text {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(12px, 1.55vw, 14px);
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.65;
    color: #334155;
    text-transform: none;
    text-align: center;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.brand-logo-main {
    min-width: 52px;
    height: 56px;
    border-radius: 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-weight: 700;
    font-size: 20px;
}

.brand-logo-main img {
    height: 100%;
    width: auto;
    display: block;
}

.brand-text-main {
    display: flex;
    flex-direction: column;
}

.brand-text-main span:first-child {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--secondary-color, #0f172a);
}

.brand-text-main span:last-child {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 22px;
    font-size: 14px;
    flex-shrink: 0;
}

.site-nav a {
    position: relative;
    color: #334155;
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #0f172a;
    transition: width 0.2s ease;
}

.site-nav a:hover::after {
    width: 100%;
}

.site-nav a:hover {
    color: var(--primary-color);
}

/* Hamburger: varsayılan görünür (mobil); geniş ekranda gizlenir */
.site-nav-toggler {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    margin: 0;
    margin-left: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    flex-shrink: 0;
    order: 2;
    position: relative;
    z-index: 60;
    line-height: 1;
    box-sizing: border-box;
    overflow: visible;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav-toggler:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.site-nav-toggler:focus-visible {
    outline: 2px solid var(--primary-color, #2563eb);
    outline-offset: 2px;
}

/* SVG hamburger — mobilde span/flex birleşmesi olmaz */
.site-nav-toggler-icon {
    display: block;
    flex-shrink: 0;
    width: 24px;
    height: 18px;
    pointer-events: none;
}

.site-nav-toggler:active {
    color: #0f172a;
}

.site-nav-collapse {
    order: 3;
}

/* lg ve üzeri: yatay menü, hamburger yok (Bootstrap lg = 992px) */
@media (min-width: 992px) {
    .site-header-inner {
        flex-wrap: nowrap;
    }

    .site-nav-toggler {
        display: none !important;
    }

    .site-nav-collapse.collapse {
        display: flex !important;
        flex-basis: auto;
        width: auto;
        flex-grow: 0;
        flex-shrink: 0;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }
}

@keyframes section-fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes card-fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    flex: 1;
}

.hero {
    padding: 48px 0 32px;
    opacity: 0;
    transform: translateY(16px);
    animation: section-fade-up 0.6s ease-out forwards;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 15px;
    color: #64748b;
    max-width: 520px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background-color: rgba(37, 99, 235, 0.04);
    color: var(--primary-color);
}

.hero-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.08),
        0 1px 2px rgba(15, 23, 42, 0.05);
}

.hero-card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero-card-text {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.hero-stat {
    min-width: 120px;
}

.hero-stat strong {
    display: block;
    font-size: 20px;
    color: #0f172a;
}

.hero-stat span {
    font-size: 12px;
    color: #64748b;
}

/* Kayan alt firma logoları alanı */
.company-strip-wrapper {
    margin-top: 40px;
    padding: 28px 0 40px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    opacity: 0;
    transform: translateY(16px);
    animation: section-fade-up 0.6s ease-out forwards;
    animation-delay: 0.1s;
}

.company-strip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.company-strip-header h2 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--company-title-color, #475569);
    font-weight: 600;
}

.company-strip-header span {
    font-size: 13px;
    color: var(--company-desc-color, #94a3b8);
}

.company-strip {
    position: relative;
    overflow: hidden;
}

.company-strip-track {
    display: flex;
    gap: 24px;
    animation: strip-scroll 30s linear infinite;
}

.company-strip-track--static {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.company-card {
    flex: 0 0 240px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.04),
        0 4px 12px rgba(15, 23, 42, 0.03);
}

.company-strip-track--static .company-card,
.company-strip-track .company-card {
    opacity: 0;
    transform: translateY(10px);
    animation: card-fade-up 0.45s ease-out forwards;
}

.company-strip-track--static .company-card:nth-child(1),
.company-strip-track .company-card:nth-child(1) {
    animation-delay: 0.05s;
}
.company-strip-track--static .company-card:nth-child(2),
.company-strip-track .company-card:nth-child(2) {
    animation-delay: 0.1s;
}
.company-strip-track--static .company-card:nth-child(3),
.company-strip-track .company-card:nth-child(3) {
    animation-delay: 0.15s;
}
.company-strip-track--static .company-card:nth-child(4),
.company-strip-track .company-card:nth-child(4) {
    animation-delay: 0.2s;
}

.company-card:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 2px;
}

.company-card:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.08),
        0 2px 6px rgba(15, 23, 42, 0.04);
}

.company-logo {
    width: 84px;
    height: 84px;
    min-width: 84px;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    box-shadow: none;
}

.company-card:hover .company-logo {
    background: transparent;
    border-color: transparent;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.18));
    transition: transform 0.25s ease, filter 0.25s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.company-card:hover .company-logo img {
    transform: scale(1.03);
    filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.18));
}

.company-logo span {
    font-size: 18px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.02em;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.company-name {
    font-size: 15px;
    font-weight: 650;
    color: var(--company-name-color, #0f172a);
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.company-sub {
    font-size: 11px;
    color: var(--company-tag-color, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    display: inline-flex;
    align-self: flex-start;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

@keyframes strip-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.company-strip:hover .company-strip-track {
    animation-play-state: paused;
}

/* Alt firma detay sayfası */
.company-detail {
    padding: 40px 0 56px;
    opacity: 0;
    transform: translateY(16px);
    animation: section-fade-up 0.6s ease-out forwards;
    animation-delay: 0.15s;
}

.company-detail-header {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
}

.company-detail-logo {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.company-detail-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-detail-text h1 {
    font-size: 24px;
    margin: 0 0 8px;
}

.company-detail-text p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.company-detail-body {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 20px 24px;
    font-size: 14px;
    line-height: 1.6;
    color: #0f172a;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}

.contact-info {
    flex: 1 1 260px;
}

.contact-map {
    flex: 1 1 260px;
    min-height: 220px;
}

.contact-map-inner {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.contact-map-inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-heading {
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-line {
    font-size: 14px;
    color: #475569;
}

.btn-whatsapp {
    background-color: #22c55e;
    color: #ffffff;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.btn-whatsapp:hover {
    background-color: #16a34a;
    transform: translateY(-1px);
}

.btn-whatsapp-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background-color: #ffffff;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.company-website-link {
    margin-top: 12px;
    font-size: 13px;
}

.company-website-link a {
    color: #0f172a;
    font-weight: 600;
}

footer.site-footer {
    border-top: 1px solid #e2e8f0;
    background-color: var(--footer-bg);
}

.site-footer-inner {
    padding: 18px 0;
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* Admin Panel Temeli */
.admin-layout {
    min-height: 100vh;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.admin-card {
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 24px 26px;
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.1),
        0 1px 2px rgba(15, 23, 42, 0.05);
}

.admin-card h1 {
    font-size: 20px;
    margin-bottom: 6px;
}

.admin-card p {
    font-size: 13px;
    margin: 0 0 18px;
    color: #64748b;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #0f172a;
}

.form-control,
.form-textarea,
.form-select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
    background-color: #f8fafc;
}

.form-control:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: #0f172a;
    background-color: #ffffff;
}

.form-textarea {
    resize: vertical;
    min-height: 90px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
}

.btn-primary {
    background-color: #0f172a;
    color: #ffffff;
    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.2),
        0 1px 2px rgba(15, 23, 42, 0.1);
}

.btn-primary:hover {
    background-color: #020617;
    transform: translateY(-1px);
}

.btn-ghost {
    background-color: transparent;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.btn-ghost:hover {
    background-color: #f1f5f9;
}

.alert {
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.alert-error {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.alert-success {
    background-color: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.admin-menu {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    background-color: #ffffff;
}

.admin-menu-inner {
    display: flex;
    gap: 16px;
    padding: 8px 0;
    font-size: 13px;
}

.admin-menu-item {
    position: relative;
    padding-bottom: 4px;
    color: #64748b;
    font-weight: 500;
}

.admin-menu-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #0f172a;
    transition: width 0.18s ease;
}

.admin-menu-item--active {
    color: #0f172a;
}

.admin-menu-item--active::after {
    width: 100%;
}

.admin-table-wrapper {
    margin-top: 12px;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 14px 16px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table th,
.admin-table td {
    padding: 8px 6px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.admin-table th {
    font-weight: 600;
    color: #64748b;
    font-size: 12px;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
}

.badge-status--active {
    background-color: #dcfce7;
    color: #16a34a;
}

.badge-status--passive {
    background-color: #fee2e2;
    color: #b91c1c;
}

.logo-thumb {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Anasayfada gösterim – açılır/kapanır blok */
.visibility-block {
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    overflow: hidden;
}

.visibility-block-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    user-select: none;
    transition: background 0.2s ease;
}

.visibility-block-summary::-webkit-details-marker,
.visibility-block-summary::marker {
    display: none;
}

.visibility-block-summary::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    margin-left: 8px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.visibility-block[open] .visibility-block-summary::after {
    transform: rotate(-135deg);
}

.visibility-block-summary:hover {
    background: #f1f5f9;
}

.visibility-block-title {
    font-weight: 600;
    color: #0f172a;
}

.visibility-block-hint {
    font-size: 12px;
    color: #94a3b8;
}

.visibility-block-inner {
    padding: 0 18px 18px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    margin: 0;
}

.visibility-block-desc {
    font-size: 12px;
    color: #64748b;
    margin: 14px 0 12px;
    padding: 0;
}

.visibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px 24px;
}

.visibility-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: default;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}

.visibility-row:last-child {
    border-bottom: none;
}

.visibility-label {
    color: #475569;
    min-width: 110px;
    font-weight: 500;
}

.visibility-radios {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.visibility-radios input { cursor: pointer; }

/* ========== RESPONSIVE – Anasayfa & genel ========== */
@media (max-width: 991.98px) {
    .container {
        padding: 0 14px;
    }

    .site-header-inner {
        padding: 12px 0 12px;
        gap: 10px;
    }

    .site-header-inner .brand-name {
        font-size: 16px;
    }

    .site-nav-collapse {
        flex-basis: 100%;
        width: 100%;
    }

    .site-header-inner .site-nav-collapse .site-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 4px 0 10px;
        margin-top: 6px;
        border-top: 1px solid rgba(226, 232, 240, 0.95);
        overflow: visible;
        flex-wrap: nowrap;
    }

    .site-header-inner .site-nav-collapse .site-nav a {
        padding: 12px 6px;
        border-bottom: 1px solid rgba(226, 232, 240, 0.75);
    }

    .site-header-inner .site-nav-collapse .site-nav a:last-child {
        border-bottom: none;
    }

    .site-header-inner .site-nav-collapse .site-nav a::after {
        display: none;
    }

    .site-tagline-bar {
        padding: 10px clamp(12px, 5vw, 20px);
    }

    .site-tagline-bar__text {
        font-size: 12px;
        letter-spacing: 0.04em;
    }

    .brand-main {
        gap: 10px;
    }

    .brand-logo-main {
        min-width: 44px;
        height: 46px;
        font-size: 18px;
    }

    .brand-text-main span:first-child {
        font-size: 16px;
    }

    .brand-text-main span:last-child {
        font-size: 10px;
        letter-spacing: 0.1em;
    }

    .site-nav a {
        flex-shrink: 0;
        font-size: 13px;
    }

    .hero {
        padding: 28px 0 24px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-badges {
        gap: 6px;
        margin-bottom: 12px;
    }

    .badge {
        font-size: 10px;
        padding: 6px 10px;
    }

    .hero-card {
        padding: 18px;
        border-radius: 18px;
    }

    .hero-card-title {
        font-size: 13px;
    }

    .hero-card-text {
        font-size: 12px;
    }

    .hero-stats {
        gap: 12px;
    }

    .hero-stat {
        min-width: 100px;
    }

    .hero-stat strong {
        font-size: 18px;
    }

    .company-strip-wrapper {
        margin-top: 28px;
        padding: 20px 0 28px;
    }

    .company-strip-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 14px;
    }

    .company-strip-header h2 {
        font-size: 12px;
        letter-spacing: 0.12em;
    }

    .company-strip-header span {
        font-size: 12px;
    }

    .company-strip-track--static {
        gap: 14px;
    }

    .company-card {
        flex: 0 0 190px;
        min-width: 160px;
        padding: 16px 14px;
        gap: 14px;
    }

    .company-logo {
        width: 64px;
        height: 64px;
        min-width: 64px;
        border-radius: 16px;
        padding: 0;
    }

    .company-name {
        font-size: 14px;
    }

    .company-detail {
        padding: 28px 0 40px;
    }

    .company-detail-body {
        padding: 16px 18px;
        border-radius: 14px;
    }

    .contact-grid {
        flex-direction: column;
        gap: 20px;
    }

    .contact-info,
    .contact-map {
        flex: 1 1 100%;
        min-width: 0;
    }

    .contact-map {
        min-height: 280px;
        width: 100%;
    }

    .contact-map-inner {
        min-height: 260px;
        padding-bottom: 0;
        height: 260px;
    }

    .contact-map-inner iframe {
        border-radius: 12px;
    }

    .btn-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }

    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 0;
        font-size: 11px;
        gap: 8px;
    }
}

/* Çok küçük ekranlar (telefon) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 20px;
    }

    .company-card {
        flex: 0 0 100%;
        min-width: 0;
    }

    .company-strip-track--static {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ========== RESPONSIVE – Admin panel ========== */
@media (max-width: 992px) {
    .admin-topbar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 0;
    }

    .admin-topbar .brand-main .brand-logo-main {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 18px;
    }

    .admin-topbar .brand-text-main span:first-child {
        font-size: 16px;
    }

    .admin-topbar .brand-text-main span:last-child {
        font-size: 11px;
    }

    .admin-topbar > div:last-child {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .admin-menu-inner {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 0;
    }

    .admin-menu-item {
        font-size: 12px;
    }

    .admin-table-wrapper {
        padding: 12px;
        border-radius: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-table {
        min-width: 520px;
        font-size: 12px;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 8px;
    }
}

@media (max-width: 768px) {
    .admin-layout {
        padding: 16px 12px;
        align-items: flex-start;
        min-height: 100vh;
    }

    .admin-card {
        max-width: 100%;
        padding: 20px 18px;
        border-radius: 16px;
    }

    .admin-card h1 {
        font-size: 18px;
    }

    .page .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .admin-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-topbar .brand-main {
        justify-content: flex-start;
    }

    .admin-topbar > div:last-child {
        flex-direction: column;
        width: 100%;
    }

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

    .admin-menu-inner {
        flex-direction: column;
    }

    .admin-menu-item {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .admin-menu-item:last-child {
        border-bottom: none;
    }

    main.container {
        padding: 16px 0 24px !important;
    }

    .admin-table-wrapper {
        margin-left: -12px;
        margin-right: -12px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .visibility-block-summary {
        padding: 12px 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .visibility-block-summary::after {
        position: absolute;
        right: 14px;
        top: 50%;
        margin-top: -5px;
    }

    .visibility-block-inner {
        padding: 0 14px 14px;
    }

    .visibility-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .visibility-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 8px 0;
    }

    .visibility-label {
        min-width: 0;
    }

    .form-control,
    .form-textarea,
    .form-select {
        padding: 10px 12px;
        font-size: 16px; /* iOS zoom önleme */
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .admin-layout {
        padding: 12px 10px;
    }

    .admin-card {
        padding: 18px 14px;
    }

    .admin-card h1 {
        font-size: 17px;
    }

    .admin-table {
        min-width: 400px;
        font-size: 11px;
    }

    .admin-table th,
    .admin-table td {
        padding: 8px 6px;
    }

    .logo-thumb {
        width: 36px;
        height: 36px;
    }

    .btn {
        padding: 10px 14px;
        font-size: 12px;
    }
}

/* Hamburger: <lg ekranlarda mutlaka görünsün (diğer stillerden sonra) */
@media (max-width: 991.98px) {
    .site-header-inner > .site-nav-toggler {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (min-width: 992px) {
    .site-header-inner > .site-nav-toggler {
        display: none !important;
    }
}

