/* VİKSA — Elite Security UI */
:root {
    --brand: #8a1f30;
    --brand-deep: #5c1320;
    --brand-soft: rgba(138, 31, 48, 0.12);
    --ink: #121417;
    --ink-soft: #2a2f36;
    --steel: #5a6570;
    --mute: #8b949e;
    --line: #e4e7eb;
    --paper: #f6f7f9;
    --white: #ffffff;
    --success: #1f9d55;
    --wa: #25d366;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 10px 30px rgba(18, 20, 23, 0.08);
    --shadow-lg: 0 24px 60px rgba(18, 20, 23, 0.14);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font-display: "Syne", sans-serif;
    --font-body: "Manrope", sans-serif;
    --nav-h: 64px;
}

html { scroll-behavior: smooth; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
ul { list-style: none; }
button { font-family: inherit; }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #c5cbd3; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }
::selection { background: var(--brand); color: white; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .vitrin-track, .slider-track { animation: none !important; }
}

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--ink);
    color: #c5ccd4;
    padding: 9px 0;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.top-bar i { color: var(--brand); margin-right: 7px; }
.top-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; }
.top-bar-right { display: flex; gap: 18px; align-items: center; }
.top-bar a:hover { color: #fff; }

/* ========== HEADER ========== */
header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 1001;
}
.header-main {
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { max-height: 56px; width: auto; object-fit: contain; transition: transform 0.35s var(--ease); }
.logo:hover img { transform: scale(1.03); }

.search-box {
    flex-grow: 1;
    display: flex;
    max-width: 560px;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: var(--white);
    transition: border-color 0.25s, box-shadow 0.25s;
}
.search-box:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft);
}
.search-box input {
    width: 100%;
    padding: 12px 18px;
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-family: var(--font-body);
    background: transparent;
}
.search-box button {
    background: var(--brand);
    color: white;
    border: none;
    padding: 0 22px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.25s;
}
.search-box button:hover { background: var(--brand-deep); }

.header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-right a {
    font-weight: 600;
    color: var(--ink-soft);
    font-size: 0.84rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    padding: 8px 10px;
    border-radius: 8px;
}
.header-right a:hover { color: var(--brand); background: var(--brand-soft); }
.header-cart {
    background: var(--ink) !important;
    color: white !important;
    padding: 10px 16px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
}
.header-cart:hover {
    background: var(--brand) !important;
    color: white !important;
    transform: translateY(-1px);
}

/* ========== NAV ========== */
.nav-container {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-wrapper { display: flex; align-items: center; height: var(--nav-h); }

.category-menu { position: relative; width: 250px; height: 100%; display: flex; align-items: center; }
.cat-btn {
    background: var(--ink);
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
    gap: 10px;
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    transition: background 0.25s;
}
.cat-btn:hover { background: var(--brand); }

.cat-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: white;
    border: 1px solid var(--line);
    border-top: none;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.28s var(--ease);
    z-index: 999;
}
.category-menu:hover .cat-list { opacity: 1; visibility: visible; transform: none; }
.cat-list > li { position: relative; border-bottom: 1px solid #f3f4f6; }
.cat-list li a {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: var(--ink-soft);
    font-size: 0.84rem;
    font-weight: 560;
    justify-content: space-between;
}
.cat-list li a:hover { background: var(--paper); color: var(--brand); }

.sub-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: -1px;
    width: 220px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 1002;
}
.cat-list li:hover > .sub-menu { display: block; animation: fadeSlide 0.25s var(--ease); }
.sub-menu li a { padding: 10px 14px; font-size: 0.82rem; }
.sub-menu li a:hover { padding-left: 18px; color: var(--brand); }

.horizontal-menu { display: flex; margin-left: 22px; height: 100%; align-items: center; gap: 2px; }
.horizontal-menu li a {
    padding: 0 14px;
    font-weight: 650;
    color: var(--ink-soft);
    height: var(--nav-h);
    display: flex;
    align-items: center;
    font-size: 0.84rem;
    position: relative;
}
.horizontal-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: 0.3s var(--ease);
    transform: translateX(-50%);
}
.horizontal-menu li a:hover::after,
.horizontal-menu li a.active::after { width: 70%; }
.horizontal-menu li a:hover,
.horizontal-menu li a.active { color: var(--brand); }

/* ========== HERO ========== */
.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 2000 / 520;
    max-height: min(520px, 42vw);
    overflow: hidden;
    background: #0d0e10;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s var(--ease), visibility 0.7s;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d0e10;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    user-select: none;
    pointer-events: none;
}
.hero-overlay-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 18px 0 28px;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 9, 11, 0.55) 100%);
    pointer-events: none;
}
.hero-overlay-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-overlay-brand {
    color: #fff;
    pointer-events: none;
}
.hero-overlay-brand strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
}
.hero-overlay-brand span {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.75);
    font-weight: 600;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    pointer-events: auto;
}

.btn-primary,
.btn-ghost,
.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--brand);
    color: white;
    box-shadow: 0 10px 28px rgba(138, 31, 48, 0.35);
}
.btn-primary:hover {
    background: var(--brand-deep);
    transform: translateY(-2px);
    color: white;
}
.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
    color: white;
}
.btn-line {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}
.btn-line:hover { border-color: var(--brand); color: var(--brand); }

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 10;
    transform: translateY(-50%);
    pointer-events: none;
}
.nav-btn {
    pointer-events: auto;
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 46px;
    height: 46px;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    transition: 0.25s var(--ease);
}
.nav-btn:hover { background: var(--brand); border-color: var(--brand); transform: scale(1.05); }

.hero-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255,255,255,0.12);
    z-index: 12;
}
.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--brand), #d45a6e);
    transition: width 0.1s linear;
}
.hero-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 12;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: 0.3s;
    padding: 0;
}
.hero-dot.active {
    width: 28px;
    border-radius: 999px;
    background: white;
}

/* ========== QUICK ACTIONS ========== */
.quick-actions {
    margin-top: 18px;
    position: relative;
    z-index: 20;
    padding: 0 0 10px;
}
.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.quick-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.quick-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(138, 31, 48, 0.06), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease);
}
.quick-item:hover::before { transform: translateX(100%); }
.quick-item:hover {
    border-color: rgba(138, 31, 48, 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.quick-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: 0.3s;
}
.quick-item:hover .quick-icon {
    background: var(--brand);
    color: white;
    transform: rotate(-6deg) scale(1.05);
}
.quick-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.quick-text span {
    font-size: 0.78rem;
    color: var(--steel);
}
.quick-arrow {
    margin-left: auto;
    color: var(--mute);
    transition: 0.3s;
}
.quick-item:hover .quick-arrow { color: var(--brand); transform: translateX(4px); }

/* ========== SECTION TITLES ========== */
.section-head {
    text-align: center;
    margin-bottom: 36px;
}
.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 10px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 750;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: 0;
}
.section-title::after { display: none; }
.section-sub {
    margin-top: 10px;
    color: var(--steel);
    font-size: 0.95rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== VİTRİN ========== */
.vitrin-section {
    padding: 70px 0 40px;
    background: var(--white);
    overflow: hidden;
    position: relative;
}
.vitrin-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(138, 31, 48, 0.05), transparent 55%);
    pointer-events: none;
}
.vitrin-wrapper { width: 100%; position: relative; overflow: hidden; padding: 8px 0 24px; }
.vitrin-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: vitrinScroll 48s linear infinite;
}
.vitrin-track:hover { animation-play-state: paused; }
@keyframes vitrinScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 10 - 160px)); }
}

.vitrin-card {
    display: block;
    width: 250px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    transition: 0.35s var(--ease);
}
.vitrin-card:hover {
    border-color: rgba(138, 31, 48, 0.4);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.badge-vitrin {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: var(--brand);
    color: white;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 5px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.vitrin-img {
    height: 170px;
    width: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform 0.5s var(--ease);
}
.vitrin-card:hover .vitrin-img { transform: scale(1.06); }
.vitrin-body { padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.vitrin-title {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vitrin-price {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--brand-soft);
    border-radius: 999px;
}

/* ========== MAIN CONTENT ========== */
.main-content { padding: 50px 0 70px; background: var(--paper); }

.home-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

.left-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 80px; }

.sidebar-widget {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
}
.widget-title {
    background: var(--ink);
    color: white;
    padding: 14px 16px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 15px;
    color: var(--steel);
    font-weight: 600;
    font-size: 0.82rem;
    border-bottom: 1px solid #f1f3f5;
}
.sidebar-menu li a:hover,
.sidebar-menu li a.active,
.sidebar-menu li.active > a {
    background: var(--brand-soft);
    color: var(--brand);
}
.sidebar-submenu {
    display: none;
    background: #fafbfc;
}
.sidebar-menu li:hover > .sidebar-submenu,
.sidebar-menu li.active > .sidebar-submenu { display: block; }
.sidebar-submenu li a {
    padding: 8px 15px 8px 26px;
    font-size: 0.78rem;
}
.sidebar-submenu li a:hover,
.sidebar-submenu li a.active-sub {
    color: var(--brand);
    background: #fff;
}

.sidebar-banner {
    border-radius: var(--radius);
    padding: 22px 18px;
    text-align: center;
    border: 1px solid var(--line);
    background: white;
    transition: 0.3s;
}
.sidebar-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.kargo-banner {
    background: linear-gradient(160deg, #121417 0%, #2a171c 100%);
    color: white;
    border: none;
}
.kargo-title { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.kargo-icon {
    font-size: 2.2rem;
    color: #5eead4;
    margin: 8px 0 12px;
    animation: truckBob 2.4s ease-in-out infinite;
}
@keyframes truckBob {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}
.kargo-desc { font-size: 0.95rem; font-weight: 800; color: white; font-family: var(--font-display); }

.taksit-banner { background: white; }
.taksit-title { font-size: 0.82rem; font-weight: 800; margin-bottom: 14px; color: var(--ink); }
.taksit-banks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.taksit-banks span {
    background: var(--paper);
    font-size: 0.62rem;
    padding: 7px 4px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid var(--line);
    color: var(--steel);
    transition: 0.2s;
}
.taksit-banks span:hover { border-color: var(--brand); color: var(--brand); }

/* Products */
.products-area-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.products-area-head h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 750;
}
.filter-clear {
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 700;
}
.filter-clear:hover { text-decoration: underline; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}

.card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 360px;
    transition: 0.35s var(--ease);
}
.card:hover {
    border-color: rgba(138, 31, 48, 0.35);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
}
.card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.55s var(--ease);
}
.card:hover .card-img img { transform: scale(1.08); }

.view-details-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 20, 23, 0.92);
    color: white;
    text-align: center;
    padding: 11px;
    font-weight: 650;
    font-size: 0.82rem;
    opacity: 0;
    transform: translateY(100%);
    transition: 0.35s var(--ease);
}
.card:hover .view-details-btn { opacity: 1; transform: none; }

.card-body { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.card-cat {
    color: var(--brand);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 7px;
}
.card-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-block-dark {
    width: 100%;
    background: var(--ink);
    color: white;
    border: none;
    padding: 10px;
    font-weight: 700;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: 0.25s;
    font-size: 0.8rem;
    font-family: var(--font-body);
}
.btn-block-dark:hover { background: var(--brand); }

.btn-block-whatsapp {
    width: 100%;
    background: white;
    color: #128c3c;
    border: 1px solid #b7ebc9;
    padding: 9px;
    font-weight: 700;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: 0.25s;
    font-size: 0.8rem;
    font-family: var(--font-body);
}
.btn-block-whatsapp:hover { background: #f0fdf4; border-color: #16a34a; }

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
    background: white;
    border-radius: var(--radius);
    border: 1px dashed var(--line);
}
.empty-state i { font-size: 2.6rem; color: #cbd5e1; margin-bottom: 16px; }
.empty-state h3 { color: var(--steel); margin-bottom: 16px; font-size: 1.05rem; }

/* Pagination */
.pagination-container { margin-top: 36px; display: flex; justify-content: center; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; }
.page-link {
    min-width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: white;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ink-soft);
}
.page-link:hover,
.page-link.active {
    background: var(--brand);
    border-color: var(--brand);
    color: white;
}

/* ========== SERVICES ========== */
.services-section {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--line);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.service-item {
    padding: 28px 22px;
    border-bottom: 2px solid transparent;
    background: var(--paper);
    border-radius: var(--radius);
    transition: 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}
.service-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: width 0.4s var(--ease);
}
.service-item:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}
.service-item:hover::after { width: 100%; }
.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 1.25rem;
    margin-bottom: 16px;
    transition: 0.35s;
}
.service-item:hover .service-icon {
    background: var(--brand);
    color: white;
    transform: scale(1.06);
}
.service-item h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 750;
    margin-bottom: 8px;
}
.service-item p {
    color: var(--steel);
    font-size: 0.84rem;
    line-height: 1.55;
}

/* ========== CONTACT CTA ========== */
.contact-cta {
    padding: 80px 0;
    background:
        radial-gradient(ellipse at 10% 20%, rgba(138, 31, 48, 0.35), transparent 45%),
        radial-gradient(ellipse at 90% 80%, rgba(90, 19, 32, 0.4), transparent 40%),
        var(--ink);
    color: white;
    position: relative;
    overflow: hidden;
}
.contact-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.4;
    pointer-events: none;
}
.contact-wrap {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.contact-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.contact-cta p {
    color: #b8c0c8;
    font-size: 0.98rem;
    margin-bottom: 24px;
    max-width: 480px;
    line-height: 1.65;
}
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-panel {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 26px;
    backdrop-filter: blur(10px);
}
.contact-panel h4 {
    font-size: 1rem;
    font-weight: 750;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-panel h4 i { color: #e07a8a; }
.contact-panel li {
    margin-bottom: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #c5ccd4;
    font-size: 0.85rem;
}
.contact-panel li i { color: #e07a8a; margin-top: 3px; width: 16px; }

/* ========== BRANDS ========== */
.brand-slider-section {
    padding: 50px 0;
    background: white;
    border-top: 1px solid var(--line);
    overflow: hidden;
}
.brand-title {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 36px;
    font-size: 1.35rem;
}
.slider { height: 80px; margin: auto; overflow: hidden; position: relative; width: 100%; }
.slider-track {
    display: flex;
    width: calc(200px * 20);
    animation: brandScroll 40s linear infinite;
}
.slide-brand {
    height: 80px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}
.slide-brand img {
    width: 100%;
    opacity: 0.65;
    transition: 0.3s;
    object-fit: contain;
    max-height: 48px;
    filter: grayscale(1);
}
.slide-brand img:hover { opacity: 1; filter: none; transform: scale(1.08); }
@keyframes brandScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 10)); }
}

/* ========== FOOTER ========== */
footer {
    background: #0d0e10;
    color: white;
    padding: 64px 0 22px;
    border-top: 3px solid var(--brand);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 18px;
    font-weight: 750;
    border-bottom: 1px solid #2a2e34;
    padding-bottom: 10px;
}
.footer-col ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #a8b0b8;
    font-size: 0.85rem;
}
.footer-col ul li:hover { color: white; }
.social-link {
    background: #1a1d22;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    border: 1px solid #2a2e34;
}
.social-link:hover { background: var(--brand); border-color: var(--brand); }
.map-container {
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #2a2e34;
}
.copyright {
    text-align: center;
    border-top: 1px solid #2a2e34;
    padding-top: 20px;
    color: #7a828c;
    font-size: 0.8rem;
}

/* ========== CART / FLOATING / MOBILE ========== */
.cart-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.cart-content {
    background: white;
    width: 95%;
    max-width: 500px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: fadeSlide 0.3s var(--ease);
}
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}
.cart-header {
    background: var(--ink);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}
.cart-body { padding: 20px; max-height: 60vh; overflow-y: auto; }
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}
.cart-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.cart-item-info { flex: 1; padding: 0 15px; }
.cart-footer {
    padding: 15px 20px;
    background: var(--paper);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    border-top: 1px solid var(--line);
}
.btn-close-modal { background: none; border: none; color: white; font-size: 1.3rem; cursor: pointer; }
.btn-whatsapp-bulk {
    background: var(--wa);
    color: white;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
}
.qty-control {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 2px 6px;
    background: #fff;
    width: fit-content;
    margin-top: 5px;
}
.qty-btn {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    background: var(--paper);
    color: var(--steel);
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
}

.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--wa);
    color: white;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    animation: waPulse 2.4s ease-in-out infinite;
}
.floating-whatsapp:hover {
    transform: scale(1.08) translateY(-2px);
    color: white;
}
@keyframes waPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.45rem;
    color: var(--ink);
    cursor: pointer;
    margin-right: 10px;
}
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 2000;
    transition: 0.35s var(--ease);
    display: flex;
    flex-direction: column;
}
.mobile-sidebar.active { left: 0; }
.mobile-overlay.active { display: block; }
.m-header {
    background: var(--ink);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    letter-spacing: 0.06em;
}
.m-close { background: none; border: none; color: white; font-size: 1.3rem; cursor: pointer; }
.m-menu-list { list-style: none; padding: 0; overflow-y: auto; }
.m-menu-list li { border-bottom: 1px solid var(--line); }
.m-menu-list a {
    display: flex;
    padding: 13px 18px;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.9rem;
    justify-content: space-between;
}
.m-submenu { display: none; background: var(--paper); }
.m-submenu li a { padding-left: 28px; font-size: 0.84rem; color: var(--steel); }
.m-has-child.open > .m-submenu { display: block; }

/* Legacy promo aliases (safety) */
.promo-box { display: none; }

/* Page content (hakkimizda etc.) */
.page-content { padding: 50px 0 70px; }
.page-heading { margin-bottom: 28px; }
.page-heading h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.page-heading p { color: var(--steel); font-size: 0.9rem; }
.info-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 18px;
}
.info-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand);
}
.info-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 750; }
.info-text { color: var(--steel); line-height: 1.7; }
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .home-layout { grid-template-columns: 1fr; }
    .left-sidebar { position: static; display: grid; grid-template-columns: 1fr; }
    .quick-grid { grid-template-columns: 1fr; }
}
@media (max-width: 992px) {
    .mobile-menu-toggle { display: block; }
    .nav-container { display: none; }
    .header-main .search-box { display: flex; width: 100%; order: 3; margin-top: 12px; max-width: 100%; }
    .header-main { justify-content: flex-start; flex-wrap: wrap; gap: 10px; }
    .logo { margin-right: auto; }
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .card-img { height: 150px; padding: 10px; }
    .hero-slider {
        aspect-ratio: auto;
        max-height: none;
        min-height: 140px;
        height: 28vw;
    }
    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
    }
    .hero-overlay-bar { padding: 10px 0 20px; }
    .hero-overlay-brand { display: none; }
    .hero-cta .btn-primary,
    .hero-cta .btn-ghost { padding: 9px 12px; font-size: 0.75rem; }
    .header-main { gap: 8px; padding: 10px 0; }
    .logo img { max-height: 44px; }
    .header-right a:not(.header-cart) { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .quick-actions { margin-top: -20px; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .nav-btn { width: 38px; height: 38px; }
}
