/* ==========================================================================
   EVON ARMS - Premium Defense & Firearms Modern Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --bg-darkest: #07090b;
    --bg-darker: #0c0f13;
    --bg-card: #13171d;
    --bg-card-hover: #1a2028;
    --bg-surface: #1e2530;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(212, 175, 55, 0.4);
    
    --gold: #d4af37;
    --gold-light: #f3cf55;
    --gold-dark: #aa851c;
    --gold-glow: rgba(212, 175, 55, 0.25);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-red: #ef4444;
    --accent-green: #10b981;
    --accent-blue: #38bdf8;
    
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 25px var(--gold-glow);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-darkest);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
    font-family: 'Outfit', 'Segoe UI', Tahoma, sans-serif;
}
[dir="rtl"] .dropdown-menu {
    right: auto;
    left: 0;
}
[dir="rtl"] .icon-right {
    transform: scaleX(-1);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.font-display {
    font-family: var(--font-display);
    letter-spacing: 0.05em;
}

/* Utilities */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.bg-darker { background-color: var(--bg-darker); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #05070a;
    box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.45);
    transform: translateY(-2px);
    color: #000;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    backdrop-filter: blur(8px);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-gold-outline {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}
.btn-gold-outline:hover {
    background: var(--gold);
    color: #000;
}

/* Tactical Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-sm);
}
.badge-gold {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.badge-red {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.badge-blue {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Top Notification Bar */
.top-bar {
    background: #050709;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.45rem 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.top-badge {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    text-transform: uppercase;
}
.top-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}
.top-link {
    color: var(--text-secondary);
    transition: var(--transition);
}
.top-link:hover {
    color: #fff;
}
.top-whatsapp {
    color: #25D366 !important;
    font-weight: 600;
}

/* Main Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 13, 17, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    gap: 2rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex-shrink: 0;
    text-decoration: none;
}
.brand-logo img,
.site-header-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}
.brand-logo:hover img {
    transform: scale(1.02);
}
.brand-slogan-tagline {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    padding-left: 1.15rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-block;
    line-height: 1.35;
    max-width: 220px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(1.2rem, 1.8vw, 2.2rem);
    margin: 0;
    padding: 0;
}
.nav-link {
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 600;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: #ffffff;
}
.nav-link.active::after, .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Language Switcher Dropdown */
.lang-dropdown {
    position: relative;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: var(--transition);
}
.lang-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}
.lang-arrow {
    transition: transform 0.25s ease;
}
.lang-dropdown:hover .lang-arrow,
.lang-dropdown.open .lang-arrow {
    transform: rotate(180deg);
}
.lang-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #0e1217;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    min-width: 140px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.85);
    display: none;
    flex-direction: column;
    padding: 0.35rem 0;
    z-index: 1000;
}
/* Invisible hover bridge: covers the gap so mouse cursor never loses hover */
.lang-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}
.lang-dropdown:hover .lang-menu,
.lang-dropdown.open .lang-menu {
    display: flex;
}
[dir="rtl"] .lang-menu {
    right: auto;
    left: 0;
}
.lang-item {
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}
.lang-item:hover, .lang-item.active {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold);
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: #05070a;
    overflow: hidden;
}
.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}
.hero-slide.active {
    opacity: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(7, 9, 11, 0.95) 0%,
        rgba(7, 9, 11, 0.8) 50%,
        rgba(7, 9, 11, 0.4) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 720px;
    padding: 4rem 0;
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 1.25rem 0;
    text-transform: uppercase;
}
.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Stats Ribbon */
.stats-ribbon {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2.2rem 0;
    position: relative;
    z-index: 20;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.stat-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.8rem 1rem;
    border-right: 1px solid var(--border-color);
}
.stat-card:last-child {
    border-right: none;
}
.stat-icon {
    font-size: 2rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
}
.stat-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}
.stat-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem auto;
}
.section-badge {
    display: inline-block;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.6rem;
}
.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Feature Two Columns Grid */
.feature-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
@media (max-width: 992px) {
    .feature-two-col {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Sections */
.section-py {
    padding: 6rem 0;
}

/* Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-card), 0 0 30px rgba(212, 175, 55, 0.15);
}

.product-image-wrap {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
    background: #090c0f;
}
.product-image-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-image-wrap img {
    transform: scale(1.06);
}
.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}
.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-category {
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}
.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #fff;
}
.product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex: 1;
}

.product-specs-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    padding: 0.85rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}
.spec-pill {
    display: flex;
    flex-direction: column;
}
.spec-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}
.spec-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-footer {
    display: flex;
    gap: 0.8rem;
    margin-top: auto;
}
.product-footer .btn {
    flex: 1;
}

/* Category Filter Tabs */
.filter-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.filter-tab {
    padding: 0.65rem 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}
.filter-tab:hover, .filter-tab.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    box-shadow: 0 4px 15px var(--gold-glow);
}

/* ==========================================================================
   Manuals & Technical Documentation Center
   ========================================================================== */
.manuals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}
.manual-card {
    background: linear-gradient(180deg, #12161e 0%, #0a0d12 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}
.manual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.manual-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.12);
}
.manual-card:hover::before {
    opacity: 1;
}
.manual-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.manual-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: #f87171;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}
.manual-type-badge svg {
    color: #ef4444;
}
.manual-size-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-full);
}
.manual-card-content {
    flex: 1;
    margin-bottom: 1.5rem;
}
.manual-model {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.45rem;
}
.manual-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.45;
    margin-bottom: 0.65rem;
    word-break: normal;
}
.manual-category-badge {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.manual-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    margin-bottom: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    color: var(--text-muted);
}
.manual-card-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.manual-card-meta .meta-item svg {
    color: var(--gold);
    flex-shrink: 0;
}
.manual-card-actions {
    width: 100%;
}
.manual-download-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.25rem;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.manual-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

/* Video Gallery Cards */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}
.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.video-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
}
.video-thumb-wrap {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    cursor: pointer;
}
.video-thumb-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s;
}
.video-card:hover .video-thumb-wrap img {
    opacity: 0.65;
}
.play-btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #000;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    transition: var(--transition);
}
.video-card:hover .play-btn-circle {
    transform: translate(-50%, -50%) scale(1.15);
    background: #fff;
}
.video-content {
    padding: 1.25rem;
}
.video-category {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
}
.video-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0.3rem 0 0.5rem 0;
}
.video-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Product Detail Page */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: start;
    margin-bottom: 4rem;
}
.detail-gallery {
    position: sticky;
    top: 100px;
}
.main-preview-img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow-card);
}
.main-preview-img img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}
.specs-table th {
    text-align: left;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    width: 40%;
    background: rgba(255, 255, 255, 0.02);
}
[dir="rtl"] .specs-table th {
    text-align: right;
}
.specs-table td {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

/* Contact & Quote Form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: #fff;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Modals */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.modal-backdrop.active {
    display: flex;
}
.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    position: relative;
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border-color);
}
.modal-body {
    padding: 1.75rem;
}
.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}
.modal-close:hover {
    color: #fff;
}

/* Footer */
.main-footer {
    background: #05070a;
    border-top: 1px solid var(--border-color);
    padding-top: 5rem;
    color: var(--text-secondary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 1.25rem 0;
    max-width: 360px;
}
.social-links {
    display: flex;
    gap: 0.75rem;
}
.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}
.social-link:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    transform: translateY(-2px);
}
.footer-heading {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.75rem 0;
    font-size: 0.85rem;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}
.developer-credit {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}
.developer-credit .dev-name {
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
}
.developer-credit:hover .dev-name {
    color: #ffd866;
    text-shadow: 0 0 10px rgba(227, 178, 0, 0.45);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1999;
    background: rgba(7, 10, 15, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(227, 178, 0, 0.35);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
    padding: 1.25rem 0;
    animation: cookieSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cookie-banner-content {
    flex: 1;
    min-width: 280px;
}
.cookie-banner-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
}
.cookie-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 0.02em;
}
.cookie-desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}
.cookie-policy-link {
    color: var(--gold);
    text-decoration: underline;
    margin-left: 0.4rem;
    font-weight: 600;
}
.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.btn-cookie-accept {
    background: var(--gold);
    color: #000;
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}
.btn-cookie-accept:hover {
    background: #ffd866;
    box-shadow: 0 0 15px rgba(227, 178, 0, 0.5);
    transform: translateY(-1px);
}
.btn-cookie-reject {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}
.btn-cookie-reject:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 58px;
        padding: 1rem 0;
    }
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .cookie-banner-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .btn-cookie-accept,
    .btn-cookie-reject {
        width: 100%;
        text-align: center;
        padding: 0.65rem 0.5rem;
    }
}

/* KVKK Checkbox & Links */
.form-check-kvkk {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    transition: var(--transition-fast);
}
.form-check-kvkk:hover {
    border-color: rgba(227, 178, 0, 0.3);
}
.open-kvkk-modal {
    cursor: pointer;
}

/* Desktop / Mobile Visibility Helpers */
.desktop-only {
    display: flex;
}
.mobile-drawer-header,
.mobile-lang-bar,
.mobile-drawer-footer,
.mobile-bottom-bar,
.mobile-menu-backdrop {
    display: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (Desktop -> Tablet -> Mobile)
   ========================================================================== */

/* Tablet & Smaller Desktops (<= 1024px): Enable Drawer Navigation */
@media (max-width: 1024px) {
    .desktop-only {
        display: none !important;
    }

    .header-inner {
        height: 72px;
    }

    /* Animated 3-line Hamburger */
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        cursor: pointer;
        padding: 10px;
        z-index: 1060;
    }
    .mobile-toggle span {
        display: block;
        height: 2px;
        width: 100%;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    .mobile-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background: var(--gold);
    }
    .mobile-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background: var(--gold);
    }

    /* Mobile Drawer Backdrop */
    .mobile-menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.82);
        backdrop-filter: blur(6px);
        z-index: 1100;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .mobile-menu-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

    /* Slide-out Mobile Drawer */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 86vw;
        max-width: 340px;
        height: 100vh;
        background: #090c10;
        border-right: 1px solid var(--border-color);
        z-index: 1200;
        padding: 1.5rem 1.25rem;
        display: flex;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 15px 0 50px rgba(0, 0, 0, 0.9);
        gap: 0.5rem;
    }
    [dir="rtl"] .nav-menu {
        left: auto;
        right: 0;
        border-right: none;
        border-left: 1px solid var(--border-color);
        transform: translateX(100%);
    }
    .nav-menu.show {
        transform: translateX(0);
    }

    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 1rem;
        margin-bottom: 0.75rem;
        border-bottom: 1px solid var(--border-color);
    }
    .mobile-drawer-close {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid var(--border-color);
        color: #fff;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        line-height: 1;
    }
    .mobile-drawer-close:hover {
        background: var(--gold);
        color: #000;
    }

    /* Mobile Quick Language Bar */
    .mobile-lang-bar {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    .mobile-lang-pill {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        padding: 0.55rem 0.35rem;
        font-size: 0.78rem;
        font-weight: 700;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        color: var(--text-secondary);
    }
    .mobile-lang-pill.active {
        background: var(--gold);
        color: #000;
        border-color: var(--gold);
    }

    .nav-link {
        display: flex;
        align-items: center;
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
        border-radius: var(--radius-sm);
        border: 1px solid transparent;
    }
    .nav-link:hover, .nav-link.active {
        background: rgba(212, 175, 55, 0.12);
        color: var(--gold);
        border-color: rgba(212, 175, 55, 0.25);
    }
    .nav-link.active::after, .nav-link:hover::after {
        display: none;
    }

    .mobile-drawer-footer {
        display: block;
        margin-top: auto;
        padding-top: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-card:nth-child(2) {
        border-right: none;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .detail-gallery {
        position: static;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
    body {
        padding-bottom: 72px; /* Space for floating bottom tactical bar */
    }

    .header-inner {
        height: 66px;
    }
    .brand-logo img {
        height: 36px;
        max-width: 180px;
    }
    .brand-slogan-tagline {
        display: none;
    }

    /* Mobile Floating Tactical Bottom Navigation */
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(9, 12, 16, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        z-index: 999;
        align-items: center;
        justify-content: space-around;
        padding: 0 0.5rem;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7);
    }
    .mobile-bottom-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        background: none;
        border: none;
        color: var(--text-secondary);
        font-size: 0.72rem;
        font-weight: 600;
        cursor: pointer;
        padding: 0.4rem 0.5rem;
        min-width: 52px;
        min-height: 44px;
        border-radius: var(--radius-sm);
        transition: var(--transition);
    }
    .mobile-bottom-item .m-icon {
        font-size: 1.25rem;
        line-height: 1;
    }
    .mobile-bottom-item:active, .mobile-bottom-item:hover {
        color: var(--gold);
    }
    .mobile-bottom-item.m-cta {
        background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
        color: #000;
        font-weight: 700;
        border-radius: var(--radius-sm);
        box-shadow: 0 0 15px var(--gold-glow);
        padding: 0.45rem 0.85rem;
    }

    /* Hero Section Mobile Adjustments */
    .hero-section {
        min-height: 75vh;
    }
    .hero-content {
        padding: 3rem 0;
    }
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .hero-desc {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
    }

    /* Stats Ribbon Mobile */
    .stats-ribbon {
        padding: 1.5rem 0;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 0.75rem 0.5rem;
    }
    .stat-card:last-child {
        border-bottom: none;
    }

    /* Grids to Single Column */
    .products-grid,
    .manuals-grid,
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filter-tabs {
        gap: 0.5rem;
    }
    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .top-bar-left {
        display: none;
    }
    .top-bar .container {
        justify-content: center;
        text-align: center;
    }

    /* Mobile Specs Table Optimization */
    .specs-table {
        margin: 1rem 0;
    }
    .specs-table th, .specs-table td {
        display: block;
        width: 100% !important;
        padding: 0.4rem 0.75rem;
    }
    .specs-table th {
        background: transparent;
        color: var(--gold);
        font-size: 0.75rem;
        padding-bottom: 0.15rem;
        border-bottom: none;
    }
    .specs-table td {
        padding-top: 0;
        font-size: 0.92rem;
        font-weight: 600;
    }
    .specs-table tr {
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    /* Modals Mobile */
    .modal-box {
        max-height: 92vh;
        overflow-y: auto;
    }
    .modal-body {
        padding: 1.25rem;
    }
}

/* Small Smart Phones (<= 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .section-py {
        padding: 4rem 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .product-footer {
        flex-direction: column;
    }
    .brand-slogan {
        display: none; /* Keep header clean on tiny screens */
    }
}

