/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #e74c3c;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-btn {
    background: transparent;
    color: #333;
    padding: 0.6rem 1.2rem;
    border: 2px solid #333;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
}

.login-btn:hover {
    background: #333;
    color: white;
    transform: translateY(-1px);
}

.book-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
}

.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b, #a93226);
}

/* Responsive navigation */
@media (max-width: 768px) {
    .nav-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .login-btn, .book-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding-top: 80px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    background: #f8f9fa;
    color: #e74c3c;
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    .specials-grid,
    .recommendations-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .specials-grid,
    .recommendations-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0 1rem;
    }

    .nav-buttons {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        height: 100vh;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .btn {
        width: 80%;
        max-width: 300px;
        padding: 1rem 2rem;
    }

    .filter-section {
        margin: 1rem;
        padding: 1.5rem;
    }

    .filter-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-reset, .btn-search {
        width: 100%;
        padding: 1rem;
    }

    .specials-grid,
    .recommendations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
        text-align: center;
    }

    .section-subtitle {
        text-align: center;
        margin-bottom: 2rem;
    }

    .special-card,
    .recommendation-card {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .filter-toggle-btn {
        width: 100%;
        margin-bottom: 1rem;
        padding: 1rem;
    }

    .hero-buttons {
        width: 100%;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        font-size: 1rem;
    }

    .special-card,
    .recommendation-card {
        margin: 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .filter-section {
        margin: 0.5rem;
        padding: 1rem;
    }

    .filter-header h3 {
        font-size: 1.3rem;
    }

    .filter-header p {
        font-size: 0.9rem;
    }

    .card-content {
        padding: 1.5rem;
    }

    .card-header h3 {
        font-size: 1.2rem;
    }

    .price {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .nav {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 0 0.5rem;
    }
    
    .specials-grid,
    .recommendations-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        padding: 0 1rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .specials-grid,
    .recommendations-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
    }
}

/* Large screens */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }
    
    .specials-grid,
    .recommendations-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 3rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url(../images/food-6650288_1280.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(231, 76, 60, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(241, 196, 15, 0.1) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-10px, -10px) rotate(1deg);
    }

    66% {
        transform: translate(10px, -5px) rotate(-1deg);
    }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff, #f8f8f8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Main Content */
.main-content {
    margin-top: 0;
}

/* Section Styles */
.specials-section,
.recommendations-section {
    padding: 5rem 0;
    position: relative;
}

.specials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.recommendations-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 2px;
}

/* Specials Grid */
.specials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.special-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.special-card:nth-child(2) {
    animation-delay: 0.2s;
}

.special-card:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.special-card .card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.pasta-bg {
    background-image: url(../images/OIP\ \(3\).webp);
}

.salmon-bg {
    background-image: url(../images/food-6650288_1280.jpg);
}

.burger-bg {
    background-image: url(../images/OIP\ \(4\).webp);
}

.special-card .card-content {
    padding: 1.5rem;
}

.special-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.special-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.special-card .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e74c3c;
}

/* Recommendations Grid - Smaller Cards */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.recommendation-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.recommendation-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.card-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.recommendation-card:hover .card-image {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(94, 231, 60, 0.8), rgba(192, 57, 43, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.recommendation-card:hover .card-overlay {
    opacity: 1;
}

.add-to-cart-btn {
    background: white;
    color: #e74c3c;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
    font-size: 0.85rem;
}

.view-dish-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.recommendation-card:hover .add-to-cart-btn {
    transform: translateY(0);
}

.add-to-cart-btn:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.recommendation-card .card-content {
    padding: 1rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.card-title {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
}

.card-category {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.card-description {
    color: #666;
    margin: 0.5rem 0;
    line-height: 1.4;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    margin: 0.5rem 0;
}

.listing-date {
    font-size: 0.75rem;
    color: #999;
}

.recommendation-card .price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #e74c3c;
}

.rating .stars {
    color: #f39c12;
    font-size: 0.9rem;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* Enhanced Filter Section Styles */
.filter-toggle-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    backdrop-filter: blur(5px);
}

.filter-toggle-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.filter-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin: 1rem auto;
    max-width: 700px;
    width: 100%;
    display: none;
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-section.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.filter-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.filter-header h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.filter-header p {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin: 0;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.4rem;
}

.filter-select, .filter-input {
    padding: 0.6rem 0.8rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    background: white;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.filter-select:hover, .filter-input:hover {
    border-color: #3498db;
}

.filter-select:focus, .filter-input:focus {
    border-color: #e74c3c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.filter-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.btn-reset, .btn-search {
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.btn-reset {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #dee2e6;
}

.btn-reset:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.btn-search {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.btn-search:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    
    .filter-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-reset, .btn-search {
        width: 100%;
    }
}

/* Enhanced Special Cards */
.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.special-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.special-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #adb5bd;
}

.special-card:hover .card-image {
    transform: scale(1.05);
}

.special-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.9), rgba(192, 57, 43, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.special-card:hover .special-overlay {
    opacity: 1;
}

.quick-add-btn {
    background: white;
    color: #e74c3c;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
    font-size: 0.9rem;
}

.special-card:hover .quick-add-btn {
    transform: translateY(0);
}

.quick-add-btn:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.special-card .card-content {
    padding: 1.5rem;
}

.special-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.special-card h3 {
    font-size: 1.3rem;
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
}

.special-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.special-badge.new {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.special-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.special-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.special-card .price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e74c3c;
}

.category-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.added-date {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
}

/* Live UI Animations and Effects */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(231, 76, 60, 0.5); }
    50% { box-shadow: 0 0 20px rgba(231, 76, 60, 0.8), 0 0 30px rgba(231, 76, 60, 0.6); }
    100% { box-shadow: 0 0 5px rgba(231, 76, 60, 0.5); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes liveDot {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

@keyframes priceGlow {
    0% { text-shadow: 0 0 5px rgba(231, 76, 60, 0.3); }
    50% { text-shadow: 0 0 15px rgba(231, 76, 60, 0.6); }
    100% { text-shadow: 0 0 5px rgba(231, 76, 60, 0.3); }
}

/* Enhanced Special Cards with Live Effects */
.special-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

.special-card.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

.special-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(231, 76, 60, 0.3);
}

.card-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.card-image-placeholder p {
    margin: 0.5rem 0 0 0;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.special-card:hover .card-image {
    transform: scale(1.05);
}

.special-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.95), rgba(192, 57, 43, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.special-card:hover .special-overlay {
    opacity: 1;
    pointer-events: auto;
}

.quick-add-btn {
    background: white;
    color: #e74c3c;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

.special-card:hover .quick-add-btn {
    transform: translateY(0);
}

.quick-add-btn:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.4);
}

/* Fix for overlay staying visible when hovering over button */
.special-overlay:hover {
    opacity: 1;
}

.quick-add-btn:hover ~ .special-overlay,
.special-overlay:has(.quick-add-btn:hover) {
    opacity: 1;
}

.btn-icon {
    font-size: 1.2rem;
}

.special-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    animation: pulse 3s infinite;
    z-index: 2;
}

.badge-text {
    position: relative;
    z-index: 1;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0.6;
    z-index: 0;
}

/* Card Content Styling */
.card-content {
    padding: 2rem;
}

.card-header h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.special-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e74c3c;
    position: relative;
}

.animate-price {
    animation: priceGlow 3s infinite;
}

.category-tag {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #dee2e6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animation Keyframes */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes priceGlow {
    0% { text-shadow: 0 0 5px rgba(231, 76, 60, 0.3); }
    50% { text-shadow: 0 0 15px rgba(231, 76, 60, 0.6); }
    100% { text-shadow: 0 0 5px rgba(231, 76, 60, 0.3); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .special-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .quick-add-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Live background effects */
body {
    background: linear-gradient(-45deg, #f8f9fa, #ffffff, #f1f3f4, #e9ecef);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.business-logo-small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    font-size: 0.8rem;
    color: #718096;
}

.business-logo-small img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
}

.special-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.price-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.special-price {
    color: #e53e3e;
    font-weight: bold;
    font-size: 1.1rem;
}

.original-price {
    color: #a0aec0;
    text-decoration: line-through;
    font-size: 0.9rem;
}
