/*
Theme Name: HOSSAR Premium Tema
Version: 1.0.0
Author: Baris
Description: GitHub üzerinden otomatik güncellenen dinamik HOSSAR teması.
*/

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

:root {
    --bg-dark: #121212;
    --bg-surface: #1a1a1a;
    --accent-tactical: #C39B62;
    --accent-green: #4A5D4E;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.site-header {
    background-color: rgba(18, 18, 18, 0.95);
    border-bottom: 1px solid #2a2a2a;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-wrap {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 80px !important;
}

.logo, .logo a {
    display: block !important;
    height: 80px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-logo-img {
    height: 100% !important;
    width: auto !important;
    display: block !important;
    object-fit: cover !important;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--accent-tactical);
    margin-left: 5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 16px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--accent-tactical);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 15px;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-tactical);
    color: #121212;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #dfb274;
}

.btn-outline {
    border: 1px solid var(--text-muted);
    color: #fff;
}

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

.hero-section {
    position: relative;
    padding: 180px 0 100px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.9) 30%, rgba(18, 18, 18, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

.hero-tag {
    color: var(--accent-tactical);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 14px;
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    line-height: 1.1;
    margin: 15px 0;
    color: #fff;
}

.hero-section .highlight {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}

.hero-section p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.collection-section {
    padding: 100px 0;
    background-color: var(--bg-surface);
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    color: var(--accent-tactical);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    font-size: 14px;
}

h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: #fff;
    margin-top: 5px;
}

.grid-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-block {
    background-color: #222;
    height: 400px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s ease, border-color 0.3s ease;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.block-duty { border-left: 4px solid #333; }
.block-tactical { border-left: 4px solid var(--accent-tactical); }
.block-outdoor { border-left: 4px solid var(--accent-green); }

.category-block:hover {
    transform: translateY(-5px);
    border-color: var(--accent-tactical);
}

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

.block-badge {
    font-family: var(--font-heading);
    font-size: 32px;
    color: rgba(255,255,255,0.05);
    position: absolute;
    top: -50px;
    left: 0;
    font-weight: bold;
}

.category-block h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
}

.category-block p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.block-link {
    color: var(--accent-tactical);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
}

.block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.95) 20%, rgba(18, 18, 18, 0.4) 100%);
    z-index: 1;
    transition: background 0.3s ease;
}

.category-block:hover .block-overlay {
    background: linear-gradient(to top, rgba(18, 18, 18, 0.98) 40%, rgba(18, 18, 18, 0.2) 100%);
}

.features-section {
    padding: 100px 0;
}

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

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 2px solid var(--accent-tactical);
}

.image-placeholder {
    background-color: var(--bg-surface);
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px dashed #333;
}

.site-footer {
    background-color: #0d0d0d;
    padding: 40px 0;
    border-top: 1px solid #1a1a1a;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.main-nav ul li {
    position: relative;
}

.arrow {
    font-size: 11px;
    margin-left: 3px;
    display: inline-block;
    transition: transform 0.3s;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
    color: var(--accent-tactical);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-top: 3px solid var(--accent-tactical);
    min-width: 180px;
    padding: 10px 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.main-nav .dropdown-menu {
    flex-direction: column;
    gap: 0;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    color: var(--text-muted) !important;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    padding: 10px 20px;
    display: block;
    width: 100%;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #222;
    color: var(--accent-tactical) !important;
    padding-left: 25px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.contact-hero {
    padding: 160px 0 60px 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid #1a1a1a;
    text-align: center;
}

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

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    font-style: normal;
}

.info-icon {
    background-color: var(--bg-surface);
    border: 1px solid #2a2a2a;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-left: 3px solid var(--accent-tactical);
}

.info-text h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.info-text p, .info-text a {
    color: var(--text-muted);
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s;
}

.info-text a:hover {
    color: var(--accent-tactical);
}

.contact-map-box {
    position: relative;
}

.contact-map-box iframe {
    display: block;
    width: 100%;
}

.contact-map-box blockquote {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
    font-style: italic;
}

.products-catalog-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

/* Masaüstü Ürün Katalog Grid Yapısı */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--bg-surface);
    border: 1px solid #2a2a2a;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease;
}

.product-img-box {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-tactical);
    color: #121212;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 12px;
    padding: 5px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.product-cat {
    color: var(--accent-tactical);
    font-size: 13px;
    text-transform: uppercase;
    font-family: var(--font-body);
    margin-bottom: 20px;
    font-weight: 500;
}

.view-details {
    margin-top: auto;
    font-family: var(--font-heading);
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-tactical);
}

.product-card:hover .product-img-box img {
    transform: scale(1.08);
}

.product-card:hover .view-details {
    color: var(--accent-tactical);
}

.category-hero {
    padding: 160px 0 60px 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid #1a1a1a;
    text-align: center;
}

.category-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 15px auto 0 auto;
    font-size: 16px;
}

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

.category-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cat-product-card {
    background-color: var(--bg-surface);
    border: 1px solid #2a2a2a;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.cat-product-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #000;
}

.cat-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cat-product-info {
    padding: 20px;
    text-align: center;
    background-color: #161616;
    border-top: 1px solid #2a2a2a;
}

.cat-product-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.cat-product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-tactical);
}

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

.cat-product-card:hover .cat-product-info h3 {
    color: var(--accent-tactical);
}

.product-detail-page {
    padding: 160px 0 80px 0;
    background-color: var(--bg-dark);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: start;
}

.main-product-image {
    background-color: var(--bg-surface);
    border: 1px solid #2a2a2a;
    padding: 20px;
    position: relative;
}

.main-product-image img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
}

.product-meta-box {
    padding-top: 10px;
}

.product-sku {
    color: var(--accent-tactical);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 38px;
    color: #fff;
    margin: 10px 0 15px 0;
    line-height: 1.2;
}

.product-price-placeholder {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-muted);
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.product-description-short {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.product-action-area {
    background-color: var(--bg-surface);
    border: 1px solid #2a2a2a;
    border-left: 4px solid var(--accent-tactical);
    padding: 25px;
    margin-bottom: 35px;
}

.action-notice {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-style: italic;
}

.btn-block-action {
    display: block;
    text-align: center;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
}

.quick-specs h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.quick-specs ul {
    list-style: none;
}

.quick-specs li {
    font-size: 14px;
    color: var(--text-muted);
    padding: 10px 0;
    border-bottom: 1px dashed #2a2a2a;
}

.quick-specs li strong {
    color: #fff;
    width: 140px;
    display: inline-block;
}

.product-gallery-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.thumb-box {
    background-color: var(--bg-surface);
    border: 1px solid #2a2a2a;
    height: 100px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: all 0.3s ease;
}

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

.thumb-box:hover, .thumb-box.active {
    border-color: var(--accent-tactical);
    background-color: #222;
}

.zoom-container {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.zoom-container img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    transition: transform 0.1s ease-out;
    transform-origin: center center;
}

.services-hero {
    padding: 160px 0 60px 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid #1a1a1a;
    text-align: center;
}

.services-sub-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 15px auto 0 auto;
    font-size: 16px;
}

.services-list-section {
    padding: 60px 0;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid #1a1a1a;
}

.service-row:last-child {
    border-bottom: none;
}

.service-num {
    font-family: var(--font-heading);
    font-size: 45px;
    font-weight: 700;
    color: var(--accent-tactical);
    display: block;
    margin-bottom: 10px;
    opacity: 0.8;
}

.service-text-col h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.service-text-col p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

.service-img-col {
    background-color: var(--bg-surface);
    border: 1px solid #2a2a2a;
    padding: 15px;
    height: 380px;
    overflow: hidden;
}

.service-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2);
    transition: all 0.4s ease;
}

.service-row:hover .service-img-col img {
    filter: grayscale(0);
    transform: scale(1.03);
}

.service-row.inverse {
    direction: rtl;
}

.service-row.inverse .service-text-col,
.service-row.inverse .service-img-col {
    direction: ltr;
}

.catalog-content-section {
    padding: 60px 0;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.catalog-sidebar {
    background-color: var(--bg-surface);
    border: 1px solid #2a2a2a;
    border-top: 3px solid var(--accent-tactical);
    padding: 25px 20px;
    position: sticky;
    top: 100px;
}

.catalog-sidebar h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 10px;
}

.sidebar-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-menu-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-family: var(--font-body);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-menu-list a:hover, 
.sidebar-menu-list a.active {
    color: #fff;
    background-color: #222;
    border-left-color: var(--accent-tactical);
    padding-left: 15px;
}

.sidebar-menu-list .count {
    font-size: 12px;
    color: var(--accent-tactical);
    font-family: var(--font-heading);
}

.catalog-products-area {
    width: 100%;
}

.catalog-products-area .category-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.about-hero {
    padding: 160px 0 40px 0;
    background-color: var(--bg-surface);
    text-align: center;
}

.about-content-section {
    padding: 60px 0 100px 0;
}

.small-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-text-wrap {
    margin-bottom: 50px;
}

.about-text-wrap p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-text-wrap .lead-text {
    font-size: 20px;
    color: #fff;
    line-height: 1.6;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid #2a2a2a;
    padding-top: 40px;
}

.value-card {
    background-color: var(--bg-surface);
    border: 1px solid #2a2a2a;
    padding: 25px 20px;
    text-align: center;
}

.value-card h4 {
    font-family: var(--font-heading);
    color: var(--accent-tactical);
    font-size: 16px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.products-intro-block {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--bg-surface);
    border: 1px solid #2a2a2a;
    border-left: 4px solid var(--accent-tactical);
    padding: 35px;
}

.intro-text {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-top: 15px;
    font-family: var(--font-body);
}

.quick-contact-bar {
    background-color: #161616;
    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
    padding: 25px 0;
}

.quick-contact-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

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

.contact-bar-item .icon {
    font-size: 18px;
    color: var(--accent-tactical);
}

.contact-bar-item p, .contact-bar-item a {
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

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

.product-breadcrumb {
    font-size: 13px;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.product-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.product-breadcrumb .separator {
    color: #444;
    margin: 0 8px;
}

.product-breadcrumb .current-category {
    color: #fff;
    font-weight: 500;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #121212; 
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 65px;
    height: 65px;
    z-index: 2;
    object-fit: contain;
    background-color: #0e0e0e;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #e0e0e0;
    border-top: 3px solid var(--accent-tactical);
    border-radius: 50%;
    z-index: 1;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(14, 14, 14, 0.6);
    color: #fff;
    border: 1px solid #2a2a2a;
    font-size: 20px;
    padding: 12px 16px;
    cursor: pointer;
    z-index: 10;
    font-family: monospace;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background-color: var(--accent-tactical);
    color: #000;
    border-color: var(--accent-tactical);
}

.prev-arrow { left: 10px; }
.next-arrow { right: 10px; }

.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    touch-action: pinch-zoom;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 30px;
}

.carousel-nav-buttons {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    background-color: #161616;
    color: #fff;
    border: 1px solid #2a2a2a;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: var(--accent-tactical);
    color: #000;
    border-color: var(--accent-tactical);
}

/* Masaüstü Carousel Wrapper */
.products-carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.products-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.products-carousel-wrapper:active {
    cursor: grabbing;
}

.products-carousel-wrapper img {
    -webkit-user-drag: none !important;
    user-drag: none !important;
    pointer-events: auto !important;
    user-select: none !important;
}

/* Ana Masaüstü Carousel Hattı */
.products-grid.carousel-track {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 25px !important;
    padding: 10px 5px;
    width: max-content;
}

.products-grid.carousel-track .product-card {
    width: 320px !important;
    flex-shrink: 0 !important;
}

/* ==========================================================================
   RESPONSIVE - TABLET & MOBİL MEDİA QUERİES
   ========================================================================== */

@media (max-width: 992px) {
    .header-wrap {
        padding: 0 !important;
        height: 55px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .header-wrap .btn,
    .header-action {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;
        order: 1 !important;
        margin-left: 15px !important;
    }

    .logo {
        order: 2 !important;
        margin-right: 15px !important;
    }

    .logo, .logo a {
        height: 55px !important;
    }

    .header-logo-img {
        height: 100% !important;
        width: auto !important;
        object-fit: contain !important;
    }

    .main-nav {
        position: fixed !important;
        top: 55px !important;
        right: -100% !important;
        width: 280px !important;
        height: calc(100vh - 55px) !important;
        background-color: rgba(14, 14, 14, 0.98) !important;
        border-left: 1px solid #2a2a2a !important;
        padding: 40px 25px !important;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 1000 !important;
    }

    .main-nav.active {
        right: 0 !important;
    }

    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .main-nav ul {
        flex-direction: column !important;
        gap: 18px !important;
        align-items: flex-start !important;
    }

    .main-nav a {
        font-family: var(--font-body) !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        letter-spacing: 0.5px !important;
        color: #b0b0b0 !important;
        text-transform: uppercase;
        transition: color 0.3s ease !important;
        width: 100%;
        display: block;
    }

    .main-nav a:hover, .main-nav a.active {
        color: var(--accent-tactical) !important;
    }

    .main-nav .dropdown-menu {
        display: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        background-color: #141414 !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 5px 0 0 0 !important;
        box-shadow: none !important;
        border: none !important;
        transform: none !important;
        overflow: hidden !important;
    }

    .main-nav .dropdown.open .dropdown-menu { display: block !important; }

    .main-nav .dropdown-menu li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main-nav .dropdown-menu a {
        font-size: 13px !important;
        color: #888888 !important;
        padding: 10px 15px !important;
        text-transform: uppercase !important;
        border-left: 2px solid transparent;
        transition: all 0.3s ease !important;
    }

    .main-nav .dropdown-menu a:hover {
        color: var(--accent-tactical) !important;
        border-left: 2px solid var(--accent-tactical);
        background-color: #1a1a1a !important;
    }

    .dropdown .arrow { display: inline-block !important; transition: transform 0.3s ease !important; }
    .dropdown.open .arrow { transform: rotate(180deg) !important; }

    .grid-two-col, 
    .product-detail-grid, 
    .catalog-layout, 
    .service-row, 
    .service-row.inverse {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
        direction: ltr !important;
    }

    h2 { font-size: 26px !important; }
    .product-breadcrumb { font-size: 12px; margin-bottom: 8px; }
    .quick-contact-wrap { flex-direction: column; align-items: flex-start; gap: 15px; padding-left: 10px; }
    .products-intro-block { padding: 25px; }
    .intro-text { font-size: 15px; }

    .zoom-container { cursor: pointer; }
    .zoom-container:hover img { transform: none !important; }
    .nav-arrow { padding: 8px 12px; font-size: 16px; }

    .carousel-header { margin-top: 40px; }
    .carousel-nav-buttons { display: none; }
}

@media (max-width: 768px) {
    .contact-hero { padding: 140px 0 40px 0; }
    .contact-section { padding: 40px 0; }
    .contact-info-box { gap: 30px; margin-bottom: 40px; }
    .about-values-grid { grid-template-columns: 1fr !important; gap: 15px; }

    html body .hero-section {
        padding: 90px 0 30px 0 !important;
        min-height: 55vh !important; 
        height: auto !important;
        display: flex !important;
        align-items: center !important;
    }

    html body .hero-section h1 {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    html body .hero-section p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }

    html body .hero-slider,
    html body .slide {
        height: 100% !important;
        width: 100% !important;
        background-position: center 30% !important;
        background-size: cover !important;
    }

    /* Kategori Sayfaları ve Genel Arşiv Sayfaları İçin 2'li Düzen */
    html body .catalog-products-area .category-products-grid,
    html body .category-products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 10px !important;
    }
    
    html body .category-products-grid .cat-product-card {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        background-color: #141414 !important;
        border: 1px solid #222222 !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4) !important;
    }

    html body .category-products-grid .cat-product-card .cat-product-img {
        position: relative !important;
        width: 100% !important;
        height: 160px !important;
        background: radial-gradient(circle, #252525 0%, #161616 100%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 8px !important;
    }

    html body .category-products-grid .cat-product-card .cat-product-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        filter: drop-shadow(0 6px 10px rgba(0,0,0,0.5)) !important;
    }
    
    html body .category-products-grid .cat-product-card .cat-product-info {
        padding: 12px !important;
        background-color: #111111 !important;
        border-top: 1px solid #1c1c1c !important;
        text-align: left !important;
    }

    html body .category-products-grid .cat-product-card .cat-product-info h3 {
        font-family: var(--font-body), sans-serif !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #ffffff !important;
        line-height: 1.4 !important;
    }

    /* ==========================================
       SIHİRLİ DOKUNUŞ: ANA SAYFA YENİ ÜRÜNLER CAROUSEL ALANI DÜZENLEMESİ
       ========================================== */
    
    /* Sıkışmayı önlemek için sarmalayıcıya yatay kaydırma veriyoruz */
    .products-carousel-wrapper {
        overflow-x: auto !important;
        padding-bottom: 15px !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Kartların mobilde alt alta kırılmasını veya %100 genişleyip patlamasını engelliyoruz */
    html body .products-grid.carousel-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 20px !important;
        width: max-content !important;
        padding: 10px 5px !important;
    }

    /* Görseldeki o biçimsiz, sağa sıkışmış tasarımı e-ticaret standardına getiriyoruz */
    html body .products-grid.carousel-track .product-card {
        display: flex !important;
        flex-direction: column !important; /* Resim üstte, yazılar altta olacak şekilde dikine diz */
        width: 280px !important; /* Mobilde her bir kayan kartın ideal premium genişliği */
        min-width: 280px !important;
        max-width: 280px !important;
        height: auto !important;
        margin: 0 !important;
        background-color: #141414 !important;
        border: 1px solid #222222 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
        flex-shrink: 0 !important;
    }

    /* Üst taraftaki resim kutusu */
    html body .products-grid.carousel-track .product-card .product-img-box {
        position: relative !important;
        width: 100% !important;
        height: 240px !important; /* Büyük ve net görsel alanı */
        background: #000000 !important;
        display: block !important;
        padding: 0 !important;
    }

    /* Resmin tam kutuya göre hizalanması ve yamulmasının önlenmesi */
    html body .products-grid.carousel-track .product-card .product-img-box img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important; /* Sağa sıkışmayı tamamen yok eder, resmi ortalar */
        filter: none !important;
    }

    /* "Yeni Ürün" rozetini sol üst köşeye mühürle */
    html body .products-grid.carousel-track .product-card .product-img-box .product-badge {
        position: absolute !important;
        top: 12px !important;
        left: 12px !important;
        z-index: 5 !important;
        margin: 0 !important;
    }

    /* Alt taraftaki metin ve detay alanı */
    html body .products-grid.carousel-track .product-card .product-info {
        width: 100% !important;
        padding: 20px !important;
        background-color: #1a1a1a !important;
        border-top: 1px solid #2a2a2a !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        text-align: left !important;
    }

    /* Ürün Başlığı */
    html body .products-grid.carousel-track .product-card .product-info h3 {
        font-family: var(--font-heading), sans-serif !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        overflow: visible !important;
    }

    /* Ürün Kategorisi / Alt Başlık */
    html body .products-grid.carousel-track .product-card .product-info .product-cat {
        font-size: 12px !important;
        color: var(--accent-tactical) !important;
        margin: 0 0 15px 0 !important;
    }

    /* "Detayları İncele ->" Butonu */
    html body .products-grid.carousel-track .product-card .product-info .view-details {
        font-size: 13px !important;
        color: #ffffff !important;
        font-weight: bold !important;
        margin-top: auto !important;
        display: inline-block !important;
        border-bottom: 1px solid var(--accent-tactical);
        width: max-content;
        padding-bottom: 2px;
    }

    /* Sidebar Kategori Menüsü Mobil Kodu */
    html body .catalog-sidebar {
        background-color: #141414 !important;
        border: 1px solid #222222 !important;
        border-top: 3px solid var(--accent-tactical) !important;
        padding: 0 !important;
        margin-bottom: 20px !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        position: static !important;
        width: 100% !important;
    }

    html body .catalog-sidebar h3 {
        margin: 0 !important;
        padding: 15px 20px !important;
        font-size: 15px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        cursor: pointer !important;
        border-bottom: none !important;
        background-color: #161616 !important;
        user-select: none !important;
    }

    html body .catalog-sidebar h3::after {
        content: '▾' !important;
        font-size: 14px !important;
        color: var(--accent-tactical) !important;
        transition: transform 0.3s ease !important;
    }

    html body .catalog-sidebar.menu-open h3::after { transform: rotate(180deg) !important; }

    html body .sidebar-menu-list {
        display: none !important;
        padding: 15px 20px !important;
        border-top: 1px solid #222222 !important;
        background-color: #111111 !important;
    }

    html body .catalog-sidebar.menu-open .sidebar-menu-list {
        display: flex !important;
        flex-direction: column !important;
    }
}

@media (max-width: 576px) {
    html body .category-products-grid {
        grid-template-columns: repeat(2, 1fr) !important; 
    }
    html body .category-products-grid .cat-product-card .cat-product-img {
        height: 145px !important; 
    }

    .thumb-box { height: 70px; }
    .product-img-box { height: 260px !important; }
    .main-product-image img { max-height: 350px; }
    .footer-wrap { flex-direction: column; gap: 15px; text-align: center; }
}

.whatsapp-fixed-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-fixed-btn img {
    width: 35px;
    height: 35px;
}

.whatsapp-fixed-btn:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

@media (max-width: 768px) {
    .whatsapp-fixed-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-fixed-btn img {
        width: 28px;
        height: 28px;
    }
}