/* Layout Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { margin: 0 !important; padding: 0 !important; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background: #f8f9fa; margin: 0 !important; padding: 0 !important; }

/* Top Bar */
.top-bar { background: #0a1628; color: #fff; padding: 0.5rem 0; font-size: 0.875rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin: 0; }
.top-bar-content { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 1.5rem; align-items: center; }
.top-bar-left a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 0.3rem; transition: color 0.2s; }
.top-bar-left a:hover { color: #ffd700; }
.top-bar-right { display: flex; gap: 1rem; align-items: center; }

/* Social Icons */
.social-icons { display: flex; gap: 0.5rem; }
.social-icons a { color: #fff; font-size: 1.1rem; transition: color 0.2s; }
.social-icons a:hover { color: #ffd700; }

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-current { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; padding: 0.3rem 0.8rem; border-radius: 4px; background: rgba(255,255,255,0.1); transition: all 0.2s; }
.lang-current:hover { background: rgba(255,255,255,0.2); }
.lang-current img { width: 20px; height: 14px; border-radius: 2px; }
.lang-dropdown { position: absolute; top: 100%; right: 0; background: #fff; min-width: 150px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); border-radius: 8px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s; margin-top: 0.5rem; z-index: 1000; }
.lang-switcher:hover .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a { display: flex; align-items: center; gap: 0.8rem; padding: 0.75rem 1rem; color: #333; text-decoration: none; transition: all 0.2s; }
.lang-dropdown a:hover { background: #f8f9fa; }
.lang-dropdown a img { width: 24px; height: 16px; border-radius: 2px; }
.lang-dropdown a.active { background: #0a1628; color: #fff; }

/* Top bar dil seçici — masaüstü */
.top-bar-right .lang-switcher { display: flex; }
/* Nav içindeki dil seçici — sadece mobilde görünür */
.nav .lang-switcher { display: none; }

/* Header */
.header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 999; }
.header-content { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.8rem; font-weight: bold; color: #0a1628; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.logo img { height: 50px; }

/* Navigation */
.nav { display: flex; gap: 0.5rem; align-items: center; }
.nav-item { position: relative; }
.nav-link { color: #333; text-decoration: none; padding: 0.75rem 1.25rem; display: block; font-weight: 500; transition: all 0.3s; border-radius: 6px; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: 4px; left: 1.25rem; right: 1.25rem; height: 2px; background: #0f3460; border-radius: 2px; transform: scaleX(0); transition: transform 0.25s ease; }
.nav-link:hover { background: #f0f4f8; color: #0a1628; }
.nav-link:hover::after { transform: scaleX(1); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: #fff; min-width: 220px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); border-radius: 8px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s; margin-top: 0.5rem; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item { padding: 0.75rem 1.25rem; color: #333; text-decoration: none; display: block; transition: all 0.2s; }
.dropdown-item:hover { background: #f0f4f8; color: #0a1628; }
.dropdown-arrow { font-size: 0.7rem; margin-left: 0.3rem; }

/* Buttons */
.btn-primary { background: #0a1628; color: white; padding: 0.75rem 1.5rem; border-radius: 6px; text-decoration: none; font-weight: 500; transition: all 0.3s; display: inline-block; }
.btn-primary:hover { background: #1a2638; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(10,22,40,0.3); }

/* Container */
.container { max-width: 1200px; margin: 0 auto !important; padding: 0 2rem; }
.content { background: white; padding: 1.5rem 2rem; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-top: 1.5rem; }
.content h1 { color: #0a1628; margin-bottom: 0.75rem; font-size: 2.5rem; }
.content p { margin-bottom: 1rem; color: #555; }

/* Footer */
.footer { background: #0d1b2a; color: #fff; padding: 4rem 0 0; margin-top: 0; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem 3rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 3rem; }

.footer-logo { max-width: 140px; margin-bottom: 1.2rem; filter: brightness(0) invert(1); display: block; }
.footer-brand-name { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.04em; color: #fff; margin-bottom: 1rem; }
.footer-desc { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.75; margin-bottom: 1.5rem; }

.footer-col-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1.2rem; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

.footer-contact-list { list-style: none; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.85rem; color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.5; }
.footer-contact-list svg { flex-shrink: 0; margin-top: 2px; opacity: 0.5; }
.footer-contact-list a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-contact-list a:hover { color: #fff; }

/* Footer Social */
.footer-social { display: flex; gap: 0.5rem; }
.footer-social-link { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: all 0.2s; }
.footer-social-link:hover { border-color: rgba(255,255,255,0.4); color: #fff; background: rgba(255,255,255,0.06); }

/* Footer Bottom */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 1.1rem 2rem; max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-credit { color: rgba(255,255,255,0.3); }
.footer-credit a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-credit a:hover { color: #fff; }

@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.4rem; text-align: center; }
}
@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; }
}

/* Mobile Header Right (lang + hamburger) */
.mobile-header-right { display: none; align-items: center; gap: 0.5rem; }
.mobile-lang-switcher { position: relative; display: flex; align-items: center; gap: 0.35rem; cursor: pointer; padding: 0.3rem 0.6rem; border-radius: 6px; border: 1px solid #e0e0e0; font-size: 0.82rem; font-weight: 600; color: #0a1628; background: #f8f9fa; z-index: 9999; }
.mobile-lang-dropdown { display: none; position: absolute; top: calc(100% + 6px); right: 0; background: #fff; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); min-width: 140px; z-index: 9999; overflow: hidden; }
.mobile-lang-dropdown.open { display: block; }
.mobile-lang-dropdown a { display: flex; align-items: center; gap: 0.6rem; padding: 0.65rem 1rem; color: #333; text-decoration: none; font-size: 0.88rem; border-bottom: 1px solid #f0f0f0; }
.mobile-lang-dropdown a:last-child { border-bottom: none; }
.mobile-lang-dropdown a:hover { background: #f8f9fa; }
.mobile-lang-dropdown a.active { background: #0a1628; color: #fff; }

/* Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: #333; padding: 0.25rem 0.5rem; line-height: 1; }

@media (max-width: 768px) {
    .top-bar { display: none; }
    .header-content { height: 60px; padding: 0 1rem; }
    .logo img { height: 36px; }
    .logo { font-size: 1.2rem; }
    .mobile-header-right { display: flex; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }

    /* Nav panel */
    .nav {
        display: none;
        position: fixed;
        top: 60px; left: 0; right: 0; bottom: 0;
        background: #fff;
        flex-direction: column;
        overflow-y: auto;
        z-index: 998;
        padding: 0.5rem 0 2rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        align-items: stretch;
        gap: 0;
    }
    .nav.active { display: flex; }

    .nav-item { border-bottom: 1px solid #f0f0f0; }
    .nav-link { padding: 1rem 1.5rem; font-size: 1rem; font-weight: 600; color: #0a1628; display: block; }
    .nav-link:hover { background: #f8f9fa; }
    .dropdown-arrow { float: right; font-size: 0.75rem; margin-top: 3px; }
    .mobile-order-item { display: block !important; }

    /* Dropdown — mobilde gizli, tıkla aç */
    .dropdown-menu {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none; margin: 0;
        background: #f8f9fa;
        display: none;
        border-radius: 0;
    }
    .dropdown-menu.open { display: block; }
    .dropdown-item { padding: 0.75rem 2rem; font-size: 0.92rem; color: #444; border-bottom: 1px solid #ececec; }
    .dropdown-item:last-child { border-bottom: none; }

    /* Dil seçici mobilde nav içinde görünür */
    .nav .lang-switcher { display: block; padding: 0; }
    .nav .lang-switcher .lang-current { background: none; padding: 1rem 1.5rem; gap: 0.5rem; border-radius: 0; }
    .nav .lang-switcher .lang-current img { width: 22px; height: 15px; }
    .nav .lang-switcher .lang-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin: 0; display: none; border: none; border-radius: 0; background: #f8f9fa; }
    .nav .lang-switcher .lang-dropdown.open { display: block; }
    .nav .lang-switcher .lang-dropdown a { padding: 0.65rem 2rem; font-size: 0.9rem; border-bottom: 1px solid #ececec; }
    .top-bar-right .lang-switcher { display: none; }

    /* Footer mobil */
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 0 1rem 2rem; }
    .footer-bottom { padding: 1rem; font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
    .header-content { padding: 0 0.75rem; }
}
