img { content-visibility: auto; }
:root { --ata-red: #E30613; }
body { font-family: 'Inter', sans-serif; margin: 0; padding: 0; overflow-x: hidden; background-color: #fff; }

/* MASTER HEADER */
#main-header {
    position: fixed; width: 100%; top: 0; left: 0; z-index: 1000;
    height: 110px; display: flex; align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgba(0, 0, 0, 0.45); 
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
header.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    height: 80px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: none;
}

/* LOGO */
.logo-container { position: relative; display: flex; align-items: center; width: 220px; height: 100%; }
.logo-initial, .logo-scrolled { position: absolute; left: 0; transition: all 0.4s ease-in-out; image-rendering: -webkit-optimize-contrast; object-fit: contain; }
.logo-initial { height: 90px; opacity: 1; }
.logo-scrolled { height: 60px; opacity: 0; visibility: hidden; transform: translateY(10px); }
header.scrolled .logo-initial { opacity: 0; visibility: hidden; transform: translateY(-10px); }
header.scrolled .logo-scrolled { opacity: 1; visibility: visible; transform: translateY(0); }

/* NAV */
.nav-link { color: white; font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; text-shadow: 0 2px 4px rgba(0,0,0,0.4); transition: 0.3s; text-decoration: none; }
header.scrolled .nav-link { color: #333 !important; text-shadow: none !important; }
.nav-link:hover, header.scrolled .nav-link:hover { color: var(--ata-red) !important; }

/* MASTER FOOTER */
/* --- 4 SÜTUNLU MASTER FOOTER --- */
.main-footer {
    background-color: #0a0a0a;
    color: white;
    padding: 80px 0 40px 0;
    border-top: 3px solid var(--ata-red);
}

.footer-grid {
    display: grid;
    /* Sütun genişlikleri: Logo(1.5), Menü(1), Kategoriler(1), İletişim(1.5) */
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr; 
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

/* Tablet Uyumu (2'li dizilim) */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 50px; }
}

/* Mobil Uyumu (Tek sütun) */
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
}

/* Sol Sütun: Logo */
.footer-left { text-align: left; }
.footer-logo-img { height: 85px; width: auto; object-fit: contain; }
@media (max-width: 640px) { .footer-left { text-align: center; } .footer-logo-img { margin: 0 auto; } }

/* Orta Sütunlar: Menü ve Kategoriler */
.footer-column { display: flex; flex-direction: column; gap: 12px; }
.footer-link {
    color: #888; font-weight: 700; font-size: 0.68rem; text-transform: uppercase;
    letter-spacing: 0.15em; transition: 0.3s; text-decoration: none;
}
.footer-link:hover { color: white; padding-left: 5px; }

/* Sağ Sütun: İletişim */
.footer-right { text-align: right; }
@media (max-width: 640px) { .footer-right { text-align: center; } }

.footer-info-title {
    font-size: 0.75rem; color: var(--ata-red); font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 20px; display: block;
}
.footer-contact-item { color: #ccc; font-size: 0.85rem; line-height: 1.6; margin-bottom: 12px; }
.footer-contact-item i { color: var(--ata-red); margin-right: 10px; width: 15px; }

/* Alt Bar */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 40px; text-align: center; }
.footer-copyright { color: #666; font-size: 10px; text-transform: uppercase; letter-spacing: 0.4em; }
.ares-signature { color: #666; transition: 0.3s; font-weight: 900; text-decoration: none; }
.ares-signature:hover { color: var(--ata-red); }

/* WHATSAPP */
.wp-float { position: fixed; bottom: 30px; right: 30px; background: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); z-index: 1000; text-decoration: none; transition: 0.3s; }
.wp-float:hover { transform: scale(1.1) rotate(10deg); }