/* ========================================================================== */
/* 1. GENEL AYARLAR & RESET */
/* ========================================================================== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f7fb;
    color: #1e293b;
    line-height: 1.7;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ========================================================================== */
/* 2. NAVBAR (NAVİGASYON) */
/* ========================================================================== */
.navbar {
    width: 100%;
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #d4d43c;
    font-size: 28px;
    font-weight: 800;
}

/* DÜZELTME: Logodaki a etiketi için renk ve çizgi sıfırlaması eklendi */
.logo a {
    text-decoration: none;
    color: inherit;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #d4d43c;
}

.menu-toggle {
    display: none; 
    color: white;
    font-size: 32px;
    cursor: pointer;
    user-select: none;
}

/* ========================================================================== */
/* 3. HERO & BUTTON */
/* ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                url("https://images.unsplash.com/photo-1565043589221-1a6fd9ae45c7?q=80&w=1600");
    background-size: cover;
    background-position: center;
    color: white;
}

.hero h1 {
    font-size: clamp(32px, 7vw, 78px);
    margin-bottom: 25px;
    font-weight: 800;
}

.hero p {
    max-width: 850px;
    margin: 0 auto 35px;
    font-size: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: #d4d43c;
    color: #000;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-5px);
    background: #fff;
}

/* ========================================================================== */
/* 4. SECTIONS, GRIDS & SLIDER */
/* ========================================================================== */
.section { padding: 100px 0; }
.center { text-align: center; }

h2 {
    font-size: 42px;
    margin-bottom: 30px;
    color: #0f172a;
    font-weight: 800;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* DÜZELTME: Mobilde resmin taşmaması için max-width eklendi */
.about-box img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 24px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.4s;
}

.card:hover { transform: translateY(-10px); }

.slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

#slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.product-slide {
    min-width: 100%;
    flex-shrink: 0;
}

/* Animasyon Hazırlığı */
section {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================================================== */
/* 5. FOOTER & HARİTA */
/* ========================================================================== */

/* DÜZELTME: Haritanın taşmasını önlemek ve iframe'i responsive yapmak için eklendi */
.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 15px;
}

/* SİYAH TAM BOY FOOTER */
.black-footer {
    background-color: #000000;
    color: #ffffff;
    width: 100%;
    padding: 60px 0 0 0; /* Copyright ile birleşmesi için alt boşluk 0 yapıldı */
    text-align: center;
    position: relative;
    clear: both;
    display: block;
    margin-top: auto; /* Sayfa içeriği azsa footer'ı aşağı iter */
}

.footer-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

/* DÜZELTME: Siyah footer içindeki h2 rengi için stil zorunlu kılındı */
.black-footer h2 {
    color: #d4d43c; 
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-items p {
    font-size: 18px;
    margin: 10px 0;
    color: hsl(0, 0%, 99%);
}

.footer-copyright {
    background-color: #000;
    color: #777; /* Telif yazısı daha sönük olması için grileştirildi */
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #222; /* İçerikle telif arasını ayırmak için çizgi */
}

/* ========================================================================== */
/* 6. WHATSAPP & LOADER */
/* ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    right: 25px;
    bottom: 25px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    text-decoration: none; /* Alt çizgi hatası giderildi */
}

#loader {
    position: fixed;
    top:0; left:0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* DÜZELTME: Eksik olan spinner animasyonu eklendi */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #d4d43c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================================================== */
/* 7. MOBİL UYUMLULUK */
/* ========================================================================== */

@media (max-width: 768px) {
    .menu-toggle {
        display: block !important; 
        position: relative;
        z-index: 10001; 
    }

    .nav-links {
        display: none; 
        flex-direction: column;
        position: fixed; 
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; 
        background: rgba(0, 0, 0, 0.98);
        padding-top: 100px; 
        text-align: center;
        gap: 30px;
        z-index: 10000;
        overflow-y: auto;
    }

    /* DÜZELTME: JS aktif olduğunda menünün görünmesi sağlandı */
    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        font-size: 24px;
        display: block;
        padding: 10px;
    }

    .about-grid {
        grid-template-columns: 1fr; /* Mobilde iki sütun sığmaz, tek sütuna çekildi */
        text-align: center;
        gap: 30px;
    }

    .navbar {
        z-index: 10002;
    }
}