/* ============================================
   DakkahPlus Burger Menu - Custom Styles
   ============================================ */

/* Root Variables - Modern Color Theme */
:root {
    /* Brand Colors - Warm Burger Theme */
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ef5350;
    --accent-orange: #ff6f00;
    --accent-brown: #5d4037;
    
    /* Background Colors */
    --bg-primary: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #3d2415 100%);
    --bg-secondary: linear-gradient(135deg, #2d1810 0%, #3d2415 100%);
    --bg-overlay: rgba(0, 0, 0, 0.3);
    
    /* Card Colors - Light for contrast */
    --card-bg: #ffffff;
    --card-bg-hover: #fafafa;
    --card-border: rgba(255, 255, 255, 0.2);
    
    /* Text Colors */
    --text-dark: #212529;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --text-muted-light: rgba(255, 255, 255, 0.8);
    
    /* Shadows - Enhanced for depth */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.35);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.2);
    
    /* Other */
    --border-radius: 0.75rem;
    --transition: all 0.3s ease;
    --white: #ffffff;
    --light-bg: #f8f9fa;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--bg-primary);
    background-attachment: fixed;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* Background Pattern Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(211, 47, 47, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 111, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

/* Navigation Bar */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    font-weight: 700;
}

.navbar-brand i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: var(--transition);
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(45, 24, 16, 0.2) 100%);
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(211, 47, 47, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-section .lead,
.hero-description {
    color: #ffffff !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    opacity: 0.95;
}

.hero-icon {
    animation: float 3s ease-in-out infinite;
    color: var(--primary-light) !important;
    filter: drop-shadow(0 4px 12px rgba(211, 47, 47, 0.4));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.min-vh-50 {
    min-height: 50vh;
}

/* Category Navigation */
.category-nav-section {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1020;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sticky-top-nav {
    position: sticky;
    top: 56px;
    z-index: 1020;
}

.category-filters {
    gap: 0.5rem;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(211, 47, 47, 0.3);
    background: var(--white);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    box-shadow: var(--shadow-sm);
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    background: var(--card-bg-hover);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

/* Menu Section */
.menu-section {
    background: transparent;
    min-height: 60vh;
    padding: 3rem 0;
    position: relative;
}

/* Menu Card */
.menu-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-orange) 100%);
    opacity: 0;
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: var(--card-bg-hover);
}

.menu-card:hover::before {
    opacity: 1;
}

.menu-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.menu-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.05) 0%, rgba(255, 111, 0, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

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

.menu-card:hover .menu-card-image::after {
    opacity: 1;
}

.menu-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.menu-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.category-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.category-badge.burgers {
    background: #fff3cd;
    color: #856404;
}

.category-badge.salads {
    background: #d1e7dd;
    color: #0f5132;
}

.category-badge.fries {
    background: #f8d7da;
    color: #842029;
}

.category-badge.drinks {
    background: #cfe2ff;
    color: #084298;
}

.category-badge.desserts {
    background: #e7d5ff;
    color: #5a189a;
}

.menu-card-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.menu-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.menu-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-add-to-cart {
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

.btn-add-to-cart:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-card:nth-child(1) { animation-delay: 0.1s; }
.menu-card:nth-child(2) { animation-delay: 0.2s; }
.menu-card:nth-child(3) { animation-delay: 0.3s; }
.menu-card:nth-child(4) { animation-delay: 0.4s; }
.menu-card:nth-child(5) { animation-delay: 0.5s; }
.menu-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
        min-height: 40vh;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .menu-card-image {
        height: 180px;
    }
    
    .menu-card-body {
        padding: 1rem;
    }
    
    .sticky-top-nav {
        top: 0;
    }
    
    .category-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
    }
    
    .category-filters::-webkit-scrollbar {
        height: 4px;
    }
    
    .category-filters::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .category-filters::-webkit-scrollbar-thumb {
        background: rgba(211, 47, 47, 0.5);
        border-radius: 2px;
    }
    
    .category-filters::-webkit-scrollbar-thumb:hover {
        background: rgba(211, 47, 47, 0.7);
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .menu-card-image {
        height: 150px;
        font-size: 3rem;
    }
    
    .menu-card-title {
        font-size: 1.1rem;
    }
    
    .menu-card-price {
        font-size: 1.25rem;
    }
    
    .btn-add-to-cart {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .menu-card-image {
        height: 220px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Footer Styles */
footer {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted-light);
}

footer h5 {
    color: var(--text-light);
}

footer .text-muted {
    color: var(--text-muted-light) !important;
}

.social-links a {
    font-size: 1.25rem;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-muted-light) !important;
}

.social-links a:hover {
    color: var(--primary-light) !important;
    transform: translateY(-2px);
    filter: drop-shadow(0 2px 4px rgba(211, 47, 47, 0.4));
}

/* Loading State */
.menu-card.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Empty State */
.empty-state {
    padding: 4rem 2rem;
    text-align: center;
}

.empty-state {
    color: var(--text-muted-light);
}

.empty-state h3 {
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted-light);
    margin-bottom: 1rem;
    opacity: 0.7;
}

/* Sticky Category Bar Enhancement */
.sticky-top-nav {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

/* Button Hover Effects */
.btn-add-to-cart:active {
    transform: scale(0.95);
}

/* Card Image Animation */
@keyframes imageZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Accessibility Improvements */
.category-btn:focus,
.btn-add-to-cart:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .category-nav-section,
    .btn-add-to-cart,
    footer {
        display: none;
    }
    
    .menu-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    body {
        background: white !important;
    }
}

/* Additional Visual Enhancements */
.menu-section .container {
    position: relative;
}

/* Section Divider Effect */
.menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

/* Enhanced Card Border on Hover */
.menu-card:hover {
    border-color: rgba(211, 47, 47, 0.4);
}

/* Button Success State */
.btn-add-to-cart.btn-success {
    background: linear-gradient(135deg, #198754 0%, #157347 100%) !important;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.4) !important;
}

/* Active Navigation State */
.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-orange) 100%);
    border-radius: 2px;
}

/* About Page Styles */
.about-section {
    background: transparent;
}

.about-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.about-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.about-icon {
    font-size: 3rem;
    color: var(--primary-color);
    text-align: center;
}

.about-card h2 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    color: var(--text-dark);
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.quality-item {
    text-align: center;
}

.quality-item h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quality-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Contact Page Styles */
.contact-section {
    background: transparent;
}

.contact-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
}

.contact-card h2 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.form-control-modern {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
}

.form-control-modern:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.15);
    outline: none;
}

.form-control-modern::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-orange) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.contact-details h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.map-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
}

.map-content {
    text-align: center;
    color: var(--text-muted);
}

.map-content i {
    color: var(--primary-color);
    opacity: 0.5;
}

.map-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Responsive Adjustments for New Pages */
@media (max-width: 768px) {
    .about-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto 1rem;
    }
    
    .quality-item {
        margin-bottom: 2rem;
    }
    
    .map-placeholder {
        min-height: 300px;
    }
}

