﻿/* --- 1. TEMEL DEĞİŞKENLER VE SIFIRLAMA --- */
:root {
    --primary-black: #1a1a1a;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body, html {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-black);
    background-color: #f8f9fa;
}

/* --- 2. NAVIGASYON (HEADER) --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    padding: 1.2rem 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

    .navbar.scrolled {
        background-color: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 10px 0;
    }

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 15px !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    position: relative;
}

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: #000;
        transition: var(--transition-smooth);
        transform: translateX(-50%);
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

.nav-icon {
    color: #333;
    margin-left: 20px;
    font-size: 1.2rem;
    transition: color 0.3s;
    text-decoration: none;
}

    .nav-icon:hover {
        color: #888;
    }

/* --- 3. ANA SAYFA KATEGORİ VE TREND BANNER --- */
.category-card {
    position: relative;
    height: 480px;
    overflow: hidden;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .category-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1.5s ease;
        opacity: 0.9;
    }

    .category-card:hover img {
        transform: scale(1.1);
        opacity: 1;
    }

.category-content {
    position: absolute;
    z-index: 5;
    text-align: center;
}

    .category-content h2 {
        color: #fff;
        font-weight: 700;
        letter-spacing: 5px;
        margin-bottom: 20px;
    }

.btn-category {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 12px 35px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.5s ease;
    transform: translateY(30px);
    opacity: 0;
}

.category-card:hover .btn-category {
    transform: translateY(0);
    opacity: 1;
}

.btn-category:hover {
    background: #000;
    color: #fff;
}

/* Trend Radar Section */
.trend-banner-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
}

    .trend-banner-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .trend-banner-card:hover img {
        transform: scale(1.08);
    }

.trend-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.6s ease;
    z-index: 2;
    color: #fff;
}

.trend-banner-card:hover .trend-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.trend-overlay h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.trend-overlay p {
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-trend {
    padding: 14px 45px;
    border: 1px solid rgba(255,255,255,0.8);
    background: transparent;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.75rem;
    transition: all 0.4s ease;
    text-decoration: none;
}

    .btn-trend:hover {
        background: #fff;
        color: #000;
        border-color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

/* --- 4. ÜRÜN VE KOLEKSİYON SAYFASI --- */
.product-card-premium {
    transition: transform 0.3s ease;
}

    .product-card-premium:hover {
        transform: translateY(-5px);
    }

.product-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #f8f9fa;
}

    .product-card-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1.2s ease;
    }

    .product-card-img-wrapper:hover img {
        transform: scale(1.1);
    }

.btn-incele {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 35px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: #000;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.5s ease-out;
    opacity: 0;
    text-decoration: none;
    z-index: 10;
    white-space: nowrap;
}

.product-card-img-wrapper:hover .btn-incele {
    top: 50%;
    opacity: 1;
}

.btn-incele:hover {
    background: #000;
    color: #fff;
}

.product-info {
    padding: 1.5rem 0.5rem;
    text-align: left;
}

.product-title {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
    color: #1a1a1a;
    text-transform: uppercase;
}

.product-desc {
    font-size: 0.75rem;
    color: #777;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
}

    .product-price::before {
        content: "";
        width: 15px;
        height: 1px;
        background-color: #ccc;
        margin-right: 10px;
        display: inline-block;
    }

/* --- 5. SEPET VE ÖDEME SAYFALARI --- */
.basket-table td {
    vertical-align: middle !important;
    padding: 20px 10px !important;
}

.basket-img-wrapper {
    width: 100px !important;
    height: 100px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.basket-img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.quantity-control {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    border: 1px solid #e0e0e0;
    width: fit-content;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.btn-qty {
    padding: 5px 12px !important;
    background-color: #f8f9fa !important;
    color: #333 !important;
    text-decoration: none !important;
    font-weight: bold;
    transition: background 0.2s;
    border: none !important;
}

    .btn-qty:hover {
        background-color: #e9ecef !important;
    }

.qty-amount {
    padding: 0 15px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
    display: inline-block;
}

.btn-remove {
    color: #dc3545;
    transition: transform 0.2s, color 0.2s;
    font-size: 1.1rem;
    background: none;
    border: none;
    padding: 5px;
}

    .btn-remove:hover {
        color: #a71d2a;
        transform: scale(1.1);
    }

.order-note-input {
    border-radius: 0;
    border: 1px solid #dee2e6;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    resize: none;
}

    .order-note-input:focus {
        border-color: #000;
        box-shadow: none;
        background-color: #f8f9fa;
    }

.custom-option-card {
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 0;
    background: #fff;
}

.custom-option-active {
    border-color: #000 !important;
    background: #fcfcfc;
}

/* --- 6. HESABIM VE DİĞER KARTLAR --- */
.address-card {
    border: 1px solid rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease;
}

    .address-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
        border-color: #000 !important;
    }

.instagram-box {
    background-color: #fdfdfd;
    border-color: #dee2e6 !important;
    max-width: 400px;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
}

    .instagram-box:hover {
        background-color: #fff;
        border-color: #000 !important;
        transform: scale(1.02);
    }

/* --- 7. YARDIMCI SINIFLAR VE RESPONSIVE --- */
.rounded-4 {
    border-radius: 1.2rem !important;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.cursor-pointer {
    cursor: pointer;
}

.transition-all {
    transition: all 0.3s ease-in-out;
}

footer {
    background: #1a1a1a;
    color: #fff;
    padding: 4rem 0;
}

/* Masaüstü Ekran Ayarı */
@media (min-width: 992px) {
    .site-icerik {
        padding-top: 110px !important;
        padding-bottom: 60px;
        min-height: 85vh;
    }
}

/* Telefon Ayarı */
@media (max-width: 991px) {
    .site-icerik {
        padding-top: 80px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
}