/* static/css/menu.css - Menü Sayfası Stilleri */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c0392b;
    --primary-dark: #a93226;
    --primary-light: #e74c3c;
    --secondary-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-warm: #fff5eb;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-warm);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 245, 235, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 45px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.admin-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    transition: var(--transition) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.admin-btn::after {
    display: none;
}

.language-selector {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--primary-light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.lang-btn:hover:not(.active) {
    background: rgba(192, 57, 43, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Menu Section */
.menu-section {
    padding: 30px 0 1rem;
    min-height: 30vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* MENU HEADER - KIRMIZI ARKA PLAN YOK */
.menu-header {
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.menu-header h1 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: wheat;
    margin-bottom: 0.5rem;
}

.menu-header h1 i {
    margin-right: 10px;
}

.menu-header p {
    color: wheat;
    font-size: 1rem;
    margin-bottom: 0;
}

.menu-header p i {
    margin: 0 5px;
}

/* Kategori Filtreleri */
.menu-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 0;
}

.category-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: var(--bg-white);
    border: 1px solid #e2d5c8;
    border-radius: 100px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.category-filter i {
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.category-filter:hover {
    border-color: var(--primary-color);
    background: rgba(192, 57, 43, 0.05);
}

.category-filter.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.category-filter.active i {
    color: white;
}

/* Ürün Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

/* Ürün Kartı - Yatay Tasarım */
.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: row;
    border: 1px solid #f0e8e0;
    cursor: pointer;
    min-height: 140px;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.product-image {
    position: relative;
    width: 110px;
    min-width: 110px;
    overflow: hidden;
    background: #f8f3ed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3ede7;
}

.image-placeholder i {
    font-size: 2rem;
    color: var(--primary-color);
}

.product-content {
    padding: 1rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-white);
}

.product-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
}

.product-description {
    font-size: 0.7rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Varyant Selector */
.product-variants {
    margin: 0.25rem 0;
}

.variant-selector {
    width: auto;
    max-width: 140px;
    padding: 0.35rem 0.7rem;
    border: 1px solid #e8dfd3;
    border-radius: 40px;
    background: var(--bg-warm);
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    color: var(--text-dark);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.variant-selector:hover,
.variant-selector:focus {
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.product-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 0.5rem;
    padding-top: 0.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.product-price i {
    font-size: 0.8rem;
}

.product-price small {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.footer-section h3 i,
.footer-section h4 i {
    margin-right: 8px;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* FOOTER SOSYAL LİNKLER */
.footer .social-links-footer {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.footer .social-icon-footer {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .social-icon-footer i {
    font-size: 1.3rem;
    color: white;
}

.footer .social-icon-footer.instagram {
    background: #d62976;
}

.footer .social-icon-footer.facebook {
    background: #1877f2;
}

.footer .social-icon-footer.twitter {
    background: #000000;
}

.footer .social-icon-footer:hover {
    transform: translateY(-3px) scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-white);
    margin: 8% auto;
    width: 90%;
    max-width: 450px;
    border-radius: var(--radius-lg);
    animation: slideUp 0.4s ease;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 2rem;
    text-align: center;
    position: relative;
}

.modal-header i {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
}

.modal-header h2 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.modal-header p {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.close:hover {
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.demo-hint {
    background: #fef3e8;
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    text-align: center;
    border: 1px dashed var(--primary-light);
}

.demo-hint span {
    font-family: monospace;
    background: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group label i {
    margin-right: 8px;
    color: var(--primary-color);
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #f0e0d0;
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary-custom i {
    font-size: 1rem;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.message {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.85rem;
}

.message.success {
    background: #d4edda;
    color: #155724;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.loading-spinner i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .language-selector {
        margin-left: auto;
        margin-right: 1rem;
    }
    
    .menu-header {
        margin-bottom: 1.5rem;
    }
    
    .menu-header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.25rem;
    }
    
    .menu-header p {
        font-size: 0.85rem;
    }
    
    .menu-categories {
        margin-bottom: 1.5rem;
        gap: 0.6rem;
    }
    
    .category-filter {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
        flex-shrink: 0;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 420px;
        margin: 0 auto;
    }
    
    .product-card {
        min-height: 130px;
    }
    
    .product-image {
        width: 100px;
        min-width: 100px;
    }
    
    .product-content {
        padding: 0.9rem 1rem;
    }
    
    .product-name {
        font-size: 0.95rem;
    }
    
    .product-description {
        font-size: 0.65rem;
    }
    
    .variant-selector {
        max-width: 120px;
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
    }
    
    .modal-content {
        margin: 15% auto;
        width: 92%;
    }
    
    .footer .social-links-footer {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .menu-header h1 {
        font-size: 1.5rem;
    }
    
    .product-card {
        min-height: 120px;
    }
    
    .product-image {
        width: 85px;
        min-width: 85px;
    }
    
    .product-content {
        padding: 0.7rem 0.8rem;
    }
    
    .product-name {
        font-size: 0.85rem;
    }
    
    .product-description {
        font-size: 0.6rem;
        -webkit-line-clamp: 1;
    }
    
    .product-price {
        font-size: 0.9rem;
        margin-top: 0.25rem;
    }
    
    .variant-selector {
        max-width: 100px;
        font-size: 0.6rem;
    }
    
    .category-filter {
        padding: 0.4rem 1rem;
        font-size: 0.7rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer .social-links-footer {
        justify-content: center;
    }
}