:root {
    --edirne-red: #C1272D;
    --edirne-red-dark: #8A1D22;
    --edirne-red-light: #D9534F;
    --background-red: rgba(193, 39, 45, 0.08);
    --card-bg: rgba(255, 255, 255, 0.98);
    --dark-color: #1A1A1A;
    --text-color: #333333;
    --light-color: #FFFFFF;
    --gray-light: #F0F0F0;
    --gray-medium: #E0E0E0;
    --gray-dark: #666666;
    --border-radius: 20px;
    --box-shadow: 0 15px 35px rgba(193, 39, 45, 0.15);
    --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(193, 39, 45, 0.1);
    touch-action: manipulation;
}

html, body {
    height: 100%;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, 
        rgba(255, 245, 245, 1) 0%,
        rgba(255, 240, 240, 1) 25%,
        rgba(255, 235, 235, 1) 50%,
        rgba(255, 230, 230, 1) 75%,
        rgba(255, 225, 225, 1) 100%);
    color: var(--text-color);
    line-height: 1.5;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(193, 39, 45, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(193, 39, 45, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(193, 39, 45, 0.05) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* Header - Minimal */
.minimal-header {
    padding: 40px 20px 25px;
    text-align: center;
    background: transparent;
    position: relative;
}

.restaurant-logo {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--edirne-red);
    margin-bottom: 30px;
    letter-spacing: 1.5px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(193, 39, 45, 0.2);
}

.restaurant-logo::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, 
        transparent, 
        var(--edirne-red), 
        transparent);
    border-radius: 3px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--edirne-red);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 15px rgba(193, 39, 45, 0.15);
    border: 2px solid rgba(193, 39, 45, 0.1);
}

.social-icon:active {
    transform: scale(0.92);
    background: var(--edirne-red);
    color: white;
    box-shadow: 0 4px 20px rgba(193, 39, 45, 0.3);
}

/* Featured Section */
.featured-section {
    padding: 20px 20px 25px;
}

/* Featured Slider */
.featured-slider {
    width: 100%;
    height: 340px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
    box-shadow: var(--box-shadow);
}

.swiper-slide {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.85) 0%, 
        rgba(0,0,0,0.4) 60%,
        transparent 100%);
}

.featured-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--light-color);
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.featured-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.92);
    margin-bottom: 15px;
    opacity: 0.95;
    line-height: 1.4;
}

.featured-price {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--light-color);
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--edirne-red);
    color: var(--light-color);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Categories Section */
.categories-section {
    padding: 10px 20px 80px;
}

/* Category Block */
.category-block {
    margin-bottom: 40px;
}

.category-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(193, 39, 45, 0.12);
}

.category-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--edirne-red-dark);
    letter-spacing: 0.5px;
}

/* Products Slider - DÜZELTİLDİ */
.products-slider {
    width: 100%;
    padding: 5px 0;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

/* Product Slide - DÜZELTİLDİ */
.product-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Product Card - YENİ EKLENDİ */
.product-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    width: 200px;
    height: 270px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(193, 39, 45, 0.1);
    position: relative;
    cursor: pointer;
    margin: 0 auto;
}

.product-card:active {
    transform: scale(0.96) translateY(2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-card:active .product-image {
    transform: scale(1.03);
}

.product-info {
    padding: 18px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-name {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 5px;
}

.product-price {
    color: var(--edirne-red);
    font-weight: 600;
    font-size: 1.3rem;
}

/* Minimal Footer */
.minimal-footer {
    background: rgba(255, 255, 255, 0.92);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(193, 39, 45, 0.15);
    backdrop-filter: blur(15px);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
}

.footer-content {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-address {
    font-size: 0.85rem;
    color: var(--edirne-red-dark);
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.footer-address span {
    display: block;
    margin-top: 5px;
    color: var(--gray-dark);
}

.copyright {
    font-size: 0.75rem;
    color: var(--gray-dark);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Product Detail Popup */
.product-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.product-popup.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 420px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    position: relative;
    animation: popupShow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(193, 39, 45, 0.15);
}

@keyframes popupShow {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: var(--edirne-red);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.popup-close:active {
    transform: scale(0.9);
    background: var(--edirne-red);
    color: white;
}

/* Popup Gallery */
.popup-gallery {
    width: 100%;
    height: 220px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
    position: relative;
}

.popup-gallery .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.popup-details {
    padding: 25px;
}

.popup-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--edirne-red-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.popup-price {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--edirne-red);
    margin-bottom: 20px;
}

.popup-description {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup-action-btn {
    background: rgba(193, 39, 45, 0.1);
    color: var(--edirne-red);
    border: 2px solid rgba(193, 39, 45, 0.2);
    padding: 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.popup-action-btn:active {
    transform: scale(0.98);
    background: rgba(193, 39, 45, 0.15);
}

.popup-action-btn.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-color: #25D366;
}

.popup-action-btn.whatsapp-btn:active {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

/* Swiper Custom Styles */
.swiper-button-next, .swiper-button-prev {
    color: var(--light-color);
    background: rgba(0,0,0,0.4);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.25);
    transition: var(--transition);
}

.swiper-button-next:active, .swiper-button-prev:active {
    transform: scale(0.9);
    background: rgba(0,0,0,0.6);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 0.95rem;
}

.swiper-pagination-bullet {
    background: var(--light-color);
    opacity: 0.5;
    width: 8px;
    height: 8px;
}

.swiper-pagination-bullet-active {
    background: var(--edirne-red);
    opacity: 1;
    transform: scale(1.3);
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .restaurant-logo {
        font-size: 1.9rem;
        margin-bottom: 25px;
    }
    
    .featured-slider {
        height: 300px;
    }
    
    .featured-title {
        font-size: 1.2rem;
    }
    
    .product-card {
        width: 180px;
        height: 250px;
    }
    
    .product-image {
        height: 140px;
    }
    
    .popup-content {
        max-width: 90%;
    }
    
    .popup-gallery {
        height: 200px;
    }
    
    .popup-title {
        font-size: 1.4rem;
    }
    
    .popup-price {
        font-size: 1.7rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 360px) {
    .restaurant-logo {
        font-size: 1.7rem;
    }
    
    .featured-slider {
        height: 280px;
    }
    
    .product-card {
        width: 160px;
        height: 230px;
    }
    
    .product-image {
        height: 120px;
    }
}

/* Touch Optimization */
.swiper-slide,
.product-card,
.social-icon,
.popup-action-btn,
.popup-close {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* Custom Scrollbar */
.popup-content::-webkit-scrollbar {
    width: 8px;
}

.popup-content::-webkit-scrollbar-track {
    background: rgba(193, 39, 45, 0.05);
    border-radius: 10px;
}

.popup-content::-webkit-scrollbar-thumb {
    background: var(--edirne-red);
    border-radius: 10px;
}