/* ============== Wera Tekstil - Site CSS ============== */

:root {
    --wera-primary: #0d6efd;
    --wera-dark: #1a1a1a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--wera-dark);
}

/* ============== Header / Navbar ============== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    backdrop-filter: saturate(180%) blur(6px);
}
.site-header .navbar {
    padding-top: .65rem;
    padding-bottom: .65rem;
}
.site-header .navbar-brand .brand-logo {
    transition: transform .2s ease;
}
.site-header .navbar-brand:hover .brand-logo {
    transform: scale(1.03);
}

.main-nav {
    gap: .25rem;
}
.main-nav .nav-link {
    position: relative;
    color: #1a1a1a;
    font-weight: 600;
    font-size: .975rem;
    letter-spacing: .01em;
    padding: .6rem 1rem;
    border-radius: 8px;
    transition: color .18s ease, background-color .18s ease;
}
.main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: .35rem;
    height: 2px;
    background: #d4a017;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}
.main-nav .nav-link:hover {
    color: #d4a017;
    background-color: rgba(212, 160, 23, 0.06);
}
.main-nav .nav-link:hover::after {
    transform: scaleX(.6);
}
.main-nav .nav-link.active,
.main-nav .nav-link[aria-current="page"] {
    color: #1a1a1a;
}
.main-nav .nav-link.active::after,
.main-nav .nav-link[aria-current="page"]::after {
    transform: scaleX(1);
}
.main-nav .nav-link:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
}

@media (max-width: 991.98px) {
    .main-nav {
        padding: .5rem 0;
    }
    .main-nav .nav-link {
        padding: .55rem .75rem;
    }
    .main-nav .nav-link::after {
        left: .75rem;
        right: auto;
        width: 18px;
        bottom: .25rem;
        transform-origin: left center;
    }
    .main-nav .nav-link.active::after,
    .main-nav .nav-link[aria-current="page"]::after {
        transform: scaleX(1);
    }
}

/* ============== HERO v2 ============== */
.hero-v2 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f2f2f2 0%, #e6e6e6 100%);
    min-height: 540px;
    display: flex;
    align-items: center;
}
.hero-v2 .hero-bg {
    position: absolute;
    inset: 0;
    background: url('/img/hero_bg.png') center center / cover no-repeat;
    z-index: 0;
}
.hero-v2 .hero-foreground {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(calc(-50% + var(--hero-parallax, 0px)));
    transition: transform .15s linear;
    will-change: transform;
    height: 95%;
    max-width: 60%;
    object-fit: contain;
    object-position: right center;
    z-index: 1;
    pointer-events: none;
}
.hero-v2 .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 64px 0;
}
.hero-v2 .hero-text { color: #1a1a1a; }
.hero-eyebrow {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 0 0 .75rem;
    max-width: 520px;
}
.hero-title {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #111;
    margin: 0 0 1.25rem;
    letter-spacing: -0.5px;
}
.hero-desc {
    font-size: 1rem;
    color: #444;
    max-width: 460px;
    margin-bottom: 1.75rem;
    line-height: 1.55;
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.75rem;
}
.btn-hero-primary {
    background: #d4a017;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    border: 0;
    box-shadow: 0 6px 16px rgba(212,160,23,0.35);
    transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-hero-primary:hover {
    background: #b88812;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(212,160,23,0.45);
}
.btn-hero-outline {
    background: transparent;
    color: #1a1a1a;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    border: 1.5px solid #1a1a1a;
    transition: background .15s, color .15s;
}
.btn-hero-outline:hover {
    background: #1a1a1a;
    color: #fff;
}
.hero-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hero-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    color: #333;
    font-weight: 500;
}
.hf-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .hero-v2 { min-height: auto; }
    .hero-v2 .hero-foreground {
        opacity: .25;
        max-width: 80%;
        right: 16px;
    }
    .hero-v2 .hero-content { padding: 56px 0; }
}

/* ============== HERO v2 — Compact (alt sayfalar) ============== */
.hero-v2.hero-compact { min-height: 280px; }
.hero-v2.hero-compact .hero-content { padding: 24px 0; }
.hero-v2.hero-compact .hero-title { font-size: clamp(1.6rem, 2.6vw, 2.25rem); margin-bottom: .75rem; }
.hero-v2.hero-compact .hero-desc { font-size: 1rem; margin-bottom: 1rem; }
.hero-v2.hero-compact .hero-features { gap: 6px; }
.hero-v2.hero-compact .hero-features li { font-size: .95rem; }
/* Hero küçülse de sağdaki resmin boyutu sabit kalsın; alta hizalanıp yumuşak fade ile bitsin */
.hero-v2.hero-compact .hero-foreground {
    top: auto;
    bottom: 0;
    transform: translateY(var(--hero-parallax, 0px));
    height: 320px;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(180deg, #000 70%, rgba(0,0,0,0) 100%);
}
@media (max-width: 991.98px) {
    .hero-v2.hero-compact { min-height: auto; }
    .hero-v2.hero-compact .hero-content { padding: 32px 0; }
    .hero-v2.hero-compact .hero-foreground { height: 220px; }
}

/* Ürün detay hero'sunda sağdaki görseli container kenarına hizala (tam sağa yapışmasın) */
.product-detail-hero .hero-foreground {
    right: max(16px, calc((100vw - 1140px) / 2));
    max-width: 42%;
    object-position: center center;
}
@media (max-width: 1199.98px) {
    .product-detail-hero .hero-foreground { right: max(16px, calc((100vw - 960px) / 2)); }
}
@media (max-width: 991.98px) {
    .product-detail-hero .hero-foreground { right: 16px; max-width: 60%; }
}

@media (max-width: 575.98px) {
    .hero-v2 .hero-content { padding: 40px 0; }
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .hero-ctas .btn {
        width: 100%;
        text-align: center;
    }
    .hero-ctas .btn-hero-primary,
    .hero-ctas .btn-hero-outline {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* ============== Category Cards ============== */
.category-card {
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
    border: 1px solid #e7e7e7;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
/* Açıklama metni — varsayılan 3 satır clamp; "daha fazla" tıklanınca açılır. */
.category-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.category-desc.expanded {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}
.category-desc-toggle {
    color: var(--wera-orange);
    text-decoration: none;
    font-weight: 500;
}
.category-desc-toggle:hover { text-decoration: underline; }

/* ============== Production (Üretimden Teslime) ============== */
.production {
    background: #f5f5f5;
}
.section-title {
    margin-bottom: 28px;
    position: relative;
}
.section-title::before {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: #d97706;
    border-radius: 2px;
    margin-bottom: 14px;
}
.section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    font-weight: 600;
    color: #d97706;
    margin-bottom: 8px;
}
.production-title {
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.15;
    margin: 0 0 12px 0;
}
.production-subtitle {
    color: #525252;
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0;
    max-width: 640px;
}
.production-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid #ececec;
    transition: transform .2s ease, box-shadow .2s ease;
    height: 100%;
}
.production-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
    color: inherit;
}
.production-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    background: #fafafa;
    display: block;
}
.production-card-body {
    padding: 12px 14px 14px;
}
.production-card-body h5 {
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #1a1a1a;
}
.production-card-body p {
    margin: 0;
    color: #6b6b6b;
    font-size: .9rem;
    line-height: 1.4;
}
.production-card-body .arrow {
    color: #d97706;
    font-weight: 700;
    margin-left: 4px;
}
.production-info {
    padding: 8px 0 8px 16px;
}
.production-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.production-features-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
}
.production-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: #1a1a1a;
}
@media (max-width: 575.98px) {
    .production-features-2col { grid-template-columns: 1fr; }
}
.pf-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    color: #d97706;
    font-weight: 700;
    flex-shrink: 0;
}
@media (max-width: 991.98px) {
    .production-info { padding: 8px 0 0 0; }
    .production-card img { height: 200px; }
}

/* ============== CTA Banner (Ürünler sayfası) ============== */
.cta-banner {
    background: linear-gradient(180deg, #f2f2f2 0%, #e6e6e6 100%);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    min-height: 220px;
    position: relative;
}
.cta-banner-content {
    flex: 1 1 55%;
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    z-index: 1;
}
.cta-banner-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
}
.cta-banner-subtitle {
    color: #525252;
    margin: 0 0 16px 0;
}
.cta-banner-content .btn-hero-primary { align-self: flex-start; }
.cta-banner-image {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 16px;
}
.cta-banner-image img {
    max-height: 220px;
    max-width: 100%;
    object-fit: contain;
    object-position: right center;
}
@media (max-width: 767.98px) {
    .cta-banner { flex-direction: column; }
    .cta-banner-content { padding: 28px 24px 12px; }
    .cta-banner-image { flex: 0 0 auto; padding: 0 16px 20px; justify-content: center; }
    .cta-banner-image img { max-height: 160px; }
    .cta-banner-title { font-size: 1.35rem; }
}

/* ============== Neden WERA? Kartları ============== */
.why-wera-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}
.why-card {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}
.why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.why-card-icon {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 14px;
}
.why-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.why-card-text {
    font-size: 0.9rem;
    color: #6b6b6b;
    margin: 0;
    line-height: 1.5;
}

/* ============== Page Hero (alt sayfalar) ============== */
.page-hero {
    background: linear-gradient(135deg, #f6f8fb 0%, #e7ebf2 100%);
    border-bottom: 1px solid #e1e5ec;
}

/* ============== Detay - Info Sections ============== */
:root {
    --wera-orange: #d4a017;
}

/* ============== Detay sayfası iki sütunlu grid (Bootstrap row/col yerine) ============== */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}
.product-detail-grid > .pd-left,
.product-detail-grid > .pd-right { min-width: 0; }
@media (max-width: 991.98px) {
    .product-detail-grid { grid-template-columns: 1fr; gap: 30px; }
    .product-detail-grid > .pd-left  { order: 2; }
    .product-detail-grid > .pd-right { order: 1; }
}

/* Detay sayfası başlık alanı (sol kolon üstü) */
.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e1e2d;
    line-height: 1.2;
}
.product-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin: 0;
}
.product-desc {
    font-size: 14px;
    color: #5a5a6b;
    line-height: 1.7;
    max-width: 56ch;
}
@media (max-width: 991.98px) {
    .product-title { font-size: 26px; }
    .product-subtitle { font-size: 17px; }
}

/* Detay - Ana görsel + galeri thumbs (sağ kolon) */
.product-main-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #eef0f5;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.gallery-thumbs .thumb {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: #eef0f5;
    border: 1px solid #e1e3e8;
    cursor: pointer;
    transition: border-color .15s, transform .15s;
}
.gallery-thumbs .thumb:hover {
    border-color: var(--wera-orange);
    transform: translateY(-1px);
}
.gallery-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info-section {
    margin-bottom: 28px;
}
.info-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e1e2d;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-title::before {
    content: '✓';
    color: var(--wera-orange);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}
.info-title-badge {
    font-size: 12px;
    font-weight: 400;
    color: #6c757d;
    text-transform: none;
    letter-spacing: 0;
}
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-list > li {
    padding: 7px 0 7px 24px;
    position: relative;
    color: #444;
    line-height: 1.55;
    font-size: 14px;
}
.info-list > li::before {
    content: '✓';
    position: absolute;
    left: 2px;
    top: 7px;
    color: var(--wera-orange);
    font-weight: 800;
}

/* Tech detaylar — stacked (label bloğu üstte, value altında) */
.info-list.tech-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.info-list.tech-list > li {
    padding: 0 0 0 24px;
    border: 0;
}
.info-list.tech-list > li::before {
    top: 4px;
}
.info-list.tech-list strong {
    display: block;
    color: #1e1e2d;
    font-size: 14px;
    margin-bottom: 2px;
}
.info-list.tech-list span {
    display: block;
    color: #5a5a6b;
    font-size: 14px;
    line-height: 1.5;
}

/* Kişiselleştirme / Beden tablosu başlığı */
.customization-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e1e3e8;
    padding-bottom: 10px;
    margin-bottom: 14px;
    gap: 12px;
    flex-wrap: wrap;
}
.customization-header .info-title {
    margin-bottom: 0;
}
.size-chart-link {
    color: var(--wera-orange);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid var(--wera-orange);
    border-radius: 6px;
    white-space: nowrap;
    transition: background-color .15s, color .15s;
}
.size-chart-link:hover {
    background-color: var(--wera-orange);
    color: #fff;
}

/* Beden seçici */
.size-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.size-btn {
    background: #fff;
    border: 1px solid #e1e3e8;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1e1e2d;
    cursor: default;
    min-width: 44px;
    text-align: center;
}
.size-btn:hover {
    border-color: var(--wera-orange);
    color: var(--wera-orange);
}

/* Uzun açıklama — okunabilirlik */
.info-section .long-desc {
    color: #444;
    font-size: 14.5px;
    line-height: 1.7;
}
.info-section .long-desc p { margin-bottom: 12px; }
.info-section .long-desc h3,
.info-section .long-desc h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 18px 0 8px;
    color: #1e1e2d;
}
.info-section .long-desc ul,
.info-section .long-desc ol {
    padding-left: 20px;
    margin-bottom: 12px;
}
.info-section .long-desc li { margin-bottom: 6px; }

/* ============== Renk grid ============== */
.colors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
@media (max-width: 768px) { .colors-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .colors-grid { grid-template-columns: repeat(3, 1fr); } }
.color-item {
    text-align: center;
    font-size: 12px;
}
.color-item strong { display: block; font-size: 12px; margin-top: 4px; color: #222; }
.color-item span { display: block; font-size: 11px; color: #6c757d; }
.color-swatch {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    border: 1px solid #e1e5ec;
    overflow: hidden;
    position: relative;
}
.color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.color-item .color-swatch { transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.color-item:hover .color-swatch { transform: translateY(-1px); border-color: #c7cdd8; }
.color-item.is-active .color-swatch { border-color: #1e3a5f; box-shadow: 0 0 0 2px #1e3a5f33; }

/* ============== CTA Box ============== */
.cta-box {
    background: #f0f3f8;
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.cta-box h4 { font-size: 16px; margin: 0; }
@media (max-width: 576px) {
    .cta-box { flex-direction: column; text-align: center; }
}

/* ============== Referanslar (Logo Slider / Marquee) ============== */
.references {
    overflow: hidden;
}
.references-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--wera-dark);
}
.references-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    /* Kenarlarda yumuşak fade */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.references-track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: references-scroll 45s linear infinite;
}
.references-marquee:hover .references-track {
    animation-play-state: paused;
}
.references-item {
    flex: 0 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}
.references-item img {
    max-height: 70px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.75);
    transition: filter 0.25s ease;
}
.references-item:hover img,
.references-item a:hover img {
    filter: grayscale(0%) opacity(1);
}
@keyframes references-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (max-width: 576px) {
    .references-track { gap: 36px; animation-duration: 30s; }
    .references-item { height: 60px; }
    .references-item img { max-height: 52px; max-width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
    .references-track { animation: none; }
}

/* ============== Scroll Reveal Animations ============== */
/* Apple-vari hafif fade + slide + scale geçişleri.
   Element .reveal class'ı ile başlar (gizli/ötelenmiş), viewport'a girince
   IntersectionObserver tarafından .is-visible eklenir. */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
    will-change: opacity, transform;
}
.reveal.reveal-up    { transform: translateY(28px); }
.reveal.reveal-down  { transform: translateY(-28px); }
.reveal.reveal-left  { transform: translateX(-32px); }
.reveal.reveal-right { transform: translateX(32px); }
.reveal.reveal-zoom  { transform: scale(.94); }
.reveal.reveal-fade  { transform: none; }
.reveal.is-visible   { opacity: 1; transform: none; }

/* Stagger (sıralı) gecikmeler */
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
.reveal[data-delay="6"] { transition-delay: .48s; }
.reveal[data-delay="7"] { transition-delay: .56s; }
.reveal[data-delay="8"] { transition-delay: .64s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-v2 { --hero-parallax: 0px !important; }
}

/* ============== Footer ============== */
.site-footer a {
    text-decoration: none;
}
.site-footer a:hover {
    text-decoration: underline;
}

/* ============== Language Switcher ============== */
.lang-switcher .lang-switcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid #e1e5ec;
    border-radius: 999px;
    background: #fff;
    color: #1e1e2d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.lang-switcher .lang-switcher__toggle:hover,
.lang-switcher .lang-switcher__toggle:focus-visible {
    border-color: var(--wera-orange, #d4a017);
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    background: #fff;
}
.lang-switcher .lang-switcher__toggle::after { display: none; } /* bootstrap caret gizle */
.lang-switcher .lang-switcher__code {
    letter-spacing: .04em;
}
.lang-switcher .lang-switcher__caret {
    font-size: 10px;
    color: #8a8f9a;
    transition: transform .2s;
}
.lang-switcher.show .lang-switcher__caret {
    transform: rotate(180deg);
}

.lang-switcher__menu {
    min-width: 220px;
    padding: 6px;
    border: 1px solid #e6e8ee;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(20, 24, 40, .12);
    margin-top: 8px !important;
}
.lang-switcher__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #2a2a3a;
    transition: background-color .12s, color .12s;
}
.lang-switcher__item:hover,
.lang-switcher__item:focus-visible {
    background-color: #f5f1e6;
    color: #1e1e2d;
}
.lang-switcher__item.active,
.lang-switcher__item.active:hover {
    background-color: rgba(212, 160, 23, .12);
    color: var(--wera-orange, #d4a017);
    font-weight: 600;
}
.lang-switcher__name { flex: 1 1 auto; }
.lang-switcher__sub {
    font-size: 11px;
    color: #8a8f9a;
    letter-spacing: .05em;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f3f4f7;
}
.lang-switcher__item.active .lang-switcher__sub {
    background: rgba(212,160,23,.18);
    color: var(--wera-orange, #d4a017);
}
.lang-switcher__check {
    color: var(--wera-orange, #d4a017);
    font-size: 12px;
    margin-left: 2px;
}

/* Flag icon rendering */
.lang-flag {
    width: 20px;
    height: 15px;
    display: inline-block;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.06);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.lang-flag-emoji {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}
