/* ============================================
   COFFEE SHOP - ELITE COFFEE
   Modern, Organized, RTL Arabic Stylesheet
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6F4E37;
    --primary-dark: #4A3428;
    --primary-light: #8B6914;
    --secondary: #D4A574;
    --accent: #C68B59;
    --dark: #1A1A1A;
    --dark-light: #2D2D2D;
    --light: #F5F0EB;
    --lighter: #FAF7F4;
    --white: #FFFFFF;
    --text: #333333;
    --text-light: #777777;
    --success: #27ae60;
    --danger: #e74c3c;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--lighter);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(111, 78, 55, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111, 78, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary);
}

.logo i {
    font-size: 28px;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--light);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.cart-icon {
    position: relative;
    color: var(--light);
    font-size: 22px;
    transition: var(--transition);
}

.cart-icon:hover {
    color: var(--secondary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1497935586351-b67a49e012bf?w=1920&h=1080&fit=crop') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(74,52,40,0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 24px;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '—';
    margin: 0 10px;
    color: var(--secondary);
}

.section-header h2 {
    font-size: clamp(24px, 3vw, 36px);
    color: var(--dark);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: var(--radius);
    background: var(--lighter);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
    background: var(--white);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 28px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ============================================
   POPULAR PREVIEW
   ============================================ */
.popular-preview {
    padding: 100px 0;
    background: var(--lighter);
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.popular-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.popular-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.popular-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

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

.popular-info {
    padding: 20px;
    text-align: center;
}

.popular-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
}

.price {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary);
    border-radius: var(--radius);
    z-index: -1;
}

.about-content h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 20px;
    color: var(--dark);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 15px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 15px;
    display: inline-flex;
}

.footer-brand p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-light);
    transition: var(--transition);
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: var(--secondary);
    padding-right: 5px;
}

.footer-contact p,
.footer-hours p {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--secondary);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--dark-light);
    padding: 20px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

/* ============================================
   PAGE HEADER (Menu & Order)
   ============================================ */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1447933601403-0c6688de566e?w=1920&h=600&fit=crop') center/cover;
    opacity: 0.15;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   MENU FILTER
   ============================================ */
.menu-filter {
    padding: 30px 0;
    background: var(--white);
    position: sticky;
    top: 65px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--light);
    background: var(--white);
    color: var(--text);
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(111, 78, 55, 0.3);
}

/* ============================================
   MENU CONTENT
   ============================================ */
.menu-content {
    padding: 50px 0 100px;
    background: var(--lighter);
}

.menu-category {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary);
}

.category-header i {
    font-size: 28px;
    color: var(--primary);
}

.category-header h2 {
    font-size: 24px;
    color: var(--dark);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.menu-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.menu-item-image {
    height: 200px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.menu-item-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 10px;
}

.menu-item-header h3 {
    font-size: 18px;
    color: var(--dark);
}

.menu-item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.menu-item-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    flex: 1;
}

.btn-add {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--primary);
    color: var(--white);
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

/* Cart Floating Button */
.cart-floating {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(111, 78, 55, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.cart-floating:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.cart-floating-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(111, 78, 55, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(111, 78, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(111, 78, 55, 0); }
}

/* ============================================
   ORDER PAGE
   ============================================ */
.order-content {
    padding: 50px 0 100px;
    background: var(--lighter);
}

.order-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

/* Cart Section */
.cart-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light);
}

.cart-header h2 {
    font-size: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-header h2 i {
    color: var(--primary);
}

.btn-clear {
    background: none;
    border: none;
    color: var(--danger);
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.btn-clear:hover {
    opacity: 0.8;
}

/* Cart Empty */
.cart-empty {
    text-align: center;
    padding: 50px 20px;
}

.cart-empty i {
    font-size: 60px;
    color: var(--light);
    margin-bottom: 20px;
}

.cart-empty h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.cart-empty p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Cart Item */
.cart-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--light);
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 5px;
}

.cart-item-details .item-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--light);
    background: var(--white);
    color: var(--text);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.qty-value {
    font-weight: 700;
    font-size: 16px;
    min-width: 24px;
    text-align: center;
}

.btn-remove {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 18px;
    cursor: pointer;
    margin-right: 10px;
    transition: var(--transition);
}

.btn-remove:hover {
    transform: scale(1.2);
}

/* Order Summary */
.order-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.summary-card,
.checkout-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.summary-card h2,
.checkout-card h2 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-card h2 i,
.checkout-card h2 i {
    color: var(--primary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text);
}

.discount-row {
    color: var(--success);
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: var(--light);
    margin: 15px 0;
}

.total-row {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.total-row span:last-child {
    color: var(--primary);
    font-size: 22px;
}

/* Promo Section */
.promo-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light);
}

.promo-input-group {
    display: flex;
    gap: 8px;
}

.promo-input-group input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--light);
    border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

.promo-input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.promo-input-group button {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.promo-input-group button:hover {
    background: var(--primary-dark);
}

.promo-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

/* Checkout Form */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light);
    border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(111, 78, 55, 0.1);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 2px solid var(--light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover {
    border-color: var(--secondary);
}

.payment-option input[type="radio"] {
    width: auto;
    accent-color: var(--primary);
}

.payment-option span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.payment-option span i {
    color: var(--primary);
}

.btn-checkout {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    font-size: 16px;
    padding: 16px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px 40px;
    text-align: center;
    max-width: 450px;
    width: 100%;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-icon {
    font-size: 70px;
    color: var(--success);
    margin-bottom: 20px;
}

.modal-content h2 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 15px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .order-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        flex-wrap: wrap;
    }

    .modal-actions {
        flex-direction: column;
    }

    .cart-floating {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .cart-section,
    .summary-card,
    .checkout-card {
        padding: 20px;
    }
}

/* Smooth scroll padding for fixed nav */
html {
    scroll-padding-top: 80px;
}