/* Retro Tema - CSS */

/* Genel Stil */
body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

.retro-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(var(--accent-color) 10%, transparent 10%),
        radial-gradient(var(--accent-color) 10%, transparent 10%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.1;
    z-index: -1;
}

/* Header */
.header {
    padding: 40px 0;
    margin-bottom: 20px;
    position: relative;
}

.restaurant-logo {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--light-color);
    font-size: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.restaurant-name {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 0 var(--secondary-color);
}

.menu-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 600px;
}

.menu-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0 15px;
    color: var(--primary-color);
    font-weight: 400;
}

.line {
    height: 2px;
    background-color: var(--secondary-color);
    flex-grow: 1;
}

/* Menü Konteyneri */
.menu-container {
    padding: 20px 0;
}

/* Kategori Stili */
.category-navigation {
    margin-bottom: 30px;
}

.nav-pills .nav-link {
    color: var(--text-color);
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    margin: 0 5px;
    border-radius: 0;
    padding: 8px 16px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-pills .nav-link:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

.category-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.category-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.category-desc {
    font-style: italic;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto 15px;
}

.retro-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.retro-divider:before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.divider-ornament {
    display: inline-block;
    position: relative;
    z-index: 2;
    background-color: var(--light-color);
    padding: 0 15px;
}

.divider-ornament i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Menü Öğeleri */
.menu-item {
    background-color: #fff;
    border: 1px solid var(--secondary-color);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
    position: relative;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.menu-item-inner {
    padding: 15px;
    position: relative;
}

.menu-image {
    margin-bottom: 15px;
    overflow: hidden;
    border: 2px solid var(--secondary-color);
    padding: 5px;
    background-color: white;
    box-shadow: 3px 3px 0 var(--secondary-color);
}

.menu-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.menu-item:hover .menu-image img {
    transform: scale(1.05);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px dashed var(--secondary-color);
    padding-bottom: 10px;
}

.menu-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
    color: var(--primary-color);
}

.menu-price {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 5px 10px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 4px;
}

.menu-description {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-color);
}

/* Footer */
.footer {
    padding: 30px 0;
    margin-top: 30px;
    border-top: 2px solid var(--secondary-color);
    background-color: white;
}

.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.footer-stamp {
    display: inline-block;
    border: 1px solid var(--primary-color);
    padding: 5px 15px;
    margin: 10px 0;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--dark-color);
}

.footer-copyright {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-design {
    font-size: 0.8rem;
    font-style: italic;
    color: #777;
}

/* Mobil Sabit Menü ve Kategori Paneli */
.mobile-fixed-menu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
    padding: 10px 0;
}

.mobile-menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-fixed-menu button {
    background: none;
    border: none;
    color: var(--light-color);
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
    width: 100%;
    max-width: 200px;
}

.mobile-fixed-menu button i {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.mobile-fixed-menu .menu-toggle {
    background-color: var(--primary-color);
    border-radius: 8px;
}

.mobile-category-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: var(--light-color);
    height: 70vh;
    z-index: 100;
    transition: bottom 0.3s ease-in-out;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    font-family: 'Playfair Display', serif;
}

.mobile-category-panel.active {
    bottom: 0;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
}

.panel-header h3 {
    margin: 0;
    color: var(--light-color);
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.close-panel {
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 1.2rem;
    padding: 5px;
    cursor: pointer;
}

.panel-body {
    padding: 15px;
    background-color: var(--light-color);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: block;
    padding: 12px 15px;
    background-color: #fff;
    border: 1px solid var(--secondary-color);
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
    font-family: 'Playfair Display', serif;
}

.category-list a:after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 0.8rem;
}

.category-list a.active {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

.panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
    display: none;
}

.panel-overlay.active {
    display: block;
}

/* Mobil cihazlar için düzenlemeler */
@media (max-width: 767.98px) {
    .mobile-fixed-menu {
        display: block;
    }
    
    body {
        padding-bottom: 60px;
    }
    
    /* Masaüstü menüsünü gizle */
    .category-navigation {
        display: none !important;
    }
    
    /* Mobil cihazlar için görünüm ayarlamaları */
    .restaurant-name {
        font-size: 2.2rem;
    }
    
    .menu-title {
        font-size: 1.4rem;
    }
    
    .category-name {
        font-size: 1.8rem;
    }
    
    .menu-item {
        margin-bottom: 15px;
    }
    
    .menu-header {
        flex-direction: column;
        text-align: center;
    }
    
    .menu-title {
        margin-bottom: 10px;
    }
    
    .menu-price {
        align-self: center;
    }
}

/* Tablet için düzenlemeler */
@media (min-width: 768px) and (max-width: 991.98px) {
    .restaurant-name {
        font-size: 2.5rem;
    }
    
    .category-name {
        font-size: 2rem;
    }
}
