/**
 * TasarımNet - Özel Tasarım Stilleri (Bidolubaskı Konsepti)
 */

:root {
    --primary-color: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary-color: #1e293b;
    --accent-color: #ff6b00;
    --bg-light: #f8fafc;
    --card-border: #e2e8f0;
    --text-muted: #64748b;
    --text-dark: #1e293b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.5;
}

/* Topbar */
.topbar {
    background-color: #0f172a;
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 6px 0;
}
.topbar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}
.topbar a:hover {
    color: #ffffff;
}

/* Main Navbar */
.main-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.brand-logo {
    display: inline-flex;
    align-items: center;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f172a;
    text-decoration: none;
    line-height: 1;
}
.brand-logo .brand-logo-img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}
.brand-text-name {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.brand-text-name span:first-child {
    color: var(--primary-color);
}
.brand-text-name .brand-suffix {
    color: var(--text-dark);
    transition: color 0.2s ease;
}
.brand-logo:hover {
    color: #0f172a;
}

/* Category Navigation Bar */
.category-nav {
    background-color: #ffffff;
    border-top: 1px solid var(--card-border);
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    z-index: 1040;
}
.category-nav .container {
    position: relative;
    overflow: visible !important;
}
.category-nav-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    align-items: center;
    margin: 0;
    padding: 0;
}
.category-nav .nav-item {
    flex-shrink: 0 !important;
    position: relative;
}
.category-nav .nav-link {
    color: #334155;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 11px 18px;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.category-nav .nav-link:hover, .category-nav .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: #f8fafc;
}
.category-nav .dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 0;
    padding: 8px 6px;
    z-index: 1055 !important;
}
@media (min-width: 992px) {
    .category-nav .dropdown-hover:hover > .dropdown-menu {
        display: block !important;
    }
}
.category-nav .dropdown-item {
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 16px;
    color: #334155;
    border-radius: 8px;
    transition: all 0.15s ease;
}
.category-nav .dropdown-item:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
    padding-left: 20px;
}
@media (max-width: 991.98px) {
    .category-nav .container {
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .category-nav .container::-webkit-scrollbar {
        display: none;
    }
}
@keyframes fadeInCategoryMenu {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Bidolubaskı Style Hero Slider */
.main-slider-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.slider-slide {
    min-height: 380px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 40px 60px;
    overflow: hidden;
}
.slider-badge {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #1e293b;
    margin-bottom: 8px;
    display: inline-block;
}
.slider-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.15;
    color: #1e293b;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.slider-subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 18px;
}
.slider-price {
    font-size: 3.2rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
}
.slider-price span.kdv {
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 6px;
    color: #334155;
}
.slider-btn {
    background-color: #1e293b;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.slider-btn:hover {
    background-color: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.slider-visual {
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-visual-backdrop {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.slider-visual img {
    position: relative;
    z-index: 2;
    max-height: 320px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.2));
}

/* Slider Controls */
.carousel-btn-prev, .carousel-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 10;
    transition: all 0.2s;
    border: none;
}
.carousel-btn-prev { left: 15px; }
.carousel-btn-next { right: 15px; }
.carousel-btn-prev:hover, .carousel-btn-next:hover {
    background: #000000;
    color: #ffffff;
}

/* Slider Mini Thumbnails (Bidolubaskı Style Indicators) */
.slider-thumbs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.slider-thumb-item {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 16px;
    background: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 6px;
}
.slider-thumb-item.active, .slider-thumb-item:hover {
    border-color: #0d6efd;
    color: #0d6efd;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.15);
}

/* Trust Bar (Screenshot Feature Badges) */
.trust-bar {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 20px;
    margin-bottom: 35px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #334155;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 10px;
}
.trust-item i {
    font-size: 1.4rem;
    color: #0284c7;
}

/* Product Card */
.product-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}
.product-card-img {
    height: 200px;
    object-fit: cover;
    background-color: #f1f5f9;
}
.product-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 8px;
    text-decoration: none;
}
.product-card-title:hover {
    color: var(--primary-color);
}
.price-badge {
    color: #16a34a;
    font-size: 1.25rem;
    font-weight: 800;
}

/* Configurator Box (Bidolubaskı Style) */
.config-box {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    padding: 28px;
}
.option-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.option-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.option-btn {
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 16px;
    background: #ffffff;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.option-btn:hover {
    border-color: var(--primary-color);
    background-color: #f0f7ff;
}
.option-btn.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.25);
}

/* Quantity Selection Grid */
.qty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
    margin-bottom: 20px;
}
.qty-btn {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 6px;
    text-align: center;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
}
.qty-btn .qty-val {
    font-size: 1.15rem;
    font-weight: 800;
    display: block;
    color: #0f172a;
}
.qty-btn .qty-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.qty-btn:hover {
    border-color: var(--primary-color);
}
.qty-btn.active {
    border-color: var(--primary-color);
    background: #eff6ff;
}
.qty-btn.active .qty-val {
    color: var(--primary-color);
}

/* Live Price Display Box */
.price-display-card {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}
.total-price-val {
    font-size: 2rem;
    font-weight: 900;
    color: #16a34a;
}
.unit-price-val {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.estimated-date-badge {
    background-color: #e0f2fe;
    color: #0369a1;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
}

/* File Upload Drop Area */
.dropzone-box {
    border: 2px dashed #94a3b8;
    background-color: #f8fafc;
    border-radius: 10px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.dropzone-box:hover, .dropzone-box.dragover {
    border-color: var(--primary-color);
    background-color: #eff6ff;
}

/* Footer */
footer.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 50px 0 20px;
    margin-top: 60px;
}
footer.site-footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
}
footer.site-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
footer.site-footer a:hover {
    color: #ffffff;
}

/* Header & Support Button Mobile Rules */
.btn-fast-support {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: 0.88rem;
    white-space: nowrap;
    border-width: 1.5px;
    transition: all 0.2s ease;
    line-height: 1.2;
}
.btn-fast-support:hover {
    background-color: #25d366;
    border-color: #25d366;
    color: #ffffff;
}
.dark-toggle-btn {
    border-radius: 50% !important;
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .main-header {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
    .brand-logo img {
        max-height: 36px !important;
    }
    .brand-logo {
        font-size: 1.35rem;
    }
    .btn-fast-support {
        padding: 5px 10px;
        font-size: 0.78rem;
        gap: 4px;
    }
    .btn-fast-support i {
        font-size: 0.95rem;
    }
    .dark-toggle-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    .category-nav .nav-link {
        padding: 8px 12px;
        font-size: 0.86rem;
    }
}
@media (max-width: 400px) {
    .btn-fast-support {
        padding: 4px 8px;
        font-size: 0.74rem;
    }
}

