/* 2025 Modern Tema - Style.css */

:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary: #64748b;
    --dark: #0f172a;
    --light: #f8fafc;
    --surface: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
    --shadow-md: 0 6px 12px -2px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    padding-top: 90px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a { text-decoration: none; }

/* --- 1. NAVBAR (MENÜ) --- */
.navbar-custom {
    /* Fixed height yerine min-height kullanarak esneklik sağladık */
    min-height: 90px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    z-index: 1050;
    display: flex;
    align-items: center;
}

.navbar-custom.scrolled {
    min-height: 70px;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

/* LOGO DÜZENLEMESİ - SORUN ÇÖZÜMÜ BURADA */
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar-brand img {
    /* Logo yüksekliğini sınırla, böylece çok büyük görünmez */
    max-height: 65px; 
    width: auto; /* Genişliği orantılı ayarla */
    object-fit: contain; /* Resmi kutuya sığdır */
    transition: transform 0.3s ease;
}

/* Scroll edildiğinde logo biraz küçülsün */
.navbar-custom.scrolled .navbar-brand img {
    max-height: 50px;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Menü Linkleri */
.nav-link {
    font-weight: 600;
    color: var(--dark) !important;
    padding: 0.5rem 0 !important;
    margin: 0 1.2rem;
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }

@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 1.5rem;
        border-radius: 1.5rem;
        margin-top: 1rem;
        box-shadow: var(--shadow-lg);
    }
    .nav-link { margin: 0.5rem 0; }
}

/* --- 2. BANNERLAR & SLIDER --- */
.hero-wrapper {
    position: relative;
    height: 85vh;
    min-height: 600px;
    margin-top: -90px;
    border-radius: 0 0 3rem 3rem;
    overflow: hidden;
    z-index: 1;
}

.hero-slide {
    height: 100%;
    width: 100%;
    background-size: cover;
    /* DÜZELTME: center top yaparak kafa kısmının kesilmesini engelliyoruz */
    background-position: center top; 
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.page-banner {
    position: relative;
    height: 45vh;
    min-height: 350px;
    background-size: cover;
    background-position: center top; /* Burası da düzeltildi */
    margin-top: -90px;
    padding-top: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.page-banner .banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.6);
    z-index: 1;
}
.page-banner-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* --- 3. ÜRÜN KARTLARI --- */
.product-card {
    background: white;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.product-img-wrapper {
    position: relative;
    height: 280px;
    background-color: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.product-card:hover .product-img-wrapper img { transform: scale(1.05); }
.product-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--primary);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50rem;
    z-index: 2;
}

/* --- 4. GALERİ (DÜZENLİ GRID) --- */
.gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (min-width: 768px) { .gallery-wrapper { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-wrapper { grid-template-columns: repeat(4, 1fr); } }

.gallery-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    background-color: #e2e8f0;
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-card:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i {
    color: white;
    font-size: 2rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    padding: 1rem;
    border-radius: 50%;
}

/* --- 5. SPONSORLAR --- */
.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    opacity: 0.7;
}
.sponsor-item img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}
.sponsor-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* --- BUTONLAR --- */
.btn-primary {
    background-color: var(--primary);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}
.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50rem;
    padding: 0.8rem 2rem;
    font-weight: 600;
    color: white;
}
.btn-outline-light:hover {
    background-color: white;
    color: var(--primary);
    border-color: white;
}

/* --- FOOTER --- */
.footer-modern {
    background-color: var(--dark);
    color: white;
    padding-top: 5rem;
    padding-bottom: 2rem;
    margin-top: 5rem;
    border-top-left-radius: 3rem;
    border-top-right-radius: 3rem;
}
.social-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: white;
    transition: all 0.3s;
}
.social-icon:hover { background: var(--primary); transform: translateY(-3px); }

/* === FIX: Slider karartma katmanlarını kapat === */
.hero-slide::after{
  content: none !important;
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}
.hero-overlay, .hero-wrapper::before, .hero::before, .carousel-item::before{
  background: transparent !important;
  opacity: 1 !important;
}

