/* --- Root Variables (Renk Paleti & Ayarlar) --- */
:root {
    --navy: #0A192F;
    --gold: #D4AF37;
    --gold-hover: #b5952f;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --text-color: #333333;
    --transition: all 0.3s ease-in-out;
}

/* --- Genel Ayarlar --- */
html, body {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden; /* Sağa sola kaymayı engeller */
    width: 100%;        /* Genişliği sabitler */
    position: relative;
}

body {
    color: var(--text-color);
    background-color: var(--white);
}

/* Helper Classes */
.text-navy { color: var(--navy) !important; }
.bg-navy { background-color: var(--navy) !important; }
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }
.text-light-gray { color: #adb5bd !important; }
.letter-spacing { letter-spacing: 2px; }
.line-height-tight { line-height: 1.2; }
.py-100 { padding-top: 100px; padding-bottom: 100px; }
.relative { position: relative; }
.z-index-2 { position: relative; z-index: 2; }
.transition-all { transition: var(--transition); }

/* --- Navbar (Glassmorphism & Scroll Effects) --- */
.transition-navbar {
    transition: var(--transition);
    padding: 20px 0;
    background: transparent;
}
.transition-navbar.scrolled {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--gold);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: var(--transition);
}
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after {
    width: 100%;
}

/* --- Buttons --- */
.btn-gold {
    background-color: var(--gold);
    color: var(--navy);
    border: 2px solid var(--gold);
    transition: var(--transition);
}
.btn-gold:hover {
    background-color: transparent;
    color: var(--gold);
}
.btn-navy {
    background-color: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
    transition: var(--transition);
}
.btn-navy:hover {
    background-color: transparent;
    color: var(--navy);
}

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    min-height: 700px;
}
.hero-bg-placeholder {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* AI GÖRSELİ BURAYA GELECEK. Placeholder olarak degrade eklendi */
    background: url('./images/hero.webp') no-repeat center center/cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(10,25,47,0.9) 0%, rgba(10,25,47,0.6) 50%, rgba(10,25,47,0.2) 100%);
    z-index: 1;
}
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Placeholders & Images --- */
.image-placeholder {
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hover-scale {
    transition: transform 0.5s ease;
}
.image-placeholder:hover .hover-scale {
    transform: scale(1.05);
}

/* --- Product Cards --- */
.product-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
.product-card img {
    transition: transform 0.5s ease;
}
.product-card:hover img {
    transform: scale(1.08);
}

/* --- Timeline Process --- */
.process-timeline {
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: rgba(10, 25, 47, 0.1);
    z-index: 0;
}
@media (max-width: 991px) {
    .process-timeline::before { display: none; }
}
.step-icon {
    width: 80px;
    height: 80px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}
.process-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* --- Features (Why Us) --- */
.feature-card {
    border: 1px solid transparent;
}
.feature-card:hover {
    background-color: var(--white) !important;
    border-color: rgba(10, 25, 47, 0.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

/* --- CTA Section --- */
.cta-bg-placeholder {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('./images/cta.webp') no-repeat center center/cover;
    opacity: 0.3;
}

/* --- Contact & Forms --- */
.custom-input {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: var(--transition);
}
.custom-input:focus {
    background-color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}
.icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

/* --- Footer --- */
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    transition: var(--transition);
}
.social-icon:hover {
    background-color: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
}

/* --- Floating WhatsApp --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: transform 0.3s ease;
}
.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--navy);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }
    .hero-section {
        text-align: center;
    }
    .glass-card {
        padding: 2rem !important;
    }
}


/* --- Eklenen Yeni Premium CSS Sınıfları --- */

/* Hero Gradient Overlay Geliştirmesi */
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}
.hero-overlay {
    background: linear-gradient(135deg, rgba(10,25,47,0.95) 0%, rgba(10,25,47,0.7) 40%, rgba(212,175,55,0.1) 100%);
}

/* Ürün Kartları İçi Tipografi */
.max-w-700 { max-width: 700px; }
.line-height-lg { line-height: 1.8; }

/* Buton Geliştirmesi (Outline) */
.btn-outline-navy {
    color: var(--navy);
    border: 2px solid var(--navy);
    transition: var(--transition);
    background: transparent;
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: var(--white);
}

/* Sonsuz Kayan Yazı / Logo Animasyonu (Marquee) */
.logo-slider {
    background: transparent;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.logo-slide-track {
    animation: scroll 20s linear infinite;
    display: flex;
    width: calc(250px * 8); /* Öğe sayısına göre genişlik */
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 4)); }
}

.hover-gold:hover { color: var(--gold) !important; transition: var(--transition); }

.navbar-nav .nav-link { 
    color: rgba(255, 255, 255, 0.8); 
    font-weight: 500; 
    margin: 0 10px; 
    position: relative; 
    transition: var(--transition); 
}
.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active { 
    color: var(--gold); 
}
.navbar-nav .nav-link::after { 
    content: ''; 
    position: absolute; 
    width: 0; 
    height: 2px; 
    bottom: 0; 
    left: 0; 
    background-color: var(--gold); 
    transition: var(--transition); 
}
.navbar-nav .nav-link:hover::after, 
.navbar-nav .nav-link.active::after { 
    width: 100%; 
}

/* =========================================
   MOBİL UYUMLULUK (RESPONSIVE) İYİLEŞTİRMELERİ
   ========================================= */

@media (max-width: 991px) {
    /* Mobil Menü Arka Planı ve Boşlukları */
    .navbar-collapse {
        background: var(--navy);
        padding: 1.5rem;
        border-radius: 1rem;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    .navbar-nav .nav-link {
        margin: 5px 0;
        padding-left: 10px;
    }
    
    /* Masaüstündeki geniş 100px boşlukları mobilde daraltıyoruz */
    .py-100 {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* Process Timeline'daki yatay çizgiyi mobilde gizle (kartlar alt alta indiği için) */
    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Hero Alanı: Mobilde yüksekliği ve cam kartın iç boşluğunu ayarlama */
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px 0; /* Menü altında kalmasın diye üstten boşluk */
    }
    .glass-card {
        padding: 2rem !important; /* Mobilde p-5 çok geniş kalır, p-4 seviyesine indiriyoruz */
    }

    /* Mobilde devasa görünen başlıkları daha estetik boyutlara çekme */
    .display-4 { font-size: 2.2rem; }
    .display-5 { font-size: 2rem; }
    .display-6 { font-size: 1.8rem; }
    
    /* Hakkımızda ve İletişim kısımlarındaki metin ortalama (Daha iyi UX) */
    #about .col-lg-6:first-child,
    .cta-section .container {
        text-align: center;
    }
    #about ul.custom-list {
        display: inline-block;
        text-align: left;
    }

    /* Yanyana duran Butonları mobilde alt alta ve tam genişlikte yapma */
    .glass-card .d-flex {
        flex-direction: column;
        width: 100%;
    }
    .glass-card .btn {
        width: 100%;
    }

    /* Yüzen WhatsApp butonunu mobilde biraz küçült (Ekranı çok kapatmasın) */
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}