/*
Theme Name: Esnek Oto
Theme URI: https://esnekoto.com
Author: Polat Design
Description: Modern landing page — orjinal yedek parça, uygun fiyat, aynı gün kargo.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: esnek-oto
*/

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: 'Work Sans', sans-serif;
    background-color: #080F23;
    color: #FFFFFF;
    overflow-x: hidden;
}

html { scroll-behavior: smooth; }

img { max-width: 100%; display: block; }

a { text-decoration: none; }

/* ══════════════ LOGO CARDS ══════════════ */
.logo-card {
    position: relative;
    overflow: hidden;
}

.logo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-card:hover::before {
    opacity: 1;
}

.logo-card img {
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.logo-card:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255,255,255,0.4));
}

/* ══════════════ CTA GLOW ══════════════ */
.cta-glow {
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.3), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-glow:hover {
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.5), 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* ══════════════ FAQ ══════════════ */
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-body {
    max-height: 500px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

/* ══════════════ REVEAL ANIMATION ══════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════ FEATURE CARDS ══════════════ */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 640px) {
    .logo-card {
        padding: 1rem;
    }
    
    .logo-card img {
        max-height: 2rem;
    }
}
