/**
 * Hamdan FastFood - Modern Styles with Animations
 * Comprehensive CSS for all user-side pages
 */

/* ========================================
   CSS Variables & Base Styles
   ======================================== */
:root {
    --primary: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary: #f7931e;
    --secondary-dark: #e88410;
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --light: #f8f9fa;
    --light-gray: #e9ecef;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --text-light: #999999;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 25px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 25px;
    --radius-xl: 35px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fafafa;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   Animation Keyframes
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 107, 53, 0.6); }
}

@keyframes wave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rotateIn {
    from { opacity: 0; transform: rotate(-180deg); }
    to { opacity: 1; transform: rotate(0deg); }
}

@keyframes slideDown {
    from { opacity: 0; max-height: 0; }
    to { opacity: 1; max-height: 500px; }
}

/* ========================================
   Animation Classes
   ======================================== */
.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease forwards;
}

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Staggered animation delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }

/* ========================================
   Navbar Styles
   ======================================== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary) !important;
    transition: all var(--transition-normal);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand span {
    color: var(--dark);
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 8px 16px !important;
    transition: all var(--transition-normal);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(247, 147, 30, 0.95) 100%), 
                url('../image/hero-bg.webp') center/cover;
    padding: 200px 0;
    text-align: center;
    color: var(--white);
    height: 90vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: shimmer 15s infinite linear;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .btn {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary-custom {
    background: var(--white);
    color: var(--primary);
    border: none;
    transition: all var(--transition-normal);
}

.btn-primary-custom:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ========================================
   Section Cards
   ======================================== */
.section-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    height: 100%;
}

.section-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.section-card:hover::before {
    transform: scaleX(1);
}

.section-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.section-card:hover .section-image {
    transform: scale(1.1);
}

.section-content {
    padding: 25px;
    text-align: center;
}

.section-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    transition: color var(--transition-normal);
}

.section-card:hover .section-content h3 {
    color: var(--primary);
}

.section-content p {
    color: var(--text-muted);
    font-size: 14px;
}

.item-count {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 10px;
    transition: all var(--transition-normal);
}

.section-card:hover .item-count {
    transform: scale(1.1);
}

/* ========================================
   Menu Items
   ======================================== */
.menu-section {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.menu-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.menu-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 15px auto 0;
    border-radius: 2px;
}

.menu-item {
    background: #fafafa;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.menu-item:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.menu-item:hover::before {
    transform: scaleY(1);
}

.menu-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    transition: transform var(--transition-normal);
}

.menu-item:hover .menu-item-image {
    transform: rotate(5deg) scale(1.05);
}

.menu-item-details {
    flex-grow: 1;
}

.menu-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    transition: color var(--transition-normal);
}

.menu-item:hover h4 {
    color: var(--primary);
}

.menu-item p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 0;
}

.menu-item-price {
    text-align: right;
    flex-shrink: 0;
}

.menu-item-price .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    transition: all var(--transition-normal);
}

.menu-item:hover .menu-item-price .price {
    transform: scale(1.1);
}

/* ========================================
   Buttons
   ======================================== */
.btn-order, .btn-add-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-order {
    background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
    color: var(--white);
}

.btn-order:hover {
    background: linear-gradient(135deg, var(--whatsapp-dark) 0%, #075E54 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
}

.btn-add-cart {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, var(--whatsapp-dark) 0%, #075E54 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 80px 0;
    background: var(--white);
}

.feature-box {
    text-align: center;
    padding: 30px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    background: var(--light);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--white);
    transition: all var(--transition-normal);
}

.feature-box:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(255,107,53,0.4);
}

.feature-box h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-box p {
    color: var(--text-muted);
}

/* ========================================
   About Page Styles
   ======================================== */
.about-hero {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(247, 147, 30, 0.95) 100%);
    padding: 120px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: 50px 50px;
    animation: shimmer 20s infinite linear;
}

.about-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 15px;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.about-hero p {
    font-size: 20px;
    opacity: 0.9;
    position: relative;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.about-section {
    padding: 60px 0;
}

.about-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 25px;
    position: relative;
}

.about-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 15px 0 0;
    border-radius: 2px;
}

.about-section p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 60%);
    animation: shimmer 10s infinite linear;
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    animation: countUp 1s ease;
}

.stat-item p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    font-weight: 500;
}

/* Value Cards */
.value-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
    transition: all var(--transition-normal);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(360deg);
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ========================================
   Contact Page Styles
   ======================================== */
.contact-hero {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(247, 147, 30, 0.95) 100%);
    padding: 120px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: 50px 50px;
    animation: shimmer 20s infinite linear;
}

.contact-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 15px;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.contact-hero p {
    font-size: 20px;
    opacity: 0.9;
    position: relative;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.contact-section {
    padding: 60px 0;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--light-gray);
    transition: all var(--transition-normal);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
}

.contact-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-text a {
    color: var(--primary);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.contact-text a:hover {
    color: var(--secondary);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 12px 15px;
    font-size: 16px;
    transition: all var(--transition-normal);
    background: var(--light);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
    background: var(--white);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-light);
}

/* ========================================
   Profile Page Styles
   ======================================== */
.profile-hero {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(247, 147, 30, 0.95) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
    transition: all var(--transition-normal);
}

.profile-avatar:hover {
    transform: scale(1.05);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar .avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.profile-avatar:hover .avatar-overlay {
    opacity: 1;
}

.profile-avatar .avatar-overlay i {
    color: var(--white);
    font-size: 24px;
}

.profile-section {
    padding: 40px 0;
}

.profile-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    transition: all var(--transition-normal);
}

.profile-card:hover {
    box-shadow: var(--shadow-lg);
}

.profile-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.profile-info:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.profile-info-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--white);
    flex-shrink: 0;
}

.profile-info-content h4 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 3px;
    font-weight: 500;
}

.profile-info-content p {
    font-size: 16px;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0;
}

/* Order History */
.order-card {
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 15px;
    transition: all var(--transition-normal);
    border-left: 4px solid var(--primary);
}

.order-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.order-id {
    font-weight: 600;
    color: var(--dark);
}

.order-date {
    color: var(--text-muted);
    font-size: 14px;
}

.order-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.completed {
    background: #d4edda;
    color: #155724;
}

.order-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-items {
    color: var(--text-muted);
    font-size: 14px;
}

.order-total {
    text-align: right;
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
    margin-top: 10px;
}

/* ========================================
   Footer Styles
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer p, .footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.footer a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
}

/* ========================================
   Cart Styles
   ======================================== */
.cart-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    gap: 15px;
    transition: all var(--transition-normal);
}

.cart-item:hover {
    background: var(--light);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-details h6 {
    margin: 0 0 5px;
    font-weight: 600;
    color: var(--dark);
}

.cart-item-details .price {
    color: var(--text-muted);
    margin: 0;
    font-size: 14px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity .qty-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--light-gray);
    background: var(--white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.cart-item-quantity .qty-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.cart-item-quantity span {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.cart-item-total {
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
    min-width: 80px;
    text-align: right;
}

.cart-item .remove-btn {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 5px;
    transition: all var(--transition-normal);
}

.cart-item .remove-btn:hover {
    transform: scale(1.2);
    color: #b02a37;
}

.cart-total {
    flex-grow: 1;
}

.cart-total h4 {
    margin: 0;
    color: var(--primary);
}

/* ========================================
   Alert Messages
   ======================================== */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border: none;
    animation: slideDown 0.5s ease;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

/* ========================================
   Back Button
   ======================================== */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 20px;
    transition: all var(--transition-normal);
}

.back-btn:hover {
    color: var(--dark);
    transform: translateX(-5px);
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 42px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .about-hero h1,
    .contact-hero h1 {
        font-size: 36px;
    }
    
    .menu-section {
        padding: 30px 20px;
    }
    
    .menu-item {
        flex-direction: column;
        text-align: center;
    }
    
    .menu-item-price {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 150px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .about-hero h1,
    .contact-hero h1 {
        font-size: 28px;
    }
    
    .about-hero p,
    .contact-hero p {
        font-size: 16px;
    }
    
    .section-card {
        margin-bottom: 20px;
    }
    
    .feature-box {
        margin-bottom: 20px;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
    
    .contact-card,
    .contact-form {
        margin-bottom: 30px;
    }
    
    .profile-info {
        flex-direction: column;
        text-align: center;
    }
    
    .order-header {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 22px;
    }
    
    .hero .btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .menu-section h2,
    .about-section h2,
    .contact-card h3,
    .contact-form h3 {
        font-size: 28px;
    }
    
    .btn-order, .btn-add-cart {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-dark { color: var(--dark) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-light { background-color: var(--light) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded-md { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }

.hover-lift {
    transition: transform var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: transform var(--transition-normal);
}

.hover-scale:hover {
    transform: scale(1.05);
}
