/* ==========================================
   AGROFINE - Professional Design v3
   Font: Manrope only
   Colors: Turquoise (#14A19A) & White
   ========================================== */

:root {
    --color-primary: #14A19A;
    --color-primary-light: #e8f7f6;
    --color-primary-dark: #0d7a75;
    --color-accent: #14A19A;
    --color-accent-hover: #0d7a75;
    --color-accent-2: #424949;
    --gradient-accent: linear-gradient(135deg, #14A19A 0%, #424949 100%);
    --color-dark: #1a2b3c;
    --color-navy: #2c3e50;
    --color-text: #5a6a7a;
    --color-text-light: #8899aa;
    --color-text-muted: #a0afc0;
    --color-bg: #ffffff;
    --color-bg-light: #f5f8fa;
    --color-bg-warm: #f8f9fa;
    --color-border: #e8eef3;
    --hero-overlay: linear-gradient(180deg, rgba(15,33,53,0.75) 0%, rgba(15,33,53,0.6) 60%, rgba(15,33,53,0.4) 100%);
    --font: 'Manrope', sans-serif;
    --header-height: 64px;
    --header-height-shrink: 52px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-weight: 400;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 15px;
}

body.menu-open {
    overflow: hidden;
}

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

/* ==========================================
   HEADER
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Blur uygulanmış arka plan, ::before üzerinde — backdrop-filter doğrudan
   .main-header üzerinde olursa position:fixed alt elemanları (mobil menü
   çekmecesi) için yeni bir containing block oluşturur ve menüyü viewport
   yerine 52-64px'lik header kutusuna sıkıştırır. */
.main-header.scrolled::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
    transition: height 0.3s ease;
}

.main-header.scrolled .header-inner {
    height: var(--header-height-shrink);
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
}

.logo img {
    height: 75px;
    width: auto;
    display: block;
    transition: opacity 0.35s ease, height 0.3s ease;
}

.logo .logo-dark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
}

.logo .logo-light {
    opacity: 1;
}

.main-header.scrolled .logo .logo-light {
    opacity: 0;
    pointer-events: none;
}

.main-header.scrolled .logo .logo-dark {
    opacity: 1;
    pointer-events: auto;
}

.main-header.scrolled .logo img {
    height: 75px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-item.active .nav-link {
    color: var(--color-primary);
    background: rgba(20, 161, 154, 0.08);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.main-header.scrolled .nav-link {
    color: var(--color-navy);
}

.nav-link:hover {
    color: var(--color-primary);
    background: rgba(20, 161, 154, 0.08);
}

.mobile-nav-head {
    display: none;
}

.nav-link svg {
    opacity: 0.5;
    transition: transform 0.2s;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.main-header.scrolled .header-phone {
    color: var(--color-navy);
}

.header-phone:hover {
    color: var(--color-primary);
}

.header-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.header-whatsapp:hover {
    background: #14A19A;
    border-color: #14A19A;
    transform: scale(1.06);
}

.main-header.scrolled .header-whatsapp {
    background: rgba(20, 161, 154, 0.1);
    border-color: rgba(20, 161, 154, 0.35);
    color: #14A19A;
}

.main-header.scrolled .header-whatsapp:hover {
    background: #14A19A;
    border-color: #14A19A;
    color: #fff;
}


.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-accent);
    background-size: 200% 200%;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-contact:hover {
    background-position: 100% 0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 161, 154, 0.3);
}

/* Lang selector styles moved to bottom of file */
/* Mobile lang selector - hidden on desktop by default */
.mobile-lang-selector { display: none; }

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    z-index: 1001;
    transition: background 0.2s, border-color 0.2s;
    padding: 0;
}
.mobile-menu-toggle:hover {
    background: rgba(20,161,154,0.15);
    border-color: rgba(20,161,154,0.45);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    display: block;
    transition: transform 0.32s ease, opacity 0.22s ease, width 0.32s ease;
}
.hamburger-line:nth-child(3) { width: 12px; }

.main-header.scrolled .hamburger-line { background: var(--color-navy); }
.main-header.scrolled .mobile-menu-toggle {
    background: rgba(26,43,60,0.06);
    border-color: rgba(26,43,60,0.16);
}
.main-header.scrolled .mobile-menu-toggle:hover {
    background: rgba(20,161,154,0.1);
    border-color: #14A19A;
}

/* Hamburger → X animasyonu (CSS class, JS inline style yok) */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    width: 20px;
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}
.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Nav item stagger animasyonu */
@keyframes mobileNavItemIn {
    from { opacity: 0; transform: translateX(14px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Mobile-only elemanlar: desktop'ta gizli */
.mobile-nav-head,
.mobile-nav-footer,
.mobile-lang-selector { display: none; }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-bottom: 80px;
}

.hero-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-bg.active {
    opacity: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
    transform: translateY(-10px);
}

.hero-title-area {
    flex: 1;
    max-width: 520px;
    margin-left: 20px;
}

.hero-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-family: var(--font);
    font-size: 52px;
    font-weight: 600;
    font-style: normal;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.1;
    letter-spacing: -1px;
}

.title-line.accent {
    color: var(--color-primary);
}

.title-line.gradient {
    background: linear-gradient(90deg, #0f2135, #14A19A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.scroll-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(20, 161, 154, 0.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.hero-info-area {
    width: 100%;
}

/* Slider Progress Bar */
.slider-progress {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--color-accent);
    width: 0%;
    animation: progress 5s linear infinite;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.hero-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 28px;
}

.btn-discover {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--gradient-accent);
    background-size: 200% 200%;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-discover:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 161, 154, 0.35);
}

/* ==========================================
   SECTION STYLES
   ========================================== */
.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.3;
}

.section-title .text-accent {
    color: var(--color-primary);
}

.section-header.centered {
    text-align: center;
    margin-bottom: 50px;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    padding: 100px 0;
    background: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--color-text);
}

.about-features {
    display: flex;
    gap: 30px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.feature-icon .icon {
    width: 20px;
    height: 20px;
}

.feature-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--color-primary);
    color: #fff;
    padding: 28px 36px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(20, 161, 154, 0.3);
}

.experience-badge strong {
    display: block;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge span {
    font-size: 13px;
    opacity: 0.9;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    padding: 100px 0 160px;
    background: var(--color-bg-light);
    position: relative;
}

.services-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    padding: 24px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-text-light);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.tab-btn:not(:last-child) {
    border-right: 1px solid var(--color-border);
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn:hover {
    color: var(--color-navy);
    background: rgba(20, 161, 154, 0.03);
}

.tab-btn.active {
    color: var(--color-navy);
}

.tab-btn.active::before {
    transform: scaleX(1);
}

.tab-content {
    display: none;
    animation: fadeUp 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service-image {
    height: 210px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fbfd;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.service-body {
    padding: 20px;
    text-align: center;
}

.service-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 14px;
}

.service-divider {
    width: 40px;
    height: 1px;
    background: var(--color-border);
    margin: 0 auto 14px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--color-primary);
}

.service-link svg {
    transition: transform 0.2s;
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ==========================================
   PROJECTS SECTION - Stacking Cards
   ========================================== */
.projects-section {
    padding: 120px 0 60px;
    background: #fff;
    position: relative;
}

/* Transition gradient from services section */
.projects-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, var(--color-bg-light) 0%, #fff 100%);
    pointer-events: none;
}

.projects-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.project-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
}

.project-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex: 1;
    order: 2;
}

.project-number {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.project-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: 28px;
}

.project-meta {
    flex: 1;
}

.meta-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

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

.meta-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.meta-value {
    font-size: 14px;
    color: var(--color-navy);
    font-weight: 500;
}

.btn-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--gradient-accent);
    background-size: 200% 200%;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-details:hover {
    background-position: 100% 0;
    box-shadow: 0 4px 16px rgba(20, 161, 154, 0.35);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 320px;
    order: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* ==========================================
   WHY US SECTION
   ========================================== */
.why-section {
    padding: 100px 0;
    background: var(--color-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.why-content p {
    color: var(--color-text);
    margin-top: 16px;
}

.why-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--color-bg-light);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.stat-card:hover {
    background: #fff;
    border-color: var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--color-primary);
}

.stat-card strong {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.stat-card span {
    font-size: 14px;
    color: var(--color-text-light);
    font-weight: 500;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background: var(--color-primary-light);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 50px;
}

.footer-brand img {
    height: 100px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.footer-social a:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text);
}

.footer-col li svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

.footer-col a {
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(20, 161, 154, 0.15);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-light);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1100px) {
    .title-line {
        font-size: 52px;
    }
    
    .hero-layout {
        grid-template-columns: 1fr 360px;
        gap: 60px;
    }
    
    .about-grid {
        gap: 50px;
    }

    .why-grid {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
        position: fixed;
        top: 10px;   /* (64px header - 44px button) / 2 */
        right: 16px;
        z-index: 1100;
        transition: top 0.3s ease, background 0.2s, border-color 0.2s;
    }
    .main-header.scrolled .mobile-menu-toggle {
        top: 4px;   /* (52px header - 44px button) / 2 */
    }

    /* Hide toggle when drawer is open — drawer has its own close button */
    .main-nav.active ~ .mobile-menu-toggle {
        display: none !important;
    }

    /* Shrink logo on mobile so it fits the header cleanly */
    .logo img {
        height: 56px;
    }
    .main-header.scrolled .logo img {
        height: 48px;
    }

    /* header-right is empty on mobile; hide the wrapper */
    .header-right {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82%;
        max-width: 360px;
        height: 100%;
        background: #ffffff;
        border-left: 1px solid #eaeff5;
        display: flex;
        flex-direction: column;
        padding: 0;
        transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -16px 0 48px rgba(0,0,0,0.13);
        overflow-y: auto;
    }
    .main-nav.active { right: 0; }

    /* Üst teal aksan çizgisi */
    .main-nav::before {
        content: '';
        display: block;
        height: 3px;
        background: linear-gradient(90deg, #14A19A, #1abdb5);
        flex-shrink: 0;
    }

    .mobile-nav-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 22px 16px;
        background: #ffffff;
        border-bottom: 1px solid #f0f4f8;
        flex-shrink: 0;
        position: sticky;
        top: 3px;
        z-index: 2;
    }

    .mobile-nav-logo {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
    }
    .mobile-nav-logo img {
        height: 46px;
        width: auto;
        display: block;
    }

    .mobile-nav-close {
        width: 38px;
        height: 38px;
        border: 1.5px solid #e2e8f0;
        border-radius: 10px;
        background: #f8fafc;
        color: var(--color-navy);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s, border-color 0.2s, color 0.2s;
        flex-shrink: 0;
    }
    .mobile-nav-close:hover {
        background: rgba(20,161,154,0.08);
        border-color: #14A19A;
        color: #14A19A;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 8px 22px 16px;
        flex: 1;
    }

    .nav-menu .nav-item {
        opacity: 0;
        transform: translateX(14px);
    }
    .main-nav.active .nav-menu .nav-item {
        animation: mobileNavItemIn 0.3s ease forwards;
    }
    .main-nav.active .nav-menu .nav-item:nth-child(1) { animation-delay: 0.07s; }
    .main-nav.active .nav-menu .nav-item:nth-child(2) { animation-delay: 0.12s; }
    .main-nav.active .nav-menu .nav-item:nth-child(3) { animation-delay: 0.17s; }
    .main-nav.active .nav-menu .nav-item:nth-child(4) { animation-delay: 0.22s; }
    .main-nav.active .nav-menu .nav-item:nth-child(5) { animation-delay: 0.27s; }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--color-navy);
        font-size: 0.98rem;
        font-weight: 600;
        padding: 15px 0;
        width: 100%;
        border: none;
        border-bottom: 1px solid #f0f4f8;
        background: transparent;
        border-radius: 0;
        letter-spacing: 0.01em;
        transition: color 0.2s, padding-left 0.22s;
    }
    .nav-menu .nav-item:last-child .nav-link { border-bottom: none; }
    .nav-link:hover { color: #14A19A; padding-left: 6px; }
    .nav-link::after {
        content: '';
        display: inline-block;
        width: 7px;
        height: 7px;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        transform: rotate(45deg);
        opacity: 0.25;
        flex-shrink: 0;
        transition: opacity 0.2s, transform 0.22s;
        margin-right: 2px;
    }
    .nav-link:hover::after { opacity: 0.85; transform: rotate(45deg) translate(2px, -2px); }

    .mobile-nav-footer {
        display: block;
        padding: 14px 22px 28px;
        border-top: 1px solid #f0f4f8;
        flex-shrink: 0;
    }
    .mobile-nav-phone {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #8899aa;
        font-size: 0.82rem;
        font-weight: 500;
        text-decoration: none;
        letter-spacing: 0.02em;
        transition: color 0.2s;
    }
    .mobile-nav-phone:hover { color: #14A19A; }

    .header-phone,
    .header-whatsapp,
    .btn-contact {
        display: none;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        transform: translateY(0);
    }

    .title-line {
        font-size: 44px;
    }

    .hero-info-area {
        max-width: 420px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 350px;
    }

    .experience-badge {
        bottom: -20px;
        left: 20px;
        padding: 20px 28px;
    }

    .experience-badge strong {
        font-size: 32px;
    }

    .services-tabs {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .tab-btn:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .tab-btn::before {
        width: 3px;
        height: 100%;
        left: 0;
        top: 0;
        transform: scaleY(0);
    }

    .tab-btn.active::before {
        transform: scaleY(1);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }

    .project-card {
        position: relative;
        top: auto;
        margin-bottom: 24px;
    }

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

    .projects-wrapper {
        grid-template-columns: 1fr;
    }

    .project-card-inner {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 260px;
        min-height: unset;
        order: -1;
    }

    .projects-section::before {
        top: -60px;
        height: 60px;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .hero-title-area {
        margin-left: 0;
    }

    .title-line.gradient {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-inner {
        padding: 0 20px;
    }

    .title-line {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .about-section,
    .services-section,
    .projects-section,
    .why-section {
        padding: 70px 0;
    }

    .projects-wrapper {
        padding: 0 24px;
    }

    .project-info {
        padding: 24px;
    }

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

    .stat-card {
        padding: 24px;
    }

    .stat-card strong {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .btn-contact {
        display: none;
    }

    .title-line {
        font-size: 30px;
    }

    .about-features {
        flex-direction: column;
        gap: 16px;
    }

    .why-stats {
        grid-template-columns: 1fr;
    }

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

/* ==========================================
   ANIMATIONS
   ========================================== */
.hero-title-area {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-info-area {
    animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   MEGA MENU STYLES
   ========================================== */

/* Nav item with mega menu */
.nav-item.has-mega {
    position: static;
}

.nav-item.has-mega > .nav-link svg {
    transition: transform 0.3s ease;
}

.nav-item.has-mega:hover > .nav-link svg {
    transform: rotate(180deg);
}

/* Mega Menu Container */
/* ==========================================
   MEGA MENU - MODERN TAB DESIGN
   ========================================== */
/* ==========================================
   MEGA MENU - VERTICAL SIDEBAR + ENHANCED CARDS
   ========================================== */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 960px;
    max-width: calc(100vw - 40px);
    transform: translate(-50%, 16px);
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 100;
    box-shadow:
        0 20px 50px rgba(15, 118, 110, 0.10),
        0 8px 24px rgba(0, 0, 0, 0.07);
}

.nav-item.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.nav-item.has-mega.open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.nav-item.has-mega .nav-link svg {
    transition: transform 0.2s ease;
}

.nav-item.has-mega.open .nav-link svg {
    transform: rotate(180deg);
}

.mega-menu-inner {
    display: flex;
    flex-direction: row;
    max-width: 960px;
    margin: 0 auto;
    min-height: 340px;
}

/* Vertical Sidebar */
.mega-sidebar {
    width: 260px;
    min-width: 260px;
    background: linear-gradient(180deg, #f6fafa 0%, #eef6f5 100%);
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-right: 1px solid rgba(20, 161, 154, 0.08);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mega-sidebar::-webkit-scrollbar {
    display: none;
}

.mega-category {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    color: #5f6b7a;
    font-size: 13.5px;
    line-height: 1.3;
    font-weight: 600;
    white-space: nowrap;
    max-width: none;
    text-align: center;
    border-radius: 12px;
    background: transparent;
    border: 1.5px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mega-category::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--color-primary);
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transform: scaleY(0);
    transition: all 0.3s ease;
}

.mega-category svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s ease;
}

.mega-category:hover {
    color: #0f766e;
    background: rgba(20, 161, 154, 0.06);
}

.mega-category:hover::before {
    opacity: 0.4;
    transform: scaleY(0.6);
}

.mega-category.active {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d8a84 100%);
    box-shadow: 0 6px 20px rgba(20, 161, 154, 0.3);
}

.mega-category.active::before {
    opacity: 0;
}

.mega-category.active svg {
    opacity: 1;
    transform: translateX(0);
}

.mega-category:focus-visible {
    background: #e1f3ef;
    color: #0f766e;
}

/* Content Area */
.mega-content {
    flex: 1;
    padding: 24px 28px;
    background: #ffffff;
    min-height: auto;
    display: flex;
    align-items: flex-start;
}

.mega-content-panel {
    display: none;
    width: 100%;
    animation: megaPanelIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-content-panel.active {
    display: block;
}

@keyframes megaPanelIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Kurumsal Menu - Info Card Style */
.mega-info-card {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.mega-info-image {
    width: 280px;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.mega-info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mega-info-card:hover .mega-info-image img {
    transform: scale(1.05);
}

.mega-info-text {
    flex: 1;
    padding-top: 8px;
}

.mega-info-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.mega-info-text p {
    font-size: 13px;
    line-height: 1.6;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 18px;
}

.mega-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    padding: 10px 20px;
    background: var(--color-primary-light);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mega-link:hover {
    background: var(--color-primary);
    color: #fff;
}

.mega-link svg {
    transition: transform 0.2s ease;
}

.mega-link:hover svg {
    transform: translateX(4px);
}

/* ==========================================
   PAGE HEADERS (About, Products, Contact)
   ========================================== */
/* ==========================================
   PAGE HEADER - REFINED CORPORATE
   ========================================== */
.page-header {
    position: relative;
    padding: 180px 0 70px;
    background: linear-gradient(135deg, rgba(15,33,53,0.92) 0%, rgba(20,161,154,0.7) 100%), var(--page-hero-bg, url('assets/slider-5.png')) center/cover no-repeat;
    color: #fff;
    margin-top: -20px;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    opacity: 0.25;
    pointer-events: none;
}

.page-header-deco {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #ffffff;
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 3;
}

.page-header .container,
.page-header-content {
    position: relative;
    z-index: 4;
}

/* Breadcrumb */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 500;
}
.breadcrumb a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { color: rgba(255,255,255,0.4); }
.breadcrumb span { color: var(--color-primary); font-weight: 600; }

.page-header h1 {
    font-size: 44px;
    margin-bottom: 14px;
    letter-spacing: -0.8px;
    font-weight: 800;
    line-height: 1.15;
}

.page-header p {
    max-width: 580px;
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Page Header Stats */
.page-header-stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 16px 8px;
}
.ph-stat {
    padding: 0 24px;
    text-align: center;
}
.ph-stat strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.5px;
}
.ph-stat span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
    white-space: nowrap;
}
.ph-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* ==========================================
   PRODUCTS PAGE - CORPORATE REFINED
   ========================================== */
.products-main {
    padding: 40px 0 120px;
    background: var(--color-bg-light);
    min-height: 60vh;
}

.products-layout.split {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}

/* ---- Category Rail / Sidebar ---- */
.category-rail {
    position: sticky;
    top: calc(var(--header-height-shrink) + 20px);
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
}

.category-rail-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-navy);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.category-rail-header svg { color: var(--color-primary); }

.products-category-bar { display: none; }

.category-tabs {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    overflow: visible;
    align-items: stretch;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-text);
    background: transparent;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.22s ease;
    cursor: pointer;
}

.category-tab .cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 8px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    transition: all 0.22s ease;
}

.category-tab span {
    flex: 1;
    min-width: 0;
    text-align: left;
    line-height: 1.3;
}

.category-tab.sub-tab {
    display: none;
    padding-left: 36px;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    color: var(--color-text-light);
}

.category-tab.sub-tab::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(20, 161, 154, 0.3);
    transform: translateY(-50%);
    transition: all 0.22s ease;
}

.category-tabs.sub-visible .sub-tab {
    display: flex;
}

.category-tab:hover {
    color: var(--color-primary);
    background: rgba(20, 161, 154, 0.05);
}
.category-tab:hover .cat-icon {
    background: rgba(20, 161, 154, 0.15);
}

.category-tab.active {
    background: var(--color-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(20, 161, 154, 0.3);
    font-weight: 700;
}
.category-tab.active .cat-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.category-tab.sub-tab.active {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
}
.category-tab.sub-tab.active::before {
    background: #fff;
}
.category-tab.sub-tab:hover::before {
    background: var(--color-primary);
}

/* ---- Products Content Area ---- */
.products-content {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

/* Content Header with title & count */
.products-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}
.pch-left {
    display: flex;
    align-items: baseline;
    gap: 14px;
}
.pch-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Grid/List View Toggle */
.view-toggle {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.view-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 34px;
    background: transparent;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font);
}
.view-toggle-btn:not(:last-child) {
    border-right: 1px solid var(--color-border);
}
.view-toggle-btn.active {
    background: var(--color-primary);
    color: #fff;
}
.view-toggle-btn:hover:not(.active) {
    background: rgba(20,161,154,0.06);
    color: var(--color-primary);
}

/* Category Count Badge */
.cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: rgba(20,161,154,0.1);
    color: var(--color-primary);
    font-size: 10.5px;
    font-weight: 700;
    margin-left: 6px;
    flex-shrink: 0;
    transition: all 0.22s ease;
}
.category-tab.active .cat-count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}
.pch-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: -0.3px;
}
.pch-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(20,161,154,0.08);
    padding: 4px 12px;
    border-radius: 20px;
}
.pch-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s ease;
}
.pch-back:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(20,161,154,0.04);
}

/* ---- Products Grid ---- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* ---- LIST VIEW ---- */
.products-grid.list-view {
    grid-template-columns: 1fr;
    gap: 10px;
}
.products-grid.list-view .product-item {
    border-radius: 12px;
}
.products-grid.list-view .product-item::before {
    display: none;
}
.products-grid.list-view .product-item a {
    flex-direction: row;
    align-items: center;
    padding: 12px 20px 12px 12px;
    gap: 18px;
    height: auto;
}
.products-grid.list-view .product-image {
    width: 80px;
    height: 68px;
    min-width: 80px;
    margin-bottom: 0;
    border-radius: 8px;
    flex-shrink: 0;
}
.products-grid.list-view .product-image img {
    max-width: 75%;
    max-height: 75%;
}
.products-grid.list-view .product-name {
    text-align: left;
    font-size: 14.5px;
    margin-top: 0;
}
.products-grid.list-view .product-info {
    justify-content: flex-start;
    margin-top: 0;
}
.products-grid.list-view .product-image-overlay {
    display: none;
}
.products-grid.list-view .product-item:hover {
    transform: translateY(-1px);
    border-color: rgba(20, 161, 154, 0.25);
    box-shadow: 0 2px 8px rgba(20, 161, 154, 0.06), 0 6px 20px rgba(0, 0, 0, 0.05);
}

/* ---- Product Cards - Polished Corporate ---- */
.product-item {
    display: block;
    border: 1px solid #e8ecf0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    opacity: 0;
    transform: translateY(12px);
    animation: productFadeIn 0.4s ease forwards;
}
.product-item:nth-child(1) { animation-delay: 0s; }
.product-item:nth-child(2) { animation-delay: 0.05s; }
.product-item:nth-child(3) { animation-delay: 0.1s; }
.product-item:nth-child(4) { animation-delay: 0.15s; }
.product-item:nth-child(5) { animation-delay: 0.2s; }
.product-item:nth-child(6) { animation-delay: 0.25s; }
.product-item:nth-child(7) { animation-delay: 0.3s; }
.product-item:nth-child(8) { animation-delay: 0.35s; }
.product-item:nth-child(9) { animation-delay: 0.4s; }

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

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, #0d7a75 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
}

.product-item:hover {
    border-color: rgba(20, 161, 154, 0.3);
    box-shadow:
        0 4px 12px rgba(20, 161, 154, 0.08),
        0 16px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.product-item:hover::before {
    transform: scaleX(1);
}

.product-item a {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    padding: 24px 20px 20px;
    height: 100%;
}

.product-image {
    height: 180px;
    background: linear-gradient(180deg, #f8fafb 0%, #f0f4f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
    border-radius: 10px;
}

/* Hover Overlay */
.product-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,161,154,0.0) 0%, rgba(20,161,154,0.65) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 10px;
    z-index: 3;
    pointer-events: none;
}
.product-item:hover .product-image-overlay {
    opacity: 1;
}
.overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: #fff;
    color: var(--color-primary);
    font-size: 12.5px;
    font-weight: 700;
    font-family: var(--font);
    border-radius: 8px;
    border: none;
    letter-spacing: 0.3px;
    transform: translateY(8px);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    pointer-events: auto;
}
.product-item:hover .overlay-btn {
    transform: translateY(0);
}
.overlay-btn svg {
    transition: transform 0.2s ease;
}
.overlay-btn:hover svg {
    transform: translateX(2px);
}

.product-image img {
    max-width: 85%;
    max-height: 90%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-item:hover .product-image img {
    transform: scale(1.06);
}

/* Product Info area */
.product-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.product-name {
    padding: 0;
    font-size: 14.5px;
    font-weight: 650;
    color: var(--color-navy);
    text-align: center;
    line-height: 1.35;
    transition: color 0.25s ease;
    margin-top: auto;
}

.product-item:hover .product-name {
    color: var(--color-primary);
}

/* Arrow for sub-category cards */
.product-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(20, 161, 154, 0.08);
    color: var(--color-primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.product-item:hover .product-arrow {
    background: var(--color-primary);
    color: #fff;
    transform: translateX(2px);
}

.product-tag {
    display: block;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.product-cta {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

/* Legacy styles - keeping for compatibility */
.products-sidebar { display: none; }

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(20,161,154,0.35);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    background: #0d8a84;
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(20,161,154,0.45);
}
.scroll-top-btn:active {
    transform: translateY(0);
}

/* ==========================================
   STICKY MOBILE FILTER BAR
   ========================================== */
.mobile-filter-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 950;
    background: #fff;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.mobile-filter-bar.visible {
    transform: translateY(0);
}
.mfb-inner {
    padding: 10px 16px;
}
.mfb-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-bg-light);
    color: var(--color-navy);
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s ease;
}
.mfb-btn svg:first-child {
    color: var(--color-primary);
    flex-shrink: 0;
}
.mfb-btn span {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mfb-btn svg:last-child {
    flex-shrink: 0;
    color: var(--color-text-light);
    transition: transform 0.25s ease;
}
.mobile-filter-bar.dropdown-open .mfb-btn svg:last-child {
    transform: rotate(180deg);
}
.mfb-btn:active {
    background: rgba(20,161,154,0.06);
    border-color: var(--color-primary);
}

/* Dropdown */
.mfb-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    padding: 0 16px;
    background: #fff;
}
.mobile-filter-bar.dropdown-open .mfb-dropdown {
    max-height: 420px;
    padding: 0 16px 14px;
    overflow-y: auto;
}
.mfb-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--color-text);
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}
.mfb-dropdown-item:hover,
.mfb-dropdown-item:active {
    background: rgba(20,161,154,0.06);
    color: var(--color-primary);
}
.mfb-dropdown-item.active {
    background: var(--color-primary);
    color: #fff;
    border-radius: 8px;
}
.mfb-dropdown-item .mfb-count {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    background: rgba(20,161,154,0.1);
    color: var(--color-primary);
    padding: 2px 8px;
    border-radius: 10px;
}
.mfb-dropdown-item.active .mfb-count {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

@media (max-width: 991px) {
    .mobile-filter-bar { display: block; }
    .scroll-top-btn { bottom: 80px; right: 20px; width: 42px; height: 42px; }
}

@media (max-width: 575px) {
    .scroll-top-btn { bottom: 76px; right: 14px; width: 40px; height: 40px; }
}

/* Shared cards & grids */
.card,
.info-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.info-card h4 {
    margin-bottom: 8px;
    color: var(--color-navy);
}

.info-card p {
    color: var(--color-text);
    font-size: 14px;
}

.icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.section-padding {
    padding: 80px 0;
}

.page-body {
    padding: 60px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

.contact-info li {
    margin-bottom: 10px;
    color: var(--color-text);
}

.contact-map {
    margin-top: 18px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.contact-map iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    color: var(--color-navy);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(20,161,154,0.2);
}

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

/* Mobile & tablet adjustments */
@media (max-width: 991px) {
    .products-layout.split {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .category-rail {
        display: none;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .product-item a { padding: 20px 16px 16px; }
    .product-image { height: 160px; margin-bottom: 14px; }
    .product-name { font-size: 13.5px; }

    .page-header-stats { flex-wrap: wrap; justify-content: center; gap: 0; }
    .ph-stat { padding: 0 16px; }
    .ph-stat strong { font-size: 22px; }

    .products-content-header { flex-wrap: wrap; gap: 12px; }
    .pch-title { font-size: 18px; }
    .pch-right { order: -1; width: 100%; justify-content: flex-end; }
    .products-grid.list-view .product-image { width: 70px; height: 56px; min-width: 70px; }
    .products-grid.list-view .product-item a { padding: 10px 14px 10px 10px; gap: 14px; }
    .products-grid.list-view .product-name { font-size: 13px; }
}

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

    .products-category-bar {
        margin-bottom: 20px;
        padding: 14px 18px;
    }

    .category-tab {
        flex: 0 0 auto;
        min-width: 130px;
        padding: 9px 14px;
        font-size: 12px;
        text-align: left;
    }

    .product-item a { padding: 18px 14px 14px; }
    .product-image { height: 140px; }

    .page-header {
        padding: 140px 0 60px;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .products-page .page-header {
        padding: 120px 0 50px;
    }

    .products-page .page-header p {
        font-size: 14px;
    }

    .page-header-stats {
        flex-direction: row;
        padding: 12px 4px;
        border-radius: 10px;
    }
    .ph-stat { padding: 0 12px; }
    .ph-stat strong { font-size: 18px; }
    .ph-stat span { font-size: 11px; }

    /* Kurumsal (KVKK/Kalite/Kariyer) mobilde kenarlardan nefes alsın */
    #kvkk.container,
    #kalite.container,
    #kariyer.container {
        padding-left: 30px;
        padding-right: 30px;
    }

    #kvkk .info-card,
    #kalite .info-card,
    #kariyer .info-card {
        padding: 18px 16px;
    }

    /* Medya sayfasi mobilde kenarlardan nefes alsin */
    .media-page main.container.section-padding {
        padding-left: 30px;
        padding-right: 30px;
    }

    .media-page .info-card {
        padding: 18px 16px;
    }
}

@media (max-width: 575px) {
    #kvkk.container,
    #kalite.container,
    #kariyer.container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .media-page main.container.section-padding {
        padding-left: 22px;
        padding-right: 22px;
    }

    .category-tab {
        min-width: 110px;
        padding: 8px 14px;
    }

    .product-item a {
        padding: 16px 12px 12px;
    }

    .product-image {
        height: 110px;
    }

    .page-header-deco { height: 30px; }
    .breadcrumb { font-size: 12px; }
}

/* Products Grid - Enhanced Mega Menu Cards */
/* ==========================================
   MEGA MENU - ENHANCED PRODUCT CARDS
   ========================================== */

.mega-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Product Card - Enhanced */
.mega-product-card {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    padding: 16px 18px;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(20, 161, 154, 0.03) 0%, transparent 100%);
    border: 1.5px solid rgba(20, 161, 154, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    animation: megaCardIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
    animation-delay: calc(var(--i, 0) * 0.06s);
}

@keyframes megaCardIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle corner accent */
.mega-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(20, 161, 154, 0.12) 0%, transparent 70%);
    border-radius: 14px 0 20px 0;
    transition: all 0.4s ease;
}

/* Bottom shine line */
.mega-product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-product-card:hover {
    background: linear-gradient(135deg, rgba(20, 161, 154, 0.06) 0%, rgba(20, 161, 154, 0.02) 100%);
    border-color: rgba(20, 161, 154, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 161, 154, 0.1);
}

.mega-product-card:hover::before {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 161, 154, 0.04) 0%, transparent 60%);
    border-radius: 14px;
}

.mega-product-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Card number indicator */
.mega-card-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(20, 161, 154, 0.1) 0%, rgba(20, 161, 154, 0.04) 100%);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.35s ease;
}

.mega-product-card:hover .mega-card-num {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d8a84 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(20, 161, 154, 0.25);
    transform: scale(1.05);
}

/* Icon - keep for backwards compat */
.mega-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(20, 161, 154, 0.1) 0%, rgba(20, 161, 154, 0.04) 100%);
    color: var(--color-primary);
    position: relative;
    z-index: 1;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-product-card:hover .mega-card-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d7a75 100%);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(20, 161, 154, 0.3);
}

/* Text Area */
.mega-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

/* Title */
.mega-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    flex: 1;
    line-height: 1.3;
}

.mega-product-card:hover .mega-card-title {
    color: var(--color-primary);
}

/* Description */
.mega-card-desc {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.4;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mega-product-card:hover .mega-card-desc {
    color: var(--color-text);
}

/* Arrow */
.mega-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    color: var(--color-primary);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-card-arrow svg {
    transition: transform 0.3s ease;
}

.mega-product-card:hover .mega-card-arrow {
    opacity: 1;
    transform: translateX(0);
    background: rgba(20, 161, 154, 0.08);
}

/* Mega Footer */
.mega-footer {
    padding: 12px 24px 16px;
    display: flex;
    justify-content: flex-end;
}

.mega-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(20, 161, 154, 0.06);
}

.mega-footer-link:hover {
    background: rgba(20, 161, 154, 0.12);
    transform: translateX(3px);
}

.mega-footer-link svg {
    transition: transform 0.3s ease;
}

.mega-footer-link:hover svg {
    transform: translateX(3px);
}

.mega-category:focus-visible,
.mega-product-card:focus-visible {
    outline: 2px solid #0f766e;
    outline-offset: 2px;
}

/* Scrolled header mega menu adjustments */
.main-header.scrolled .mega-menu {
    top: var(--header-height-shrink);
}

@media (max-width: 1200px) {
    .hero-layout {
        grid-template-columns: 1fr 320px;
        gap: 40px;
    }
    .mega-menu {
        width: 860px;
        max-width: calc(100vw - 32px);
    }
    .mega-menu-inner {
        max-width: 860px;
    }
    .mega-sidebar {
        width: 230px;
        min-width: 230px;
    }
    .mega-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        transform: translateY(0);
    }
    .mega-menu {
        width: 720px;
        max-width: calc(100vw - 28px);
    }
    .mega-menu-inner {
        max-width: 720px;
    }
    .mega-sidebar {
        width: 210px;
        min-width: 210px;
        padding: 16px 10px;
    }
    .mega-category {
        font-size: 12.5px;
        padding: 10px 14px;
    }
    .mega-products-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .mega-product-card {
        padding: 14px 16px;
    }
    .mega-card-num {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 12px;
    }
    .mega-card-desc {
        display: none;
    }
}

/* Mobile Mega Menu - Hidden on mobile */
@media (max-width: 991px) {
    .mega-menu {
        display: none !important;
    }

    .nav-item.has-mega.open .mega-menu {
        display: none !important;
    }

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

    .mega-sidebar {
        width: 100%;
        min-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 16px 20px 12px;
        gap: 6px;
        border-right: none;
        border-bottom: 1px solid rgba(20, 161, 154, 0.1);
    }

    .mega-category {
        padding: 9px 14px;
        font-size: 12px;
        white-space: nowrap;
    }

    .mega-content {
        padding: 16px 20px;
        min-height: auto;
    }

    .mega-info-card {
        flex-direction: column;
    }

    .mega-info-image {
        width: 100%;
        height: 160px;
    }

    .mega-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .mega-product-card {
        padding: 12px 14px;
    }

    .mega-card-num {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 11px;
    }

    .mega-card-desc {
        display: none;
    }

    .mega-card-visual {
        display: none;
    }

    .mega-footer {
        padding: 8px 20px 14px;
    }
}

@media (max-width: 575px) {
    .mega-products-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .mega-product-card {
        padding: 12px 14px;
    }

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

    .mega-card-num {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 11px;
        border-radius: 8px;
    }
}


/* Footer class alias for consistency */
.footer-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:40px;}
@media(max-width:991px){.footer-inner{grid-template-columns:1fr 1fr;gap:24px;}}
@media(max-width:576px){.footer-inner{grid-template-columns:1fr;}}


/* Mobile: mega menu uzunluğu kontrol */
@media (max-width: 991px){
  .nav-item.has-mega.open .mega-menu{
    display:none !important;
  }
}


/* ═══════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE & RESPONSIVE FIXES v2
   ═══════════════════════════════════════════════════════ */

/* --- Scroll to Top Button --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(20, 161, 154, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(20, 161, 154, 0.45);
}
.scroll-top-btn svg {
    width: 20px;
    height: 20px;
}

/* --- Language Selector --- */
.lang-selector {
    display: inline-flex;
    position: relative;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font);
}
.lang-btn svg {
    width: 12px;
    height: 12px;
    transition: transform 0.25s ease;
}
.lang-selector.open .lang-btn svg {
    transform: rotate(180deg);
}
.lang-btn:hover {
    border-color: var(--color-primary);
    color: #fff;
}
.main-header.scrolled .lang-btn {
    border-color: var(--color-border);
    color: var(--color-navy);
}
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 120px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 1100;
    overflow: hidden;
}
.lang-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-navy);
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.2s ease;
    text-align: left;
}
.lang-option:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
}
.lang-option.active {
    color: var(--color-primary);
    background: var(--color-primary-light);
}
.lang-option .lang-flag {
    font-size: 16px;
    line-height: 1;
}

/* Hide old lang-indicator */
.lang-indicator { display: none !important; }

/* Hide Google Translate default UI */
.goog-te-banner-frame, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#google_translate_element { display: none !important; }
.skiptranslate { display: none !important; }
.goog-te-gadget { display: none !important; }

/* --- Mobile Category Pill Bar --- */
.products-category-bar {
    display: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 0 0 12px;
    margin-bottom: 16px;
    scrollbar-width: none;
    white-space: nowrap;
}
.products-category-bar::-webkit-scrollbar { display: none; }

.cat-pill {
    flex-shrink: 0;
    padding: 8px 18px;
    border: 1.5px solid #d0dbe6;
    border-radius: 24px;
    background: #fff;
    color: var(--color-navy);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.cat-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.cat-pill.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* --- Page header deco for products page (match bg-light) --- */
.products-page .page-header-deco {
    background: var(--color-bg-light);
}

/* Only body gets overflow-x hidden, NOT html (breaks position:sticky) */
body {
    overflow-x: hidden;
    max-width: 100vw;
}
.container {
    overflow: visible;
}
img {
    max-width: 100%;
    height: auto;
}

/* ── TABLET: max-width 991px ── */
@media (max-width: 991px) {
    /* Language selector on mobile */
    .lang-selector {
        display: none;
    }
    
    /* Mobile language in drawer */
    .mobile-lang-selector {
        display: flex;
        gap: 8px;
        padding: 12px 22px 18px;
        border-top: 1px solid #f0f4f8;
        flex-shrink: 0;
    }
    .mobile-lang-btn {
        flex: 1;
        padding: 10px 8px;
        border: 1.5px solid #e2e8f0;
        border-radius: 10px;
        background: #f8fafc;
        color: var(--color-navy);
        font-family: var(--font);
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        text-align: center;
        transition: all 0.2s ease;
    }
    .mobile-lang-btn.active {
        background: #14A19A;
        border-color: #14A19A;
        color: #fff;
    }
    .mobile-lang-btn:hover:not(.active) {
        border-color: #14A19A;
        color: #14A19A;
        background: rgba(20,161,154,0.06);
    }

    /* Hero section mobile fix */
    .hero-section {
        min-height: 85vh;
        padding-bottom: 40px;
    }
    
    .hero-layout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        transform: none !important;
    }
    
    .hero-title-area {
        max-width: 100% !important;
        margin-left: 0 !important;
    }
    
    .title-line {
        font-size: 32px !important;
        letter-spacing: -0.5px !important;
    }
    
    .hero-info-area {
        max-width: 100% !important;
    }
    
    .hero-description {
        font-size: 14px !important;
    }
    
    /* Products mobile */
    .products-category-bar {
        display: flex;
    }
    
    .category-rail {
        display: none !important;
    }
    
    .products-layout.split {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    .products-content {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        width: 100% !important;
    }
    
    .product-item {
        min-width: 0 !important;
        overflow: hidden;
    }
    
    .product-item a {
        padding: 16px 12px 14px !important;
    }
    
    .product-image {
        height: 130px !important;
    }
    
    .product-name {
        font-size: 12.5px !important;
        word-break: break-word;
    }

    /* Page header */
    .page-header {
        padding: 120px 0 60px !important;
    }
    
    .page-header h1 {
        font-size: 30px !important;
    }
    
    .page-header p {
        font-size: 14px !important;
    }
    
    /* Services section mobile */
    .services-section {
        padding: 60px 0 80px !important;
    }
    
    .services-tabs {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        max-width: 100% !important;
    }
    
    .service-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch;
    }
    
    .service-card .service-image {
        width: 140px !important;
        min-width: 140px !important;
        height: auto !important;
        min-height: 120px;
        border-radius: 12px 0 0 12px !important;
    }
    
    .service-card .service-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left !important;
        padding: 16px !important;
    }
    
    .service-card .service-body h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .service-card .service-divider {
        margin: 0 0 8px 0;
    }
    
    /* About grid */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    /* Contact grid */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr 1fr !important;
    }
    
    /* Stats */
    .page-header-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Scroll top on mobile */
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
    
    /* Mobile filter bar */
    .mobile-filter-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: #fff;
        border-top: 1px solid #e5eaf0;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    }
    
    .products-page {
        padding-bottom: 70px;
    }
}

/* ── MOBILE: max-width 768px ── */
@media (max-width: 768px) {
    .container {
        padding: 0 18px !important;
    }
    
    .hero-section {
        min-height: 75vh;
    }
    
    .title-line {
        font-size: 28px !important;
    }
    
    .page-header {
        padding: 100px 0 50px !important;
    }
    
    .page-header h1 {
        font-size: 26px !important;
    }
    
    .page-header-deco {
        height: 35px;
    }
    
    .section-padding {
        padding: 48px 0 !important;
    }
    
    .section-title {
        font-size: 24px !important;
    }
    
    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr !important;
    }
    
    /* Products */
    .products-grid {
        gap: 10px !important;
    }
    
    .product-image {
        height: 110px !important;
    }
    
    /* Service cards horizontal on mobile */
    .service-card .service-image {
        width: 110px !important;
        min-width: 110px !important;
        min-height: 100px;
    }
    
    /* Milestone/timeline */
    .milestone-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ── SMALL MOBILE: max-width 575px ── */
@media (max-width: 575px) {
    .container {
        padding: 0 14px !important;
    }
    
    .hero-section {
        min-height: 70vh;
        padding-bottom: 30px;
    }
    
    .title-line {
        font-size: 24px !important;
        line-height: 1.25 !important;
    }
    
    .scroll-indicator {
        width: 40px;
        height: 40px;
    }
    
    .page-header {
        padding: 90px 0 40px !important;
    }
    
    .page-header h1 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
    
    .page-header p {
        font-size: 13px !important;
    }
    
    .page-header-deco {
        height: 25px;
    }
    
    .breadcrumb {
        font-size: 11px !important;
        gap: 5px !important;
    }
    
    .section-padding {
        padding: 36px 0 !important;
    }
    
    .section-title {
        font-size: 20px !important;
    }
    
    /* Category pills */
    .cat-pill {
        padding: 7px 14px;
        font-size: 12px;
    }
    
    /* Products */
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    
    .product-item a {
        padding: 12px 10px 10px !important;
    }
    
    .product-image {
        height: 90px !important;
    }
    
    .product-name {
        font-size: 11.5px !important;
    }
    
    /* Services */
    .service-card {
        flex-direction: column !important;
    }
    
    .service-card .service-image {
        width: 100% !important;
        min-width: 100% !important;
        height: 160px !important;
        border-radius: 12px 12px 0 0 !important;
    }
    
    .service-card .service-body {
        text-align: center !important;
    }
    
    /* Stats */
    .page-header-stats {
        flex-direction: row !important;
        padding: 10px 4px !important;
        border-radius: 10px;
    }
    
    .ph-stat {
        padding: 0 10px !important;
    }
    
    .ph-stat strong {
        font-size: 18px !important;
    }
    
    .ph-stat span {
        font-size: 9px !important;
    }
    
    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Scroll top btn */
    .scroll-top-btn {
        bottom: 16px;
        right: 16px;
        width: 38px;
        height: 38px;
    }
    
    .scroll-top-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ── ULTRA SMALL: max-width 400px ── */
@media (max-width: 400px) {
    .title-line {
        font-size: 21px !important;
    }
    
    .page-header h1 {
        font-size: 20px !important;
    }
    
    .header-inner {
        padding: 0 12px !important;
    }
    
    .products-grid {
        gap: 6px !important;
    }
    
    .product-image {
        height: 80px !important;
    }
    
    .product-name {
        font-size: 11px !important;
    }
}

/* ── Print optimization ── */
@media print {
    .main-header, .scroll-top-btn, .mobile-filter-bar, .lang-selector { display: none !important; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE OVERHAUL v3 — Small Laptop + Mobile
   ═══════════════════════════════════════════════════════ */

/* ── SMALL LAPTOP: 1025px – 1280px ── */
@media (max-width: 1280px) {
    .container {
        padding: 0 32px;
    }
    .header-inner {
        padding: 0 32px;
    }
}

/* ── TABLET LANDSCAPE: 1025px ── */
@media (max-width: 1024px) {
    .container {
        padding: 0 28px;
    }
    .header-inner {
        padding: 0 24px;
    }
}

/* ── MOBILE L: max-width 768px ── */
@media (max-width: 768px) {
    .container {
        padding: 0 16px !important;
    }
    .header-inner {
        padding: 0 16px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .footer-inner {
        grid-template-columns: 1fr !important;
    }
    .site-footer .container {
        padding: 0 16px !important;
    }
}

/* ── MOBILE S: max-width 480px ── */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    .container {
        padding: 0 14px !important;
    }
}

/* ==========================================
   PRODUCT DETAIL (Schneider-style) — shared
   ========================================== */

/* Açık zeminli ürün sayfalarında header yazıları koyu olsun */
body.products-page .main-header .nav-link { color: var(--color-navy); }
body.products-page .main-header .nav-item.active .nav-link { color: var(--color-primary); }
body.products-page .main-header .nav-link:hover { color: var(--color-primary); }
body.products-page .main-header .header-phone { color: var(--color-navy); }
body.products-page .main-header .hamburger-line { background: var(--color-navy); }
body.products-page .main-header .mobile-menu-toggle {
    background: rgba(26,43,60,0.06);
    border-color: rgba(26,43,60,0.16);
}
body.products-page .main-header .lang-btn {
    border-color: var(--color-border);
    color: var(--color-navy);
}
body.products-page .main-header .logo .logo-light { opacity: 0; pointer-events: none; }
body.products-page .main-header .logo .logo-dark { opacity: 1; pointer-events: auto; }

/* Breadcrumb */
.pd-breadcrumb {
    background: #f5f8fa;
    border-bottom: 1px solid #e8eef3;
    padding-top: 104px;
    padding-bottom: 16px;
}
.pd-breadcrumb .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    color: #8899aa;
}
.pd-breadcrumb a { color: #5a6a7a; text-decoration: none; transition: color 0.2s; }
.pd-breadcrumb a:hover { color: #14A19A; }
.pd-breadcrumb span.sep { color: #c4cfda; }
.pd-breadcrumb span.current { color: #14A19A; font-weight: 600; }

/* Top product block */
.pd-top {
    padding: 48px 0 80px;
    background: #fff;
}
.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: flex-start;
}

/* Gallery */
.pd-gallery { position: sticky; top: 96px; }
.pd-main-img {
    position: relative;
    border: 1px solid #e8eef3;
    border-radius: 14px;
    background: #f5f8fa;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: zoom-in;
}
.pd-main-img img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 28px;
    box-sizing: border-box;
    display: block;
    transition: transform 0.35s ease;
}
.pd-main-img:hover img { transform: scale(1.04); }
.pd-zoom-hint {
    position: absolute;
    bottom: 14px; right: 14px;
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(26,43,60,0.7);
    color: #fff;
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 7px 12px; border-radius: 100px;
    backdrop-filter: blur(4px);
}
.pd-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.pd-thumb {
    width: 84px; height: 84px;
    border: 1.5px solid #e8eef3;
    border-radius: 10px;
    background: #f5f8fa;
    padding: 8px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pd-thumb:hover { transform: translateY(-2px); }
.pd-thumb.active { border-color: #14A19A; box-shadow: 0 0 0 3px rgba(20,161,154,0.12); }

/* Info box */
.pd-cat {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: #14A19A; margin-bottom: 14px;
}
.pd-info h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800; color: #1a2b3c;
    line-height: 1.12; letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.pd-short {
    font-size: 0.95rem; color: #5a6a7a;
    line-height: 1.75; margin-bottom: 28px;
}
.pd-keyspecs {
    list-style: none; margin: 0 0 24px; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: #e8eef3; border: 1px solid #e8eef3; border-radius: 12px; overflow: hidden;
}
.pd-keyspecs li {
    background: #fff; padding: 14px 18px;
    display: flex; flex-direction: column; gap: 3px;
}
.pd-keyspecs li span {
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: #8899aa;
}
.pd-keyspecs li strong { font-size: 0.98rem; font-weight: 800; color: #1a2b3c; }
.pd-meta {
    display: flex; flex-wrap: wrap; gap: 28px;
    padding: 18px 0; margin-bottom: 24px;
    border-top: 1px solid #e8eef3; border-bottom: 1px solid #e8eef3;
}
.pd-meta > div { display: flex; flex-direction: column; gap: 4px; }
.pd-meta span { font-size: 0.72rem; color: #8899aa; font-weight: 600; letter-spacing: 0.04em; }
.pd-meta strong { font-size: 0.92rem; color: #1a2b3c; font-weight: 700; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pd-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border: 1px solid rgba(20,161,154,0.3);
    border-radius: 100px; font-size: 0.72rem; font-weight: 600;
    color: #14A19A; background: rgba(20,161,154,0.06); letter-spacing: 0.04em;
}
.pd-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-cta .btn-hero-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 34px; background: #14A19A; color: #fff;
    font-size: 0.92rem; font-weight: 700; letter-spacing: 0.03em;
    text-decoration: none; border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}
.pd-cta .btn-hero-primary:hover { background: #0d7a75; transform: translateY(-2px); }
.pd-cta .pd-wa {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 28px; border: 1.5px solid #14A19A;
    color: #14A19A; background: rgba(20,161,154,0.08);
    font-size: 0.92rem; font-weight: 700; text-decoration: none;
    border-radius: 8px; transition: background 0.2s, transform 0.2s;
}
.pd-cta .pd-wa:hover { background: rgba(20,161,154,0.16); transform: translateY(-2px); }
.pd-cta .pd-wa svg { width: 18px; height: 18px; fill: currentColor; }

/* Tabs */
.pd-tabs-section { padding: 0 0 90px; background: #fff; }
.pd-tabnav {
    display: flex; gap: 4px; flex-wrap: wrap;
    border-bottom: 2px solid #e8eef3; margin-bottom: 40px;
}
.pd-tab {
    padding: 16px 28px; background: none; border: none;
    border-bottom: 3px solid transparent; margin-bottom: -2px;
    font-family: var(--font); font-size: 0.92rem; font-weight: 700;
    color: #8899aa; cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.pd-tab:hover { color: #1a2b3c; }
.pd-tab.active { color: #14A19A; border-bottom-color: #14A19A; }
.pd-panel { display: none; animation: pdFade 0.4s ease; }
.pd-panel.active { display: block; }
@keyframes pdFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.pd-panel h3 {
    font-size: 1.25rem; font-weight: 800; color: #1a2b3c;
    margin: 32px 0 12px; letter-spacing: -0.01em;
}
.pd-panel h3:first-child { margin-top: 0; }
.pd-panel p { font-size: 0.95rem; color: #5a6a7a; line-height: 1.8; margin-bottom: 16px; max-width: 820px; }
.pd-techlist {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: #e8eef3; border: 1px solid #e8eef3; border-radius: 12px; overflow: hidden;
}
.pd-techlist li {
    background: #fff; padding: 15px 20px;
    display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
}
.pd-techlist li span { font-size: 0.82rem; color: #8899aa; font-weight: 600; }
.pd-techlist li strong { font-size: 0.92rem; color: #1a2b3c; font-weight: 800; text-align: right; }

/* Comparison */
.pd-compare { padding: 90px 0; background: #f5f8fa; }
.pd-compare h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800;
    color: #1a2b3c; letter-spacing: -0.02em; margin-bottom: 40px;
}
.pd-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pd-compare-table {
    width: 100%; border-collapse: collapse; min-width: 640px;
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.pd-compare-table th, .pd-compare-table td {
    padding: 15px 20px; text-align: left; font-size: 0.88rem;
    border-bottom: 1px solid #e8eef3;
}
.pd-compare-table thead th {
    background: #1a2b3c; color: #fff; font-weight: 700;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.pd-compare-table thead th.is-self { background: #14A19A; }
.pd-compare-table tbody th {
    font-weight: 700; color: #1a2b3c; background: #f8fafc;
}
.pd-compare-table td { color: #5a6a7a; font-weight: 500; }
.pd-compare-table td.is-self { color: #0d7a75; font-weight: 800; background: rgba(20,161,154,0.06); }
.pd-compare-table tbody tr:last-child th,
.pd-compare-table tbody tr:last-child td { border-bottom: none; }

/* Related products */
.pd-related { padding: 90px 0; background: #fff; }
.pd-related h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800;
    color: #1a2b3c; letter-spacing: -0.02em; margin-bottom: 40px;
}
.pd-related-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pd-related-card {
    border: 1px solid #e8eef3; border-radius: 14px; overflow: hidden;
    text-decoration: none; background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex; flex-direction: column;
}
.pd-related-card:hover {
    transform: translateY(-4px); border-color: rgba(20,161,154,0.3);
    box-shadow: 0 14px 40px rgba(20,161,154,0.12);
}
.pd-related-card .pd-rc-img {
    aspect-ratio: 4/3; background: #f5f8fa; border-bottom: 1px solid #e8eef3;
}
.pd-related-card .pd-rc-img img { width: 100%; height: 100%; object-fit: contain; padding: 24px; box-sizing: border-box; display: block; }
.pd-related-card .pd-rc-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.pd-related-card h4 { font-size: 1.05rem; font-weight: 800; color: #1a2b3c; margin: 0; }
.pd-related-card p { font-size: 0.85rem; color: #5a6a7a; line-height: 1.6; margin: 0; }
.pd-related-card .pd-rc-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: #14A19A; font-size: 0.85rem; font-weight: 700; margin-top: 6px;
}
.pd-related-card .pd-rc-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.pd-related-card:hover .pd-rc-link svg { transform: translateX(4px); }

/* Product detail responsive */
@media (max-width: 1024px) {
    .pd-layout { gap: 36px; }
    .pd-gallery { position: static; }
    .pd-related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .pd-layout { grid-template-columns: 1fr; gap: 32px; }
    .pd-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .pd-breadcrumb { padding-top: 92px; }
    .pd-top { padding: 32px 0 56px; }
    .pd-tabs-section { padding-bottom: 60px; }
    .pd-compare, .pd-related { padding: 56px 0; }
    .pd-tab { padding: 13px 18px; font-size: 0.85rem; }
    .pd-techlist { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .pd-keyspecs { grid-template-columns: 1fr; }
    .pd-related-grid { grid-template-columns: 1fr; }
    .pd-cta { flex-direction: column; }
    .pd-cta .btn-hero-primary, .pd-cta .pd-wa { width: 100%; justify-content: center; }
    .pd-thumb { width: 68px; height: 68px; }
}
