/* === Renk Paleti ve Değişkenler === */
:root {
    --ana-bg: #080808;
    --kart-bg: #121212;
    
    /* Üst Bar İçin Koyu Gri (Antrasit) Ayarları */
    --nav-bg: #1a1a1a; 
    --nav-text: #f0f0f0;
    --nav-border: #2a2a2a;
    
    --metin-beyaz: #ffffff;
    --metin-gri: #a0a0a0;
    --kenarlik: #1f1f1f;
    --gecis: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Temel Ayarlar === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--ana-bg);
    color: var(--metin-beyaz);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* === Koyu Gri Header & Navbar === */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--nav-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 70px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.logo-link {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 35px;
}

.navbar a, .dropbtn {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: var(--gecis);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

/* Hover efekti: Altına ince çizgi */
.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--metin-beyaz);
    transition: var(--gecis);
}

.navbar a:hover::after {
    width: 100%;
}

.navbar a:hover, .dropbtn:hover {
    color: var(--metin-beyaz);
    opacity: 0.8;
}

/* Dropdown (Koyu Gri) */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--nav-bg);
    min-width: 180px;
    border: 1px solid var(--nav-border);
    border-radius: 12px;
    padding: 10px 0;
    margin-top: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.dropdown-content a {
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    text-transform: none;
    color: var(--nav-text) !important;
    font-weight: 500;
}

.dropdown-content a:hover {
    background-color: #252525;
}

.dropdown-content a::after { display: none; }

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hamburger Menü */
.menu-btn {
    display: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-btn div {
    width: 24px;
    height: 2.5px;
    background-color: var(--nav-text);
    margin: 5px 0;
    transition: var(--gecis);
    border-radius: 5px;
}

/* === Ürün Alanı === */
main {
    padding-top: 120px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 50px;
}

.section-title {
    font-size: clamp(26px, 5vw, 42px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -1.5px;
    color: var(--metin-beyaz);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Modern Ürün Kartı */
.product {
    background-color: var(--kart-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--kenarlik);
    transition: var(--gecis);
    display: flex;
    flex-direction: column;
}

.product:hover {
    transform: translateY(-10px);
    border-color: #333;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.product-img-container {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #000;
}

.product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.product:hover img {
    transform: scale(1.12);
}

.product-info {
    padding: 22px;
    text-align: center;
    border-top: 1px solid var(--kenarlik);
}

.product p {
    font-size: 15px;
    font-weight: 600;
    color: var(--metin-beyaz);
    margin: 0;
}

/* === Lightbox (Görsel Büyütme) === */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(15px);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.lightbox img {
    max-width: 95%;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
    transform: scale(0.9);
    animation: zoomIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes zoomIn {
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    line-height: 1;
}

/* === Mobil Düzenlemeler === */
@media (max-width: 768px) {
    header { height: 60px; }
    .menu-btn { display: block; }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background-color: var(--nav-bg);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.4);
        gap: 30px;
    }

    .navbar.active {
        right: 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-info { padding: 15px; }
    .product p { font-size: 13px; }

    .dropdown-content {
        position: static;
        width: 100%;
        background: transparent;
        border: none;
        box-shadow: none;
        text-align: center;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
