@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
    --primary-blue: #0ea5e9;
    --dark-bg: #111827;
    --darker-bg: #0f172a;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #eaeaea;
    --bg-gray: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--bg-gray);
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

a:focus, a:active, button:focus, input:focus, select:focus {
    outline: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar */
.top-bar {
    background-color: #000000;
    color: #999;
    font-size: 12px;
    padding: 5px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar a:hover {
    color: #fff;
}

.divider {
    color: #444;
}

/* Header */
.header {
    background-color: var(--dark-bg);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-container {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
}

.search-box {
    display: flex;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    height: 40px;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 0 15px;
    outline: none;
    font-size: 13px;
}

.search-select {
    border: none;
    border-left: 1px solid #ddd;
    background: #fff;
    padding: 0 15px;
    color: #666;
    outline: none;
    font-size: 13px;
    cursor: pointer;
}

.search-btn {
    background: #fff;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    color: #333;
}

.header-contact {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.social-header-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}

.social-header-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.05);
    color: var(--text-dark);
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
    position: relative;
}

.social-header-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.social-header-link:hover {
    transform: translateY(-3px) scale(1.05);
    color: #fff;
}

.social-header-link.social-facebook:hover {
    background: #1877F2;
    box-shadow: 0 4px 16px rgba(24, 119, 242, 0.4);
}

.social-header-link.social-instagram:hover {
    background: linear-gradient(135deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    box-shadow: 0 4px 16px rgba(225, 48, 108, 0.4);
}

.social-header-link.social-youtube:hover {
    background: #FF0000;
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.4);
}

.social-header-link.social-whatsapp:hover {
    background: #25D366;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
    .social-header-icons { display: none; }
}

/* Nav */
.main-nav {
    background-color: var(--primary-blue);
}

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

.nav-links li a {
    display: block;
    padding: 12px 15px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.nav-links li a:hover {
    background: rgba(0,0,0,0.1);
}

/* Hero Slider */
.hero-slider {
    width: 100%;
    height: calc(100vh - 120px);
    position: relative;
    margin-top: 0;
}
.mySwiper {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}
.slide-content {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
    padding: 0 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}
.swiper-slide-active .slide-content {
    opacity: 1;
    transform: translateY(0);
}
.slide-title {
    color: #fff;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    max-width: 800px;
}
.slide-subtitle {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}
.slide-btn {
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}
.slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.4);
    color: #fff;
}
.swiper-button-next, .swiper-button-prev {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    transition: all 0.3s;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--primary-blue);
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
}
.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: #fff !important;
    opacity: 0.5 !important;
}
.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--primary-blue) !important;
    width: 24px !important;
    border-radius: 6px !important;
}
@media (max-width: 768px) {
    .hero-slider { height: 60vh; }
    .slide-title { font-size: 28px; }
    .slide-subtitle { font-size: 18px; }
    .slide-content { padding: 0 20px; text-align: center; }
    .swiper-button-next, .swiper-button-prev { display: none !important; }
}

/* Vehicle Selection */
.vehicle-selection-wrapper {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.vehicle-selection-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.box-header {
    margin-bottom: 15px;
}

.box-header h2 {
    font-size: 18px;
    color: #333;
}

.box-header p {
    font-size: 13px;
    color: #666;
}

.selection-form {
    display: flex;
    gap: 15px;
}

.select-group {
    flex: 1;
}

.select-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    color: #666;
}

.find-parts-btn {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    padding: 0 30px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
}

/* Categories */
.featured-categories {
    padding: 40px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    border-radius: 8px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #fff;
}

.category-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.category-info p {
    font-size: 12px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.btn-primary {
    background: var(--primary-blue);
    color: #fff;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
}

/* Products */
.tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    color: var(--primary-blue);
    font-weight: 500;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.product-image {
    text-align: center;
    margin-bottom: 15px;
}

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

.product-title {
    font-size: 13px;
    color: #333;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.4;
    flex: 1;
}

.current-price {
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-add-cart {
    flex: 1;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

.btn-fav {
    width: 35px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #999;
    cursor: pointer;
}

.btn-whatsapp {
    flex: 1;
    background: #25D366;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background 0.2s;
}
.btn-whatsapp:hover {
    background: #1da851;
}

/* Mid Banners */
.mid-banners {
    padding: 20px 0 40px;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.promo-banner {
    border-radius: 8px;
    height: 200px;
    display: flex;
    align-items: center;
    padding-left: 40px;
}

/* Features */
.features-section {
    background: #fff;
    padding: 30px 0;
    margin-bottom: 40px;
    border: 1px solid #eee;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

.icon-circle {
    width: 40px;
    height: 40px;
    background: #e0f2fe;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.feature-text h4 {
    font-size: 13px;
    color: #333;
}

.feature-text p {
    font-size: 11px;
    color: #666;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    color: var(--text-light);
    padding-top: 50px;
    font-size: 13px;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 30px;
    padding-bottom: 30px;
}

.footer h4 {
    color: var(--text-dark);
    font-size: 15px;
    margin-bottom: 20px;
}

.footer ul li {
    margin-bottom: 10px;
}

.social-icons a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.05);
    color: var(--text-dark);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.social-icons a:hover {
    background: var(--primary-blue);
    color: #ffffff;
}

.old-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    display: block;
}

.promo-content {
    color: #fff;
}

.promo-content h3 {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.seo-section {
    padding: 30px 0;
    text-align: center;
}

.products-section {
    padding: 40px 0;
}

.product-price {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .search-container { display: none; }
    .header-contact { display: none; }
    .header-inner { flex-wrap: wrap; gap: 15px; justify-content: center; }
    .nav-links { overflow-x: auto; white-space: nowrap; }
    .selection-form { flex-direction: column; }
    .vehicle-selection-wrapper { margin-top: 0; }
}

@media (max-width: 480px) {
    .categories-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .top-bar-right { display: none; }
}

/* Kategori Sayfası Düzeni */
.category-page-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.category-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}
.category-content {
    flex-grow: 1;
    min-width: 0;
}
.kategori-agaci-container {
    margin-top: 10px;
}
ul.kategori-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.alt-menu {
    padding-left: 15px;
    border-left: 1px dashed #cbd5e1;
    margin-left: 10px;
    margin-top: 5px;
}
li.kategori-item {
    margin-bottom: 5px;
}
.kategori-link-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}
.kategori-link-wrap:hover {
    background-color: #f1f5f9;
}
.kategori-link-wrap.active-wrap {
    background-color: #e0f2fe;
}
.kategori-link {
    color: #334155;
    font-size: 15px;
    text-decoration: none;
    flex-grow: 1;
}
.kategori-link:hover {
    color: #0ea5e9;
}
.kategori-link.active {
    font-weight: 600;
    color: #0284c7;
}
.kategori-toggle {
    cursor: pointer;
    color: #94a3b8;
    padding: 0 5px;
}
.kategori-toggle:hover {
    color: #0ea5e9;
}
@media (max-width: 768px) {
    .category-page-layout {
        flex-direction: column;
    }
    .category-sidebar {
        width: 100%;
    }
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.floating-btn.whatsapp {
    background-color: #25D366;
}

.floating-btn.phone {
    background-color: #0ea5e9;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: white;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease-out;
}

.floating-btn:hover::before {
    transform: scale(1.5);
    opacity: 0.2;
}

.floating-btn i {
    z-index: 2;
    animation: pulse-icon 2s infinite;
}

.floating-btn.phone i {
    animation-delay: 1s;
}

@keyframes pulse-icon {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Tooltips */
.floating-btn .tooltip {
    position: absolute;
    left: 75px;
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.floating-btn .tooltip::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 6px 6px 0;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
}

.floating-btn:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        left: 20px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .floating-btn .tooltip {
        display: none;
    }
}

