/* ============================================================
   CREVO - style.css
   Mobile-first, SEO-dostu, temiz mimari.
   
   RENK PALETİ:
   Accent:  #49c5b6 (teal)
   Light:   #60fcf1
   Dark:    #3aab9e
   
   DOSYA HARİTASI:
   1. Reset & Variables
   2. Base / Typography
   3. Layout Helpers
   4. Navbar
   5. Hero
   6. Stats
   7. Üretim (Capabilities)
   8. Ürünler (Products)
   9. Sertifikalar (Certificates)
   10. Tarihçe (Timeline)
   11. İletişim / CTA
   12. Footer
   13. Animations
   14. Tablet (min-width: 768px)
   15. Desktop (min-width: 1024px)
   16. Large Desktop (min-width: 1280px)
============================================================ */

/* ----------------------------------------------------------
   1. RESET & VARIABLES
---------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent: #49c5b6;
    --accent-light: #60fcf1;
    --accent-dark: #3aab9e;

    --bg: #ffffff;
    --bg-alt: #f7f8fa;
    --surface: #f0f2f5;
    --border: #e2e5ea;

    --text: #2d3340;
    --text-muted: #6b7280;
    --text-dim: #9ca3af;
    --heading: #111827;

    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;

    --radius: 12px;
    --radius-sm: 8px;
    --radius-full: 50px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

/* ----------------------------------------------------------
   2. BASE / TYPOGRAPHY
---------------------------------------------------------- */
body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    color: var(--heading);
    line-height: 1.2;
}

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

/* Force cover images to fill their containers */
.cat-img img,
.prod-img img,
.related-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

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

/* ----------------------------------------------------------
   3. LAYOUT HELPERS
---------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

section {
    padding: 4rem 0;
}

.bg-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.35s var(--ease);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(73, 197, 182, 0.25);
}

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

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ----------------------------------------------------------
   4. NAVBAR
---------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #0a0a0a;
    transition: all 0.4s var(--ease);
}

/* Generated pages use nav-inner wrapper */
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar.scrolled {
    background: #0a0a0a;
    padding: 0.7rem 1.25rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo img {
    height: 28px;
    width: auto;
    transition: height 0.3s ease;
}

.navbar.scrolled .nav-logo img {
    height: 24px;
}

.nav-links {
    display: none;
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-light);
}

.nav-cta {
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--accent-light) !important;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--accent);
    color: #fff !important;
}

/* Mobile Toggle Button */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    z-index: 110;
    /* Init z-index */
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger → X animation */
.nav-toggle.active {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 10001;
    width: 44px;
    height: 44px;
    display: flex !important;
    /* Force display even on tablet/desktop if active */
}

.nav-toggle.active span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 2px;
    background-color: #fff;
}

.nav-toggle.active span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Mobile menu overlay */
.nav-links.active {
    display: flex;
    position: fixed;
    inset: 0;
    background-color: #0a0a0a;
    /* Solid background */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 10000;
    /* High z-index but below toggle */
    padding: 2rem;
}

.nav-links.active a {
    font-size: 1.1rem;
    color: #fff;
}

/* Mobile menu close button (Dynamic) */
.mobile-menu-close {
    display: none !important;
    /* Hide the HTML-based button */
}

.dynamic-close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2147483647;
    /* Maximum z-index */
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #fff;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
    /* Center alignment adjustment */
    line-height: 1;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dynamic-close-btn:hover,
.dynamic-close-btn:active {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

/* ----------------------------------------------------------
   5. HERO
---------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-wrap {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 0;
}

.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .hero-video-wrap {
        height: 100%;
        /* Fix mobile address bar jumpiness */
        top: 0;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0.75) 0%,
            rgba(10, 10, 10, 0.55) 40%,
            rgba(10, 10, 10, 0.4) 60%,
            rgba(255, 255, 255, 0.55) 85%,
            rgba(255, 255, 255, 0.97) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 5rem 1.25rem 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s var(--ease) 0.2s both;
}

.hero-title {
    font-size: clamp(2rem, 7vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: #fff;
    animation: fadeUp 0.8s var(--ease) 0.4s both;
}

.hero-title em {
    font-style: normal;
    color: var(--accent-light);
}

.hero-subtitle {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s var(--ease) 0.6s both;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    animation: fadeUp 0.8s var(--ease) 0.8s both;
}

.hero-actions .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-actions .btn-outline:hover {
    border-color: var(--accent-light);
    color: var(--accent-light);
}

.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    animation: fadeUp 0.8s var(--ease) 1s both;
}

.hero-scroll span {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ----------------------------------------------------------
   5b. PAGE HEADER (Alt sayfalar için - hero yerine)
---------------------------------------------------------- */
.page-header {
    padding: 7rem 0 2.5rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    color: var(--text-dim);
}

.breadcrumb a {
    color: var(--accent);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-dark);
}

.breadcrumb span {
    color: var(--text-dim);
}

/* ----------------------------------------------------------
   6. STATS
---------------------------------------------------------- */
.stats {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
}

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

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ----------------------------------------------------------
   7. ÜRETİM (Capabilities)
---------------------------------------------------------- */
.cap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.cap-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
}

.cap-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: rgba(73, 197, 182, 0.3);
}

.cap-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface);
}

.cap-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.cap-card:hover .cap-img img {
    transform: scale(1.04);
}

.cap-body {
    padding: 1.25rem;
}

.cap-num {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.5rem;
}

.cap-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.cap-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ----------------------------------------------------------
   8. ÜRÜNLER (Products)
---------------------------------------------------------- */
.prod-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.prod-card {
    position: relative;
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
}

.prod-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(73, 197, 182, 0.3);
}

.prod-img {
    position: relative;
    height: 0;
    padding-bottom: 133.33%;
    overflow: hidden;
    background: var(--surface);
}

.prod-img img {
    transition: transform 0.6s var(--ease);
}

.prod-card:hover .prod-img img {
    transform: scale(1.04);
}

.prod-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-alt) 100%);
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    text-transform: uppercase;
}

.prod-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.25rem;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.92) 0%, transparent 100%);
}

.prod-tag {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-light);
    display: block;
    margin-bottom: 0.4rem;
}

.prod-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
}

.prod-info p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.prod-arrow {
    display: none;
}

.prod-card:hover .prod-arrow {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ----------------------------------------------------------
   9. SERTİFİKALAR (Certificates - minimal)
---------------------------------------------------------- */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 750px;
    margin: 0 auto;
}

.cert-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    position: relative;
    transition: all 0.4s var(--ease);
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: var(--radius) var(--radius) 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.cert-card:hover::before {
    opacity: 1;
}

.cert-thumb {
    position: relative;
    overflow: hidden;
    background: var(--surface);
}

.cert-thumb img {
    width: 100%;
    display: block;
    transition: transform 0.4s var(--ease);
}

.cert-card:hover .cert-thumb img {
    transform: scale(1.03);
}

.cert-zoom {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 0.85rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s var(--ease);
}

.cert-card:hover .cert-zoom {
    opacity: 1;
    transform: scale(1);
}

.cert-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    padding: 0.85rem 0.5rem;
    margin: 0;
}

/* Invoice grid (tarihçe) */
.invoice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 750px;
    margin: 0 auto;
}

/* ----------------------------------------------------------
   9b. LIGHTBOX MODAL
---------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

/* Custom Language Dropdown */
.lang-dropdown {
    position: relative;
    margin-left: 1.5rem;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.lang-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.5rem;
    list-style: none;
    display: none;
    /* Hidden by default */
    flex-direction: column;
    gap: 0.25rem;
    min-width: 140px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-top: 0.5rem;
}

.lang-menu.show {
    display: flex;
}

.lang-menu button {
    background: none;
    border: none;
    color: #ccc;
    width: 100%;
    text-align: left;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    transition: all 0.2s;
    font-size: 0.9rem;
}

.lang-menu button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Mobile Menu Adjustments */
@media (max-width: 768px) {
    .lang-dropdown {
        margin: 1rem 0;
        width: 100%;
    }

    .lang-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
    }

    .lang-menu {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
        background: transparent;
        border: none;
        display: none;
        /* Keep hidden until toggled */
        box-shadow: none;
    }

    .lang-menu.show {
        display: flex;
    }

    .lang-menu button {
        justify-content: center;
        padding: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.3);
    }
}

/* RTL Support */
.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

.lightbox-caption {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-align: center;
    max-width: 500px;
}

/* ----------------------------------------------------------
   10. TARİHÇE (Timeline)
---------------------------------------------------------- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline-line {
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.tl-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.tl-item:last-child {
    margin-bottom: 0;
}

.tl-dot {
    position: absolute;
    left: -2rem;
    top: 1.75rem;
    width: 13px;
    height: 13px;
    background: var(--accent);
    border: 3px solid var(--bg-alt);
    border-radius: 50%;
    transform: translateX(-0.5px);
}

.tl-content {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease);
}

.tl-content:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(73, 197, 182, 0.3);
}

.tl-year {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.tl-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tl-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.tl-img {
    margin-top: 1rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}

.tl-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Invoice thumbnails in timeline */
.tl-invoices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.tl-invoice {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.tl-invoice:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: rgba(73, 197, 182, 0.3);
}

.tl-invoice img {
    width: 100%;
    aspect-ratio: 7 / 10;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

.tl-invoice:hover img {
    transform: scale(1.03);
}

.tl-invoice-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.4rem 0.5rem;
    background: rgba(0, 0, 0, 0.65);
    font-family: var(--mono);
    font-size: 0.58rem;
    color: #fff;
    letter-spacing: 0.1em;
    text-align: center;
}

/* ----------------------------------------------------------
   11. İLETİŞİM / CTA
---------------------------------------------------------- */
.cta-block {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin: 2rem 0 2.5rem;
}

.contact-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.contact-item {
    text-align: center;
}

.contact-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.contact-item a,
.contact-item span {
    font-size: 0.92rem;
    color: var(--text);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
}

.social-links svg {
    flex-shrink: 0;
}

/* ----------------------------------------------------------
   12. FOOTER
---------------------------------------------------------- */
footer {
    border-top: 1px solid var(--border);
    padding: 1.75rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--text-dim);
}

.footer-brand img {
    height: 20px;
    width: auto;
}

.footer-est {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
}

/* ----------------------------------------------------------
   13. PRODUCT PAGES
---------------------------------------------------------- */

/* Active nav link */
.nav-links a.active {
    color: var(--accent-light);
}

/* Category product grid */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.cat-card {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s var(--ease);
    text-align: center;
}

.cat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: rgba(73, 197, 182, 0.3);
}

.cat-img {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    background: var(--surface);
    flex-shrink: 0;
}

.cat-img img {
    display: block;
    transition: transform 0.4s var(--ease);
}

.cat-card:hover .cat-img img {
    transform: scale(1.05);
}

.cat-card h3 {
    font-size: 1rem;
    font-weight: 700;
    padding: 0.85rem 0.5rem 0.25rem;
}

.cat-code {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    padding-bottom: 0.85rem;
}

/* Compact specs in product detail right side */
.pd-specs {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.pd-specs-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
}

.pd-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.pd-specs-table tr {
    border-bottom: 1px solid var(--border);
}

.pd-specs-table tr:last-child {
    border-bottom: none;
}

.pd-specs-table th,
.pd-specs-table td {
    padding: 0.45rem 0;
    font-size: 0.8rem;
    text-align: left;
}

.pd-specs-table th {
    font-weight: 600;
    color: var(--heading);
    width: 35%;
}

.pd-specs-table td {
    color: var(--text-muted);
}

/* Video thumbnail */
.pd-thumb-video {
    position: relative;
}

.pd-thumb-video .pd-thumb-ph {
    font-size: 1.1rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

/* Category product list */
.product-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.product-list-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
}

.product-list-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: rgba(73, 197, 182, 0.3);
}

.plc-img {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface);
}

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

.plc-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-alt) 100%);
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-dim);
}

/* ----------------------------------------------------------
   MICROINTERACTIONS & ANIMATIONS
   ---------------------------------------------------------- */

/* Global Transition */
a,
button,
.btn,
.card,
.prod-card,
input,
select,
textarea {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 1. Buttons */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 2. Product Cards */
.prod-card:hover,
.cat-card:hover,
.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.prod-card:hover .prod-img img,
.cat-card:hover .cat-img img,
.related-card:hover .related-img img {
    transform: scale(1.08);
}

.prod-arrow {
    transition: transform 0.3s ease;
}

.prod-card:hover .prod-arrow {
    transform: translateX(5px);
    color: var(--accent);
}

/* 3. Navigation Link Underline */
.nav-links a {
    position: relative;
    text-decoration: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: var(--accent);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    left: 0;
}

/* Make sure active link stays active */
.nav-links a.active {
    font-weight: 600;
}

.plc-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--heading);
}

.plc-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.plc-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
}

/* Product detail layout */
.pd-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

/* Gallery */
.pd-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pd-main-img {
    aspect-ratio: 2 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    position: relative;
    cursor: pointer;
}

.pd-main-img::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: 200;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    pointer-events: none;
    z-index: 2;
    line-height: 1;
}

.pd-main-img:hover::after {
    opacity: 1;
}

.pd-main-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.4s var(--ease);
}

.pd-main-img:hover img {
    filter: blur(2px) brightness(0.8);
}

/* Lightbox specific for products */
.lightbox-content img {
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
}

.pd-thumbs {
    display: flex;
    gap: 0.5rem;
}

.pd-thumb {
    flex: 1;
    aspect-ratio: 1;
    max-width: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.pd-thumb.active,
.pd-thumb:hover {
    border-color: var(--accent);
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-thumb-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Product info */
.pd-info {
    display: flex;
    flex-direction: column;
}

.pd-info h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.pd-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.pd-code-display {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin-bottom: 1rem;
    margin-top: -0.5rem;
}

.pd-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pd-hl {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.pd-hl-icon {
    color: var(--accent);
    font-size: 0.7rem;
}

.pd-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Specs table */
.specs-table-wrap {
    max-width: 700px;
    margin: 0 auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table th,
.specs-table td {
    padding: 0.85rem 0;
    text-align: left;
    font-size: 0.88rem;
}

.specs-table th {
    font-weight: 600;
    color: var(--heading);
    width: 40%;
    padding-right: 1.5rem;
}

.specs-table td {
    color: var(--text-muted);
}

/* Video section */
.pd-video-wrap {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
}

.pd-video-wrap video,
.pd-video-wrap iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

.pd-video-placeholder {
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.pd-video-placeholder span {
    font-size: 2rem;
}

.pd-video-placeholder p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pd-video-placeholder small {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Related products */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.related-card {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s var(--ease);
}

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

.related-img {
    position: relative;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
    background: var(--surface);
}

.related-img img {
    display: block;
}

.related-card h3 {
    padding: 0.85rem;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
}

/* Coming soon */
.coming-soon {
    text-align: center;
    padding: 4rem 0;
    max-width: 500px;
    margin: 0 auto;
}

.coming-soon-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.coming-soon h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.coming-soon p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ----------------------------------------------------------
   14. ANIMATIONS
---------------------------------------------------------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 1;
    }

    50% {
        transform: scaleY(0.5);
        opacity: 0.3;
    }
}

/* Scroll-triggered */
.anim-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.anim-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------------------------
   14. TABLET  (min-width: 768px)
---------------------------------------------------------- */
/* Global Video Background Styles */
.video-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    section {
        padding: 5.5rem 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-header {
        margin-bottom: 3.5rem;
    }

    .page-header {
        padding: 8rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    /* Navbar */
    .navbar {
        padding: 1rem 2rem;
    }

    .navbar.scrolled {
        padding: 0.7rem 2rem;
    }

    .nav-links {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .nav-toggle {
        display: none;
    }

    /* Hero */
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat-num {
        font-size: 2.2rem;
    }

    /* Capabilities */
    .cap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Products */
    .prod-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Certificates */
    .cert-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .contact-row {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }

    /* Footer */
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    /* Product pages */
    .product-list {
        grid-template-columns: 1fr;
    }

    .plc-img {
        width: 120px;
        height: 120px;
    }

    .pd-layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .pd-actions {
        flex-direction: row;
    }

    .related-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .pd-thumb {
        max-width: 100px;
    }

    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ----------------------------------------------------------
   15. DESKTOP  (min-width: 1024px)
---------------------------------------------------------- */
@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }

    section {
        padding: 7rem 0;
    }

    .section-title {
        font-size: 2.6rem;
    }

    /* Navbar */
    .navbar {
        padding: 1.25rem 3rem;
    }

    .navbar.scrolled {
        padding: 0.8rem 3rem;
    }

    .nav-logo img {
        height: 32px;
    }

    .navbar.scrolled .nav-logo img {
        height: 26px;
    }

    .nav-links {
        gap: 2.5rem;
    }

    /* Capabilities 4 columns */
    .cap-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Stats */
    .stat-num {
        font-size: 2.5rem;
    }

    /* Timeline: centered with alternating sides */
    .timeline {
        padding-left: 0;
    }

    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }

    .tl-item {
        display: flex;
        margin-bottom: 3rem;
    }

    .tl-item:nth-child(odd) {
        justify-content: flex-start;
        padding-right: calc(50% + 2rem);
    }

    .tl-item:nth-child(even) {
        justify-content: flex-end;
        padding-left: calc(50% + 2rem);
    }

    .tl-dot {
        left: 50%;
        transform: translateX(-50%);
    }

    .tl-content {
        width: 100%;
    }
}

/* ----------------------------------------------------------
   16. LARGE DESKTOP  (min-width: 1280px)
---------------------------------------------------------- */
@media (min-width: 1280px) {
    .hero-content {
        max-width: 850px;
    }

    .cap-grid {
        gap: 1.75rem;
    }

    .prod-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* ----------------------------------------------------------
   10.1 ÜRETİM GÜCÜ (Video Parallax)
   ---------------------------------------------------------- */
    .video-section {
        position: relative;
        padding: 8rem 0;
        overflow: hidden;
        clip-path: inset(0);
        /* Essential for fixed video parallax inside section */
        color: #fff;
    }

    .video-bg-wrap {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        pointer-events: none;
        will-change: transform;
    }

    .video-bg-wrap.parallax-bg {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .bg-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.65);
        /* Dark overlay */
        z-index: 0;
    }

    .relative-z {
        position: relative;
        z-index: 2;
    }

    .text-white,
    .text-white * {
        color: #fff !important;
    }

    .opacity-80 {
        opacity: 0.8;
    }

    .tag-white {
        color: var(--accent-light);
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.05);
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
    }

    .cap-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        margin-top: 4rem;
    }

    .cap-card.glass {
        position: relative;
        background: rgba(255, 255, 255, 0.08);
        /* Glass effect */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: var(--radius-md);
        padding: 2.5rem 1.5rem;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow: hidden;
    }

    .cap-card.glass:hover {
        transform: translateY(-10px);
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.4);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

    .cap-card.glass .cap-num {
        position: relative;
        top: auto;
        right: auto;
        display: block;
        font-size: 3rem;
        font-weight: 800;
        color: rgba(255, 255, 255, 0.15);
        margin-bottom: 1rem;
        transition: all 0.4s ease;
    }

    .cap-card.glass:hover .cap-num {
        color: var(--accent-light);
        transform: scale(1.1);
        opacity: 1;
    }

    .cap-card.glass h3 {
        color: #fff;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .cap-card.glass p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Remove old cap styles if necessary by overriding or assuming replaced */

    /* ----------------------------------------------------------
   10.2 SERTİFİKALAR
   ---------------------------------------------------------- */
    .cert-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 2rem;
    }

    .cert-card {
        text-align: center;
        cursor: pointer;
        transition: all 0.3s var(--ease);
    }

    .cert-thumb {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1.41;
        /* A4 Ratio */
        overflow: hidden;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border);
        margin-bottom: 1rem;
        background: #fff;
    }

    .cert-thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 10px;
        transition: transform 0.4s var(--ease);
    }

    .cert-zoom {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        font-size: 2rem;
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: none !important;
        /* Remove zoom icon */
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: all 0.3s var(--ease);
        border: 2px solid rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(4px);
    }

    .cert-label {
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-heading);
        transition: color 0.3s var(--ease);
    }

    .cert-card:hover {
        transform: translateY(-8px);
    }

    .cert-card:hover .cert-thumb {
        box-shadow: var(--shadow-md);
        border-color: var(--accent);
    }

    .cert-card:hover .cert-thumb img {
        transform: scale(1.05);
        opacity: 0.9;
    }

    .cert-card:hover .cert-zoom {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    .cert-card:hover .cert-label {
        color: var(--accent);
    }

    /* ----------------------------------------------------------
   10.3 TARİHÇE (Faturalar)
   ---------------------------------------------------------- */
    .invoice-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .tl-invoice {
        position: relative;
        border-radius: var(--radius-sm);
        overflow: hidden;
        border: 1px solid var(--border);
        background: #fff;
        cursor: pointer;
        transition: all 0.3s var(--ease);
        aspect-ratio: 5 / 7;
    }

    .tl-invoice img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s var(--ease);
    }

    .tl-invoice-label {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0.5rem;
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        font-family: var(--mono);
        font-size: 0.75rem;
        text-align: center;
        backdrop-filter: blur(4px);
        transform: translateY(100%);
        transition: transform 0.3s var(--ease);
    }

    .tl-invoice:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
        border-color: var(--accent);
    }

    .tl-invoice:hover img {
        transform: scale(1.05);
    }

    .tl-invoice:hover .tl-invoice-label {
        transform: translateY(0);
    }

    /* ----------------------------------------------------------
   10.4 STATS (Sayılar)
   ---------------------------------------------------------- */
    .stats {
        padding: 5rem 0;
        border-bottom: 1px solid var(--border);
        border-top: 1px solid var(--border);
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        text-align: center;
    }

    .stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
        border-radius: var(--radius-md);
        transition: all 0.3s var(--ease);
    }

    .stat-num {
        font-family: var(--mono);
        font-size: 3.5rem;
        font-weight: 800;
        /* Ensure high contrast */
        color: var(--accent);
        line-height: 1;
        margin-bottom: 0.5rem;
        /* Use primary gradient for visibility */
        background: linear-gradient(135deg, var(--accent) 0%, #2c3e50 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        transition: all 0.3s var(--ease);
    }

    .stat-label {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .stat:hover {
        transform: translateY(-5px);
        background: var(--surface);
        box-shadow: var(--shadow-sm);
    }

    .stat:hover .stat-num {
        transform: scale(1.1);
        background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .cap-card.glass {
        padding: 1.5rem;
    }
}

/* ----------------------------------------------------------
   EXTRACTED: These were nested inside min-width:1280px and
   never fired on mobile. Now they work independently.
   ---------------------------------------------------------- */
@media (max-width: 992px) {

    .cap-grid,
    .cert-grid,
    .invoice-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .cap-grid {
        grid-template-columns: 1fr;
    }

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

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

    .stat-num {
        font-size: 2rem;
    }

    .video-section {
        padding: 3rem 0;
    }
}

/* ----------------------------------------------------------
   MOBILE FIXES (max-width: 767px)
   ---------------------------------------------------------- */
@media (max-width: 767px) {

    /* Reduce section padding for mobile */
    section {
        padding: 2.5rem 0;
    }

    /* Hero content: tighter padding */
    .hero-content {
        padding: 4rem 1rem 2rem;
    }

    /* Section title sizing */
    .section-title {
        font-size: 1.5rem;
    }

    .section-header {
        margin-bottom: 1.75rem;
    }

    /* Product detail: better mobile aspect ratio */
    .pd-main-img {
        aspect-ratio: 3 / 4;
    }

    /* Product detail: reduce gap */
    .pd-layout {
        gap: 1.5rem;
    }

    .pd-info h2 {
        font-size: 1.5rem;
    }

    /* Related products: 2 columns */
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* Cert thumb: proper containment */
    .cert-thumb {
        aspect-ratio: 1 / 1.41;
    }

    .cert-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        padding: 0;
    }

    /* Invoice images: proper containment */
    .tl-invoice {
        aspect-ratio: 5 / 7;
    }

    .tl-invoice img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Products hero banner: constrain height */
    .products-hero img {
        max-height: 250px;
        object-fit: cover;
    }

    /* Page header: reduce top padding */
    .page-header {
        padding: 5.5rem 0 1.5rem;
    }

    .page-header h1 {
        font-size: 1.4rem;
    }

    /* Blog layout: single column */
    .blog-layout {
        grid-template-columns: 1fr;
    }

    /* Breadcrumb spacing */
    .breadcrumb {
        font-size: 0.7rem;
        padding-top: 4.5rem;
    }

    /* Product detail breadcrumb */
    .product-detail .breadcrumb {
        padding-top: 0;
    }

    /* Showcase grid */
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ----------------------------------------------------------
   16. BLOG / REHBER
   ---------------------------------------------------------- */
.blog-section {
    padding: 4rem 0;
    background: #f8f9fa;
    /* Light background for contrast */
    background-image: radial-gradient(circle at 10% 20%, rgba(73, 197, 182, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(73, 197, 182, 0.05) 0%, transparent 20%);
}

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

/* Minimalist Glass Card */
.blog-card.glass-card {
    background: rgba(255, 255, 255, 0.65);
    /* Semi-transparent white */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 280px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
}

/* Hover Effect: Lift & Border */
.blog-card.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.85);
    /* More opaque on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

/* Hover Effect: Subtle Gradient Background */
.blog-card.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(73, 197, 182, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.blog-card.glass-card:hover::before {
    opacity: 1;
}

.blog-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--heading);
}

.blog-title a {
    color: inherit;
    transition: color 0.3s ease;
}

.blog-card.glass-card:hover .blog-title a {
    color: var(--accent);
}

.blog-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.blog-date {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: var(--mono);
}

.blog-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.blog-card.glass-card:hover .blog-link {
    color: var(--accent);
}

/* Blog Detail Layout */
.blog-detail-section {
    padding: 4rem 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.blog-featured-img {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2rem;
    background: var(--surface);
}

.blog-placeholder-lg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dim);
    font-weight: 700;
    background: var(--surface);
}

.blog-text {
    color: var(--text);
    line-height: 1.8;
    font-size: 1.05rem;
}

.blog-text h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: var(--heading);
}

.blog-text h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--heading);
}

.blog-text p {
    margin-bottom: 1.25rem;
}

.blog-text blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--bg-alt);
    border-left: 4px solid var(--accent);
    font-style: italic;
    color: var(--heading);
    font-size: 1.1rem;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.blog-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.blog-list li {
    margin-bottom: 0.75rem;
    list-style-type: disc;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.sidebar-widget h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    color: var(--heading);
}

.sidebar-prod-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sidebar-prod-card:last-child {
    margin-bottom: 0;
}

.sp-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    flex-shrink: 0;
}

.sp-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-dim);
}

.sp-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.sp-link {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 500;
}

.sp-link:hover {
    text-decoration: underline;
}

.cta-widget {
    text-align: center;
    background: var(--bg-alt);
}

.cta-widget p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        order: 2;
        /* Move sidebar below content on mobile */
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-detail-section {
        padding: 2rem 0;
    }
}

/* Custom Language Dropdown */
.lang-dropdown {
    position: relative;
    margin-left: 1.5rem;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.lang-flag {
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
}

.lang-flag-img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.5rem;
    list-style: none;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 140px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-top: 0.5rem;
}

.lang-menu.show {
    display: flex;
}

.lang-menu button {
    background: none;
    border: none;
    color: #ccc;
    width: 100%;
    text-align: left;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    transition: all 0.2s;
    font-size: 0.9rem;
}

.lang-menu button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Mobile Menu Adjustments */
@media (max-width: 768px) {
    .lang-dropdown {
        margin: 1rem 0;
        width: 100%;
    }

    .lang-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
    }

    .lang-menu {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
        background: transparent;
        border: none;
        display: none;
        box-shadow: none;
    }

    .lang-menu.show {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .lang-menu button {
        justify-content: center;
        padding: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.15);
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .lang-menu button img {
        width: 24px;
        height: 16px;
        margin-bottom: 2px;
    }
}

/* RTL Support for Dropdown */
[dir='rtl'] .lang-dropdown {
    margin-left: 0;
    margin-right: 1.5rem;
}

[dir='rtl'] .lang-menu {
    right: auto;
    left: 0;
    text-align: right;
}

[dir='rtl'] .lang-menu button {
    text-align: right;
    justify-content: flex-start;
}

.lang-menu button img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

/* Mobile Video Section Fix */
@media (max-width: 1279px) {
    .video-section {
        position: relative;
        padding: 6rem 0;
        overflow: hidden;
        color: #fff;
        min-height: 500px;
    }

    .video-bg-wrap {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .video-bg-wrap.parallax-bg {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .bg-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 0;
    }

    .relative-z {
        position: relative;
        z-index: 2;
    }

    .text-white,
    .text-white * {
        color: #fff !important;
    }

    .tag-white {
        color: var(--accent-light);
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.05);
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
    }

    .cap-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .cap-card.glass {
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .cap-card.glass .cap-num {
        display: block;
        font-size: 2.5rem;
        font-weight: 800;
        color: rgba(255, 255, 255, 0.2);
        margin-bottom: 0.5rem;
    }

    .cap-card.glass h3 {
        color: #fff;
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .cap-card.glass p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
    }
}

/* Mobile: 3 Columns as requested (Tiny thumbnails) */
@media (max-width: 768px) {

    .cert-grid,
    .invoice-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
        /* Smaller gap for 3 cols */
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }

    /* Certificates: 3 cols */
    .cert-thumb {
        aspect-ratio: 1 / 1.41 !important;
        height: auto !important;
        /* Removing fixed padding to maximise image size in tiny col */
    }

    .cert-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* "Tam kaplasın" request: fill the frame */
        padding: 0;
        /* Remove padding for full coverage */
    }

    /* Invoices: 3 cols */
    .tl-invoice {
        aspect-ratio: 5 / 7 !important;
        height: auto !important;
    }

    .tl-invoice img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Fill the frame */
    }
}

/* ----------------------------------------------------------
   17. KİMLER İÇİN SECTION
   ---------------------------------------------------------- */
#kimler-icin {
    padding: 5rem 0;
}

.kimler-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.kimler-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: all 0.3s var(--ease);
}

.kimler-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.kimler-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1.25rem;
}

.kimler-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.kimler-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.kimler-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.kimler-marketplace {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .kimler-grid {
        grid-template-columns: 1fr;
    }

    .kimler-card {
        padding: 1.5rem;
    }
}

/* ----------------------------------------------------------
   18. MARKETPLACE BUTTONS
   ---------------------------------------------------------- */
.pd-marketplace {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.btn-trendyol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.3s var(--ease);
    background: transparent;
    border: none;
}

.btn-trendyol:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.btn-hepsiburada {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.3s var(--ease);
    background: transparent;
    border: none;
}

.btn-hepsiburada:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

@media (max-width: 576px) {
    .pd-marketplace {
        flex-direction: column;
    }

    .btn-trendyol,
    .btn-hepsiburada {
        width: 100%;
        text-align: center;
    }

    .btn-trendyol img,
    .btn-hepsiburada img {
        max-width: 100%;
        height: auto;
        max-height: 32px;
    }
}

/* ----------------------------------------------------------
   19. CONTACT FORM
   ---------------------------------------------------------- */
.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-heading);
    font-family: var(--sans);
    font-size: 0.95rem;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(73, 197, 182, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: auto;
}

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

.contact-form .btn {
    margin-top: 0.5rem;
    width: 100%;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        max-width: 100%;
    }
}

/* ----------------------------------------------------------
   20. SHOWCASE GRID (Ürünler Bölümü Mockup Görselleri)
   ---------------------------------------------------------- */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.showcase-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 3 / 4;
    display: block;
}

.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.showcase-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}

.showcase-card:hover img {
    transform: scale(1.05);
}

.showcase-card:hover::after {
    opacity: 1;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

@media (max-width: 576px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .showcase-card {
        aspect-ratio: 4 / 5;
    }

    .btn-lg {
        width: 100%;
        padding: 0.9rem 1.5rem;
    }
}

/* ----------------------------------------------------------
   21. PRODUCTS HERO BANNER (Anasayfa)
   ---------------------------------------------------------- */
.products-hero {
    margin-top: 2.5rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.products-hero a {
    display: block;
}

.products-hero img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.4s var(--ease);
}

.products-hero:hover img {
    filter: brightness(0.85);
}

/* ----------------------------------------------------------
   22. LIFESTYLE PRODUCT GRID (Ürünler Sayfası)
   ---------------------------------------------------------- */
.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lifestyle-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--ease);
}

.lifestyle-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.lifestyle-img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.lifestyle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.lifestyle-card:hover .lifestyle-img img {
    transform: scale(1.03);
}

.lifestyle-info {
    padding: 1.25rem 1.25rem 1.5rem;
}

.lifestyle-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.3rem;
}

.lifestyle-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.lifestyle-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: letter-spacing 0.3s var(--ease);
}

.lifestyle-card:hover .lifestyle-link {
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .lifestyle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .lifestyle-grid {
        grid-template-columns: 1fr;
    }

    .lifestyle-info {
        padding: 1rem;
    }
}

/* ----------------------------------------------------------
   Footer Navigation
---------------------------------------------------------- */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin: 1rem 0;
}

.footer-nav a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent);
}