/* ======================== GENEL AYARLAR VE DEĞİŞKENLER ======================== */
:root {
    --primary-color: #0a0a0a;
    --secondary-color: #f8f8f8;
    --text-color: #333;
    --background-color: #ffffff;
    --cta-color: #1a1a1a;
    --cta-hover-color: #333333;
    --border-color: #e0e0e0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { 
    overflow-x: hidden; 
    scroll-behavior: smooth; 
    font-size: 16px; 
}

body { 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--background-color); 
    color: var(--text-color); 
    line-height: 1.7; 
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }
h1, h2, h3, h4 { color: var(--primary-color); margin-bottom: 1rem; line-height: 1.3; font-weight: 600; }
h1 { font-size: 3.2rem; }
h2 { font-size: 2.5rem; text-align: center; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; text-align: center; margin-bottom: 0; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ======================== HEADER VE NAVİGASYON ======================== */
.main-header { background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); padding: 1rem 0; position: sticky; top: 0; z-index: 1000; transition: box-shadow 0.3s ease; }
.main-header.scrolled { box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { text-decoration: none; }
.logo-img { max-height: 65px; width: auto; vertical-align: middle; }
.main-nav ul { display: flex; list-style: none; }
.main-nav ul li { margin-left: 2.5rem; }
.main-nav ul li a { text-decoration: none; color: var(--text-color); font-weight: 400; transition: color 0.3s ease; position: relative; padding-bottom: 5px; }
.main-nav ul li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--primary-color); transition: width 0.3s ease-in-out; }
.main-nav ul li a:hover::after { width: 100%; }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-color); }

/* ======================== HERO (KARŞILAMA) BÖLÜMÜ - SLIDER ======================== */
.hero { 
    height: 90vh; 
    position: relative;
    color: #ffffff;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    padding: 0 1rem;
}
.hero-slide.active-slide { opacity: 1; }
.hero-slide::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.cta-button { display: inline-block; background-color: var(--background-color); color: var(--primary-color); padding: 1rem 2.5rem; text-decoration: none; font-weight: 600; border-radius: 8px; margin-top: 1.5rem; transition: all 0.3s ease; }
.cta-button2 { display: inline-block; background-color: var(--primary-color); color: var(--border-color); padding: 1rem 2.5rem; text-decoration: none; font-weight: 600; border-radius: 8px; margin-top: 1.5rem; transition: all 0.3s ease; }
.cta-button:hover { background-color: #2fca10; transform: translateY(-3px) !important; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.cta-button2:hover { background-color: rgb(14, 212, 14); transform: translateY(-3px) !important; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.cta-subtext { display: block; margin-top: 1rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }
.hero h1 { color: #fff; }

/* ======================== NASIL ÇALIŞIR? BÖLÜMÜ ======================== */
.how-it-works { background-color: var(--secondary-color); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; text-align: center; }
.step { background: #fff; padding: 2.5rem 1.5rem; border-radius: 8px; border: 1px solid var(--border-color); transition: all 0.3s ease-in-out; }
.step:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.step i { font-size: 3rem; color: var(--primary-color); margin-bottom: 1rem; }

/* ======================== DİĞER BÖLÜMLER (Kartlar, Markalar, Hakkımızda vb.) ======================== */

/* === DEĞİŞİKLİK 1: "Neye Dikkat Ediyoruz?" kutularının 4'lü sıralanması için minmax değeri düşürüldü === */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.card { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; text-align: left; transition: all 0.3s ease-in-out; }
.card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.card-image-container { aspect-ratio: 1 / 1; width: 100%; background-color: var(--secondary-color); display: flex; align-items: center; justify-content: center; }
.card-image-container img { width: 100%; height: 100%; object-fit: cover; }
.card-content { padding: 1.5rem; }
.card-content h3 { margin-bottom: 0.5rem; }
.card-content p { font-size: 0.95rem; color: #555; line-height: 1.6; }

.brands { background-color: var(--secondary-color); }
.brands > .container > p { text-align: center; max-width: 600px; margin-left: auto; margin-right: auto; }

/* === DEĞİŞİKLİK 2: Marka logolarını web'de daha küçük yapıp daha fazla sığdırmak için minmax değeri düşürüldü === */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 2rem; margin-top: 3rem; }
.brand-card { background-color: #fff; border-radius: 12px; padding: 1.5rem; border: 1px solid var(--border-color); transition: all 0.3s ease-in-out; text-align: center; }
.brand-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }

/* === DEĞİŞİKLİK 3: Marka isimleri (h4) kaldırıldığı için alttaki boşluk (margin-bottom) kaldırıldı === */
.brand-image-container { aspect-ratio: 1 / 1; width: 100%; background-color: #f0f0f0; border-radius: 8px; margin-bottom: 0; display: flex; align-items: center; justify-content: center; }
.brand-image-container img { width: 100%; height: 100%; object-fit: cover; }

.about-us { background-color: var(--background-color); }
.about-container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
.about-slider { position: relative; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.about-slider img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.5s ease-in-out; }
.about-slider img.active-slide { opacity: 1; }
.about-text h2 { text-align: left; }
.about-text p { color: #555; }

.faq { background-color: var(--secondary-color); }
.faq .container { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 1.2rem 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 1rem; color: #555; }

.contact { text-align: center; }
.contact-info { margin: 2rem 0; font-size: 1.1rem; }
.contact-info a { color: var(--primary-color); text-decoration: none; }

/* ======================== FOOTER ======================== */
.main-footer { background-color: var(--primary-color); color: #fff; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; }
.footer-col h4 { margin-bottom: 1.5rem; font-size: 1.2rem; color:#fff; text-align: center; }
.footer-col ul { list-style: none; text-align: center; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: #ccc; text-decoration: none; transition: color 0.3s ease; }
.footer-col ul li a:hover { color: #fff; }
.social-icons a { color: #fff; font-size: 1.8rem; margin-right: 1.5rem; text-decoration: none; transition: transform 0.3s ease; display: inline-block; }
.social-icons a:last-child { margin-right: 0; }
.social-icons a:hover { transform: scale(1.2); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #444; }
.social-icons {
    display: flex;
    justify-content: center; /* İkonları yatayda mükemmel şekilde ortalar */
    gap: 1.5rem; /* İkonlar arasına boşluk koyar (margin-right yerine) */
}
.social-icons a {
    margin-right: 0; /* Artık bu kurala ihtiyaç yok */
}
/* ================= YENİ: SAĞ SABİT SOSYAL MEDYA BARI ================= */
@keyframes heartbeat {
  0% { transform: scale(1); }
  20% { transform: scale(1.15); }
  40% { transform: scale(1); }
  60% { transform: scale(1.1); }
  80% { transform: scale(1); }
  100% { transform: scale(1); }
}

.side-social-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.side-social-bar .social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    text-decoration: none;
    margin-right: 1rem;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    animation: heartbeat 2.5s infinite ease-in-out;
}

.side-social-bar .social-icon:hover {
    transform: scale(1.15);
}

.side-social-bar .phone-icon {
    background-color: #333;
    animation-delay: 0s;
}
.side-social-bar .whatsapp-icon {
    background-color: #25D366;
    animation-delay: 0.2s;
}
.side-social-bar .instagram-icon {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    animation-delay: 0.4s;
}

/* ======================== KVKK VE ÇEREZ UYARI BANTI ======================== */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}
.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}
.cookie-content a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}
#accept-cookie-consent {
    background-color: var(--background-color);
    color: var(--primary-color);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}
#accept-cookie-consent:hover {
    background-color: #e0e0e0;
}

/* ======================== MOBİL UYUMLULUK (RESPONSIVE) ======================== */
@media (max-width: 992px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .about-container { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero { height: 80vh; }
    .hero h1 { font-size: 1.3rem; line-height: 1.3; }
    .hero p { font-size: 0.8rem; margin-bottom: 1.5rem; }
    .cta-button { padding: 0.8rem 1.8rem; font-size: 0.9rem; }

    .steps-grid { grid-template-columns: 1fr; }
    
    .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--background-color); flex-direction: column; text-align: center; border-top: 1px solid var(--border-color); padding: 1rem 0; box-shadow: 0 10px 10px rgba(0,0,0,0.05); }
    .main-nav.active { display: flex; }
    .main-nav ul { flex-direction: column; width: 100%; }
    .main-nav ul li { margin: 1rem 0; }
    .hamburger { display: block; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    
    .about-text h2 { 
        text-align: center; 
        margin-top: 2rem;
    }

    #cookie-consent-banner {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    #accept-cookie-consent {
        margin-top: 0.5rem;
        width: 100%;
    }
    
    /* === DEĞİŞİKLİK 4: Marka logolarının mobilde 3'lü sıralanması için eklendi === */
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem; /* Mobil için boşlukları biraz azaltalım */
    }

    .brand-card {
        padding: 1rem; /* Mobil için iç boşlukları biraz azaltalım */
    }

    /* Sosyal barı mobilde sağ alta al ve yatay yap */
    .side-social-bar {
        top: auto;
        bottom: 1.5rem;
        right: 1rem;
        transform: none;
        flex-direction: column;
        gap: 0.75rem;
    }

    .side-social-bar .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
        margin-right: 0;
        animation: none; /* Mobilde animasyonu durdur */
    }
}