/* Reset ve genel stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #181818 url('../img/bg-food.jpg') top center no-repeat;
    background-size: cover;
    min-height: 100vh;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(24,24,24,0.60);
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    background: rgba(24,24,24,0.95);
    box-shadow: 0 2px 8px #0002;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.7rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 1.08rem;
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
}

nav a:hover {
    color: #ffb300;
    background: rgba(255,255,255,0.07);
}

/* Home button icon */
.home-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.home-btn i {
    font-size: 1.2rem;
}

/* Dropdown menu */
.dropdown { position: relative; }
.dropdown > a::after {
    content: '▼';
    font-size: 0.7em;
    margin-left: 0.5rem;
    display: inline-block;
}
.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #232323;
    min-width: 200px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 10;
    padding: 0.5rem 0;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { 
    display: block;
    margin: 0;
}
.dropdown-menu a {
    color: #fff;
    padding: 0.6rem 1.2rem;
    display: block;
    font-size: 1.04rem;
    border-radius: 0;
}
.dropdown-menu a:hover { 
    background: #181818; 
    color: #ffb300; 
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1011; /* Higher than header */
}
.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Tarih seçici */
.date-picker {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 2rem 0;
}

.date-picker input[type="date"] {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    font-size: 1.1rem;
    background: #fff;
    color: #222;
    font-weight: 600;
    box-shadow: 0 2px 8px #0001;
}

/* Menü başlıkları */
.day-menus h2 {
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 8px #0008;
}

/* Updated Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Updated Menu Card */
.menu-card {
    background: rgba(35, 35, 35, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    box-shadow: 0 4px 16px #0003;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.menu-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}
.no-image {
    background: #2a2a2a;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.menu-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
}
.menu-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
    color: #fff;
    text-align: left;
    text-shadow: none;
}
.menu-card p {
    color: #ccc;
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}
.menu-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffb300;
    white-space: nowrap;
    padding: 0;
    margin-left: 1rem;
    background: none;
    box-shadow: none;
}
.menu-no {
    background: #ffb300;
    color: #181818;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: bold;
}
.menu-actions {
    margin-top: auto;
}

.menu-card .button {
    width: 100%;
    display: block;
    text-align: center;
}

/* No menu message */
.no-menu {
    text-align: center;
    padding: 2rem;
    background: #232323;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 2px 8px #0002;
}

/* Footer */
footer {
    background: #181818;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 -2px 8px #0002;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
}

main {
    flex: 1 0 auto;
    margin-bottom: 80px;
}

/* Mobilde footer üstünde boşluk bırak */
@media (max-width: 600px) {
    main { margin-bottom: 110px; }
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background: #232323;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px #0003;
    color: #fff;
}
.form-group label, .order-form label {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 0.2rem;
    display: block;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #444;
    border-radius: 8px;
    background: #ffffff;
    color: #181818;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px #0001;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #ffb300;
    border-color: #ffb300;
}
.menu-details {
    margin-bottom: 2rem;
    padding: 1.2rem 1rem;
    background: #181818;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 2px 8px #0002;
}
.menu-details h3 {
    color: #4f8cff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.menu-details p {
    color: #fff;
    opacity: 0.95;
    margin-bottom: 0.3rem;
}
.menu-details strong {
    color: #ffd600;
}
.button {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: #ffb300;
    color: #181818;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: background 0.2s, color 0.2s;
    margin-top: 1rem;
    box-shadow: 0 2px 8px #0002;
    border: none;
    cursor: pointer;
}
.button:hover {
    background: #e6a200;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
@media (max-width: 600px) {
    .order-form {
        padding: 1rem;
    }
    .menu-details {
        padding: 0.7rem 0.5rem;
    }
}

.payment-options {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.payment-option {
    flex: 1;
    padding: 1.2rem 1rem 1rem 1rem;
    border: 2px solid #ddd;
    border-radius: 12px;
    background: #181818;
    cursor: pointer;
    transition: border 0.2s, box-shadow 0.2s, background 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    position: relative;
    font-weight: bold;
    font-size: 1.08rem;
    box-shadow: 0 2px 8px #0001;
}
.payment-option.selected, .payment-option input:checked + label {
    border: 2.5px solid #ffb300;
    background: #181818;
    box-shadow: 0 4px 16px #ffb30022;
}
.payment-option:hover {
    border: 2px solid #1976d2;
    background: #f0f7ff;
}
.payment-option input[type="radio"] {
    display: none;
}
.payment-option .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1976d2;
}
.payment-option.selected .icon {
    color: #ffb300;
}
@media (max-width: 600px) {
    .payment-options { flex-direction: column; gap: 1rem; }
}

/* Slider Styles */
.swiper-container {
    width: 100%;
    height: 450px; /* Adjust height as needed */
    margin-bottom: 2rem;
}
.swiper {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    text-align: center;
    background: #181818;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.swiper-slide:hover img {
    transform: scale(1.05);
}
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 5%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    color: #fff;
    text-align: left;
}
.slide-content h2 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    font-weight: bold;
}
.slide-content p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
    max-width: 600px;
}
/* Swiper Navigation */
.swiper-button-next, .swiper-button-prev {
    color: #fff;
    --swiper-navigation-size: 30px;
}
.swiper-pagination-bullet-active {
    background: #ffb300;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(24, 24, 24, 0.98);
        backdrop-filter: blur(5px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        gap: 1.5rem;
        z-index: 1010;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu li {
        margin: 0;
    }
    .dropdown > a::after {
        content: '▼';
    }
    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        display: none; /* Hide by default */
        padding: 0.5rem 0 0.5rem 1rem;
        border: none;
    }
    .dropdown.active .dropdown-menu {
        display: block; /* Show when active */
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    .swiper-container {
        height: 300px;
    }
    .slide-content {
        padding: 2rem 5%;
    }
    .slide-content h2 {
        font-size: 1.5rem;
    }
    .slide-content p {
        font-size: 1rem;
    }

    h1 {
        font-size: 1.8rem;
        text-align: center;
    }
}

/* Sayfa başlıkları için ortalama ve transparan zemin */
h1 {
    text-align: center;
    position: relative;
    z-index: 2;
    margin: 2.2rem auto 1.5rem auto;
    padding: 0.7em 1.5em;
    background: rgba(24,24,24,0.65); /* transparan koyu zemin */
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0003;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px #0008;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.3rem;
        padding: 0.5em 0.7em;
    }
}

/* Add to Cart Button Icon Styles */
.add-to-cart-btn i {
    margin-right: 0.5rem;
}

/* Cart Icon in Navbar */
.cart-icon {
    position: relative;
    padding: 0.5rem;
}
.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #dc3545;
    color: white;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #222;
}

/* Toast Notification Styles */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.toast.error {
    background-color: #dc3545;
} 