/* =========================================
   1. TEMA DEĞİŞKENLERİ (AÇIK & KOYU TEMA)
========================================= */
:root,
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --border-color: #e2e8f0;
    --navbar-bg: rgba(255, 255, 255, 0.96);
    --brand-orange: #e65100;
    --brand-orange-hover: #ff6d00;
    --brand-dark: #121212;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
}

[data-theme="dark"] {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-card: #242424;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --border-color: #333333;
    --navbar-bg: rgba(18, 18, 18, 0.96);
    --brand-orange: #ff6d00;
    --brand-orange-hover: #ff8f00;
    --brand-dark: #000000;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.50);
}

/* =========================================
   2. GENEL SIFIRLAMA VE TEMEL AYARLAR
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

ul {
    list-style: none;
}

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

/* =========================================
   3. HEADER & NAVBAR
========================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--navbar-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
    color: var(--brand-orange);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-text small {
    font-size: 11px;
    color: var(--text-secondary);
}

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

.nav-list {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 10px 4px;
    display: inline-block;
    transition: color 0.2s ease;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--brand-orange);
}

/* Açılır Menü (Dropdown) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-primary);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-secondary);
    color: var(--brand-orange);
}

/* Sağ Aksiyon Butonları */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-theme {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-theme:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

.btn-quote-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 6px;
    background-color: var(--brand-orange);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    transition: background-color 0.2s ease;
}

.btn-quote-cart:hover {
    background-color: var(--brand-orange-hover);
}

.cart-badge {
    background-color: #121212;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
}
/* =========================================
   4. HERO SLIDER (METİN ÇAKIŞMASI ÇÖZÜMLÜ)
========================================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: 540px;
    overflow: hidden;
    background-color: #111111;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: #ffffff;
}

.slide-badge {
    display: inline-block;
    background-color: var(--brand-orange);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.slide-content h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.slide-content p {
    font-size: 15.5px;
    color: #e0e0e0;
    margin-bottom: 26px;
}

.slide-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary {
    background-color: var(--brand-orange);
    color: #ffffff;
    border: 1px solid var(--brand-orange);
}

.btn-primary:hover {
    background-color: var(--brand-orange-hover);
    border-color: var(--brand-orange-hover);
}

.btn-outline {
    background-color: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #121212;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-color: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background-color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.25s ease;
}

.slider-dot.active {
    width: 28px;
    background-color: var(--brand-orange);
}

/* =========================================
   5. BÖLÜMLER, KARTLAR VE EŞİT YÜKSEKLİK
========================================= */
.section-padding {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
}

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

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

.card-img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    padding: 16px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    display: block;
}

.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-tag {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--brand-orange);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    width: 100%;
}

.card-actions .btn-primary,
.card-actions .btn-theme {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
    font-size: 13px;
    white-space: nowrap;
}


/* =========================================
   6. ÜRÜN DETAY, ÖZELLİK TABLOSU & PDF KUTUSU
========================================= */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.gallery-main {
    width: 100%;
    height: 380px;
    object-fit: contain;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
}

.gallery-thumbs img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    cursor: pointer;
}

.gallery-thumbs img.active {
    border-color: var(--brand-orange);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
    font-size: 14px;
}

.spec-table th,
.spec-table td {
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.spec-table th {
    background-color: var(--bg-secondary);
    width: 38%;
    font-weight: 600;
}

.pdf-box {
    margin-top: 32px;
    padding: 20px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.pdf-frame {
    width: 100%;
    height: 850px;
    min-height: 80vh;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 16px;
    background-color: #ffffff;
}

/* =========================================
   7. TEKLİF SEPETİ & FORM
========================================= */
.quote-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.quote-table th,
.quote-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.quote-table th {
    background-color: var(--bg-secondary);
    font-size: 13px;
    text-transform: uppercase;
}

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

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-orange);
}

/* =========================================
   8. FOOTER & WHATSAPP BUTONU
========================================= */
.site-footer {
    background-color: #141414;
    color: #d4d4d4;
    padding-top: 60px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 32px;
    padding-bottom: 44px;
}

.footer-title {
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 14px;
}

.footer-subtitle {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: #a3a3a3;
    margin-bottom: 18px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #262626;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.social-links a:hover {
    background-color: var(--brand-orange);
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
    font-size: 13.5px;
}

.footer-links a:hover {
    color: var(--brand-orange);
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--brand-orange);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid #262626;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #888888;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 54px;
    height: 54px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* =========================================
   9. MOBİL UYUMLULUK (RESPONSIVE)
========================================= */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        display: none;
    }

    .main-nav.open {
