* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; 
    line-height: 1.6; 
    color: #1f2937; 
    overflow-x: hidden;
}

/* Clean Minimal Navbar */
.navbar { 
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: none;
    padding: 0.1rem 0; 
    position: fixed; 
    top: 0; 
    width: 100%;
    z-index: 1000; 
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    min-height: 60px;
}

.navbar-brand { 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: #1a1a1a !important;
    text-decoration: none;
    letter-spacing: -0.02em;
    position: relative;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    height: 60px;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.navbar-brand:hover {
    color: #FDB912 !important;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link { 
    color: #1a1a1a !important; 
    font-weight: 500; 
    margin: 0 0.5rem; 
    padding: 0.5rem 0.8rem !important; 
    position: relative;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
}

.navbar-nav .nav-link:hover { 
    color: #FDB912 !important; 
    background: rgba(253, 185, 18, 0.08);
}

.navbar-nav .nav-link.active { 
    color: #FDB912 !important; 
    font-weight: 600;
    background: rgba(253, 185, 18, 0.1);
}
.profile-dropdown .nav-link,
.profile-dropdown .nav-link:focus,
.profile-dropdown .nav-link:active {
    color: #1f2937 !important;
    background: transparent !important;
}
.profile-dropdown .nav-link:hover {
    color: #1f2937 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.order-cta {
    background: transparent !important;
    color: #1a1a1a !important;
    border: 1.5px solid #FDB912 !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 0 !important;
    margin-left: 1rem;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(10px);
}

.order-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #FDB912 0%, #FDB912 100%);
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.order-cta:hover {
    color: #1a1a1a !important;
    border-color: #FDB912 !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(253, 185, 18, 0.2);
}

.order-cta:hover::before {
    width: 100%;
}

.order-cta:active {
    transform: translateY(0);
}

/* Subtle floating animation */
@keyframes float-elegant {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-1px); }
}

.order-cta {
    animation: float-elegant 4s ease-in-out infinite;
}

.language-selector {
    margin-left: 1rem;
}

.dropdown-toggle {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.03);
    color: #1a1a1a !important;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.dropdown-toggle:hover {
    background: rgba(253, 185, 18, 0.08);
    border-color: rgba(253, 185, 18, 0.2);
    color: #FDB912 !important;
}

/* Navbar scrolled state */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Profile Dropdown Styles */
.profile-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    min-width: 120px;
    border-radius: 50px; /* Yuvarlak buton için */
    background: #FDB912 !important; /* Buton arka plan rengi */
    color: #fff !important; /* Buton metin rengi */
    border: none !important;
    box-shadow: 0 4px 15px rgba(253, 185, 18, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}
.profile-dropdown .dropdown-toggle:hover {
    background: #F4A100 !important; /* Hover arka plan rengi */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 185, 18, 0.4);
}
.profile-dropdown .dropdown-toggle i {
    font-size: 1.1rem;
}
.profile-dropdown .dropdown-menu {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-width: 200px;
}
.profile-dropdown .dropdown-item {
    padding: 0.8rem 1.2rem;
    color: #1f2937;
    font-weight: 500;
    transition: all 0.2s ease;
}
.profile-dropdown .dropdown-item:hover {
    background: rgba(253, 185, 18, 0.1);
    color: #FDB912;
}
.profile-dropdown .dropdown-item.email-display {
    font-weight: 700;
    color: #FDB912;
    background: rgba(253, 185, 18, 0.05);
    border-bottom: 1px solid rgba(253, 185, 18, 0.1);
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.profile-dropdown .dropdown-item.email-display:hover {
    background: rgba(253, 185, 18, 0.08);
}
.profile-dropdown .dropdown-item.logout-link {
    color: #dc3545;
    font-weight: 600;
}
.profile-dropdown .dropdown-item.logout-link:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #c82333;
}

/* Sepet Dropdown */
.cart-dropdown {
    position: relative;
}

.cart-toggle {
    position: relative;
    color: #1a1a1a !important;
    padding: 0.5rem 0.8rem !important;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cart-toggle:hover {
    background: rgba(253, 185, 18, 0.08) !important;
    color: #FDB912 !important;
}

.cart-badge {
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    background: #FDB912;
    color: #1f2937;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
}

.cart-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    min-width: 380px;
    max-width: 380px;
    background: #ffffff;
    border: 2px solid rgba(253, 185, 18, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
}

.cart-dropdown:hover .cart-dropdown-menu,
.cart-dropdown-menu:hover,
.cart-dropdown.cart-hover-active .cart-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-dropdown-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(253, 185, 18, 0.05);
    border-radius: 12px 12px 0 0;
}

.cart-dropdown-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.cart-dropdown-items {
    padding: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
    flex: 1;
}

.cart-dropdown-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(253, 185, 18, 0.05);
    border: 1px solid rgba(253, 185, 18, 0.2);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-dropdown-item:last-child {
    margin-bottom: 0;
}

.cart-dropdown-item-info {
    flex: 1;
}

.cart-dropdown-item-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.cart-dropdown-item-details {
    font-size: 0.75rem;
    color: #6b7280;
}

.cart-dropdown-item-price {
    font-weight: 700;
    color: #FDB912;
    font-size: 0.95rem;
}

.cart-empty {
    color: #6b7280;
}

.cart-empty i {
    opacity: 0.3;
}

.cart-dropdown-footer {
    padding: 1rem 1.25rem;
    border-top: 2px solid rgba(253, 185, 18, 0.2);
    background: rgba(253, 185, 18, 0.03);
    border-radius: 0 0 12px 12px;
}

.cart-dropdown-footer .btn-primary {
    background: #FDB912;
    border: 1px solid #FDB912;
    color: #1f2937;
    font-weight: 600;
    padding: 0.75rem;
}

.cart-dropdown-footer .btn-primary:hover {
    background: #F4A100;
    border-color: #F4A100;
    color: #1f2937;
}

@media (max-width: 768px) {
    .cart-dropdown-menu {
        min-width: 320px;
        max-width: 320px;
        right: -50px;
    }
}

/* Cart Delete Button */
.cart-delete-btn {
    transition: all 0.2s ease;
}

.cart-delete-btn:hover {
    background: #ef4444 !important;
    color: white !important;
    border-color: #ef4444 !important;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #fff;
    padding: 4rem 0 2rem;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
    opacity: 0.05;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}
.footer-section h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FDB912;
}
.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.7;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.footer-section a:hover {
    color: #FDB912;
    transform: translateX(5px);
}
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.social-link {
    width: 50px;
    height: 50px;
    background: rgba(253, 185, 18, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FDB912;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.social-link i { color: inherit; transition: color 0.3s ease; }
.social-link:hover {
    background: #FDB912;
    transform: translateY(-5px);
    color: #fff;
    border-color: #FDB912;
    box-shadow: 0 8px 25px rgba(253, 185, 18, 0.3);
}
.social-link:hover i { color: #fff; }
.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 2px solid rgba(253, 185, 18, 0.2);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-nav { flex-direction: row; flex-wrap: wrap; }
    .navbar-nav .nav-link { font-size: 0.95rem; padding: 0.6rem 1rem !important; margin: 0.2rem; }
}

/* Scrollbar Styling */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(135deg, #FDB912 0%, #F4A100 100%); 
    border-radius: 10px; 
}
::-webkit-scrollbar-thumb:hover { 
    background: linear-gradient(135deg, #F4A100 0%, #FDB912 100%); 
}

/* Profile Page Specific Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 2rem;
}

.card-modern {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card-modern:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.nav-tabs {
    border-bottom: 2px solid #FDB912;
}

.nav-tabs .nav-link {
    color: #6b7280;
    font-weight: 500;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #FDB912;
    border-color: transparent;
}

.nav-tabs .nav-link.active {
    color: #FDB912;
    font-weight: 700;
    border-color: #FDB912;
    background: transparent;
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #FDB912;
    box-shadow: 0 0 0 3px rgba(253, 185, 18, 0.1);
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, #FDB912 0%, #F4A100 100%) !important;
    border: none !important;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(253, 185, 18, 0.2);
    color: #fff !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #F4A100 0%, #FDB912 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 185, 18, 0.3);
    color: #fff !important;
}

.btn-primary:focus, .btn-primary:active {
    background: linear-gradient(135deg, #FDB912 0%, #F4A100 100%) !important;
    box-shadow: 0 0 0 3px rgba(253, 185, 18, 0.3) !important;
    color: #fff !important;
}

.btn-secondary {
    background: #6b7280;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #fff;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-left: 4px solid #10b981;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-left: 4px solid #ef4444;
}

.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, #FDB912 0%, #F4A100 100%);
    color: #fff;
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background: rgba(253, 185, 18, 0.05);
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* --------------------------------------------------
   Mobil Menü Tasarımı
-------------------------------------------------- */
body.mobile-menu-open {
    overflow: hidden;
    touch-action: none;
}

.mobile-menu,
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 991px) {
    .desktop-menu {
        display: none !important;
    }

    /* Mobilde hesap alanı: ikon + ekranda dropdown panel */
    .navbar .navbar-nav.actions .profile-dropdown:not(:first-of-type) {
        display: none !important;
    }
    .profile-dropdown .account-text {
        display: none !important;
    }
    .profile-dropdown .account-toggle {
        width: 42px;
        height: 42px;
        min-width: 42px;
        padding: 0 !important;
        border-radius: 12px !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: #FDB912 !important;
        color: #fff !important;
        box-shadow: 0 8px 20px rgba(253, 185, 18, 0.35);
    }
    .profile-dropdown .account-toggle i {
        font-size: 1.1rem;
        margin: 0 !important;
    }
    .profile-dropdown .dropdown-menu {
        position: fixed !important;
        top: 68px !important;
        right: 12px !important;
        left: auto !important;
        transform: none !important;
        margin: 0 !important;
        min-width: 250px !important;
        max-width: calc(100vw - 24px) !important;
        border-radius: 14px !important;
        border: 1px solid #e5e7eb !important;
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18) !important;
        z-index: 1300 !important;
    }
    .profile-dropdown .dropdown-menu .dropdown-item {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }

    .mobile-menu-toggle {
        display: flex;
        width: 46px;
        height: 46px;
        border-radius: 14px;
        border: 1px solid rgba(15, 23, 42, 0.08);
        background: #fff;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    }

    .mobile-menu-toggle span {
        width: 18px;
        height: 2px;
        background: #1f2937;
        display: block;
        border-radius: 999px;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.open span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.open span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }

    .mobile-menu {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 1200;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .mobile-menu.open {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-panel {
        position: absolute;
        top: 0;
        right: 0;
        width: min(90vw, 360px);
        height: 100%;
        background: #ffffff;
        color: #111827;
        padding: 2rem 1.5rem;
        box-shadow: -10px 0 30px rgba(15, 23, 42, 0.25);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        border-radius: 24px 0 0 24px;
    }

    .mobile-menu.open .mobile-menu-panel {
        transform: translateX(0);
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 1rem;
        margin-bottom: 0.5rem;
    }

    .mobile-menu-title {
        font-size: 1.05rem;
        font-weight: 700;
        margin: 0;
        color: #111827;
    }

    .mobile-menu-header small {
        color: #6b7280;
        font-size: 0.85rem;
    }

    .mobile-menu-close {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        background: #fff;
        color: #111827;
        font-size: 1.4rem;
        line-height: 0;
    }

    .mobile-user-card {
        display: flex;
        align-items: center;
        gap: 0.9rem;
        padding: 0.9rem 1.1rem;
        border-radius: 16px;
        background: #f9fafb;
        border: 1px solid #e5e7eb;
    }

    .mobile-user-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        background: rgba(253, 185, 18, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        color: #b45309;
    }

    .mobile-user-info strong {
        display: block;
        color: #111827;
        font-size: 1rem;
    }

    .mobile-user-info small {
        color: #6b7280;
        font-size: 0.85rem;
    }

    .mobile-user-logout,
    .mobile-menu-login {
        margin-left: auto;
        font-weight: 600;
        color: #ea580c;
        text-decoration: none;
    }

    .mobile-menu-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
    }

    .mobile-menu-links li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.9rem 1rem;
        border-radius: 14px;
        text-decoration: none;
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        color: #111827;
        font-weight: 600;
        transition: all 0.2s ease;
    }

    .mobile-menu-links li a i {
        color: #9ca3af;
        transition: transform 0.25s ease, color 0.25s ease;
    }

    .mobile-menu-links li a:hover {
        transform: translateX(4px);
        border-color: #fcd34d;
        background: #fff9ec;
        color: #b45309;
    }

    .mobile-menu-links li a:hover i,
    .mobile-menu-links li a.active i {
        color: #f97316;
        transform: translateX(3px);
    }

    .mobile-menu-links li a.active {
        border-color: #fdba74;
        background: #fff7ed;
        color: #c2410c;
    }

    .mobile-menu-actions {
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
        margin-top: 0.5rem;
    }

    .mobile-menu-primary,
    .mobile-menu-secondary {
        display: block;
        text-align: center;
        padding: 0.95rem 1rem;
        border-radius: 14px;
        font-weight: 700;
    }

    .mobile-menu-primary {
        background: linear-gradient(120deg, #fed7aa 0%, #f97316 100%);
        color: #7c2d12;
        border: 1px solid #fdba74;
        box-shadow: 0 10px 22px rgba(249, 115, 22, 0.2);
    }

    .mobile-menu-secondary {
        border: 1px solid #e5e7eb;
        color: #111827;
        background: #fff;
    }

    .mobile-language ul {
        list-style: none;
        padding: 0;
        margin: 1rem 0 0;
        display: flex;
        gap: 0.5rem;
    }

    .mobile-language li a {
        border-radius: 999px !important;
        border: 1px solid #e5e7eb;
        color: #111827 !important;
        padding: 0.35rem 0.85rem !important;
        font-weight: 600;
        font-size: 0.85rem;
    }
}
