/* SEHVERA KOZMETİK - PROFESYONEL STYLE SHEET 
    GÜNCELLEME: 2026 / DASHBOARD & KATALOG UYUMLU
*/

:root { 
    --gold: #d4af37; 
    --dark: #121212; 
    --white: #ffffff;
    --gray-bg: #f9f9f9;
    --border-color: #eee;
    --text-muted: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { 
    font-family: 'Poppins', sans-serif; 
    background: #fff; 
    padding-top: 80px; /* Navbar için boşluk */
    color: var(--dark);
    line-height: 1.6;
}

/* --- NAVBAR (ÜST MENÜ) --- */
.navbar { 
    background: var(--white); 
    height: 80px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); 
}
.navbar-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 90%; 
    max-width: 1200px; 
}
.nav-logo { 
    color: var(--dark); 
    font-weight: 700; 
    font-size: 1.6rem; 
    text-decoration: none; 
    letter-spacing: 3px; 
}
.nav-menu { 
    display: flex; 
    list-style: none; 
}
.nav-item { margin-left: 30px; }
.nav-links { 
    color: var(--dark); 
    text-decoration: none; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    font-weight: 600; 
    letter-spacing: 1px;
    transition: 0.3s; 
}
.nav-links:hover { color: var(--gold); }

/* --- DİNAMİK SLIDER --- */
.slider-container { 
    width: 100%; 
    height: 550px; 
    position: relative; 
    overflow: hidden; 
    background: #000; 
}
.slide { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    display: none; 
    align-items: center; 
    justify-content: center; 
    transition: opacity 1s ease-in-out;
}
.slide.active { display: flex !important; animation: fadeIn 1s; }

.slide-content { 
    text-align: center; 
    color: var(--white); 
    max-width: 800px; 
    padding: 20px; 
    z-index: 2;
}
.slide-content h1 { 
    font-size: 3.5rem; 
    margin-bottom: 10px; 
    text-transform: uppercase; 
    letter-spacing: 5px; 
    text-shadow: 2px 2px 15px rgba(0,0,0,0.3);
}
.slide-content p { font-size: 1.3rem; margin-bottom: 30px; font-weight: 300; }
.slider-btn { 
    background: var(--white); 
    color: var(--dark); 
    padding: 15px 45px; 
    text-decoration: none; 
    font-weight: 700; 
    border-radius: 4px; 
    transition: 0.3s; 
    display: inline-block;
}
.slider-btn:hover { background: var(--gold); color: #fff; }

.slider-dots { 
    position: absolute; 
    bottom: 30px; 
    width: 100%; 
    text-align: center; 
    z-index: 10;
}
.dot { 
    height: 10px; 
    width: 10px; 
    margin: 0 6px; 
    background: rgba(255,255,255,0.4); 
    border-radius: 50%; 
    display: inline-block; 
    cursor: pointer; 
    transition: 0.3s; 
}
.dot.active { background: var(--white); width: 30px; border-radius: 10px; }

/* --- ÜRÜN LİSTELEME (İndex Sayfası) --- */
.container { 
    width: 90%; 
    max-width: 1100px; 
    margin: 80px auto; 
}
.section-title { 
    text-align: center; 
    font-size: 2.2rem; 
    margin-bottom: 60px; 
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}
.section-title::after {
    content: ""; width: 60px; height: 3px; background: var(--gold);
    position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
}

.product-item { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 50px; 
    align-items: flex-start; 
    padding: 40px; 
    border: 1px solid var(--border-color); 
    border-radius: 25px; 
    margin-bottom: 60px; 
    background: #fff;
    transition: 0.3s;
}

/* Görsel & Galeri Alanı */
.img-box-wrapper { flex: 1; min-width: 320px; max-width: 450px; }
.main-img-box { 
    width: 100%; 
    height: 400px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    background: #fdfdfd; 
    border-radius: 20px; 
    overflow: hidden; 
    border: 1px solid #f5f5f5;
}
.main-img-box img { max-width: 90%; max-height: 90%; object-fit: contain; }

.thumb-gallery { 
    display: flex; 
    gap: 12px; 
    margin-top: 20px; 
    justify-content: center; 
    flex-wrap: wrap; 
}
.thumb { 
    width: 65px; 
    height: 65px; 
    object-fit: cover; 
    border-radius: 10px; 
    border: 2px solid #eee; 
    cursor: pointer; 
    transition: 0.3s; 
}
.thumb:hover { border-color: var(--gold); transform: translateY(-3px); }

/* İçerik Alanı */
.info-box { flex: 1.2; min-width: 320px; }
.info-box h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--dark); font-weight: 600; }
.desc { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; margin-bottom: 25px; }

.dynamic-features { list-style: none; padding: 0; margin-bottom: 35px; }
.dynamic-features li { 
    padding: 12px 0; 
    border-bottom: 1px solid #f7f7f7; 
    color: #444; 
    font-size: 0.95rem; 
}

.price-box { display: flex; align-items: center; gap: 35px; }
.price { font-size: 3rem; font-weight: 700; color: var(--dark); }
.buy-btn { 
    background: var(--dark); 
    color: #fff; 
    border: none; 
    padding: 18px 50px; 
    border-radius: 8px; 
    cursor: pointer; 
    font-weight: 700; 
    letter-spacing: 1px; 
    transition: 0.4s; 
}
.buy-btn:hover { 
    background: var(--gold); 
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2); 
}

/* --- ÜRÜNLERİMİZ SAYFASI (GRID KATALOG) --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: 0.3s;
}
.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 15px;
}
.product-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.product-card .price { font-size: 1.5rem; display: block; margin-bottom: 15px; }

/* --- ANİMASYONLAR --- */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(1.02); }
    to { opacity: 1; transform: scale(1); }
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 992px) {
    .product-item { flex-direction: column; align-items: center; text-align: center; }
    .img-box-wrapper { max-width: 100%; }
    .price-box { flex-direction: column; gap: 20px; }
}

@media (max-width: 768px) {
    .navbar-container { padding: 0 20px; }
    .nav-menu { display: none; } /* Mobil menü altyapısı buraya gelecek */
    .slider-container { height: 400px; }
    .slide-content h1 { font-size: 2.2rem; }
    .slide-content p { font-size: 1rem; }
}