/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

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

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
}

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

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-link:hover,
.nav-link.active {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.notification-icon {
    position: relative;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.notification-icon:hover {
    transform: translateY(-2px);
}

.notification-icon i {
    color: #666;
    font-size: 18px;
}

.notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
}

.search-section {
    padding: 100px 0;
    margin-top: 5em;
   
}

.search-bar {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
    margin-top: 100px;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.search-item i {
    color: #999;
    font-size: 18px;
}

.search-content {
    flex: 1;
}

.search-content label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.search-content select,
.search-content input {
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background: transparent;
    width: 100%;
}

.guest-counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.counter-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.counter-btn:hover {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

#guest-count {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.divider {
    width: 1px;
    height: 40px;
    background: #e0e0e0;
}

/* Categories */
.categories-section {
    padding: 20px 0;
}

.categories {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
}

.category {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.category.active {
    background: #4CAF50;
    color: white;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}

.category-emoji {
    font-size: 18px;
}

.category-name {
    font-weight: 500;
    font-size: 14px;
}

/* Main Content */
.main-content {
    padding: 40px 0 120px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.see-all {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Featured Section */
.featured-section {
    margin-bottom: 50px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.featured-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.card-rating {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
}

.card-rating i {
    color: #ffc107;
}

.card-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
}

.original-price {
    text-decoration: line-through;
    color: #999;
}

.discounted-price {
    color: #dc3545;
    font-weight: 700;
}

.single-price {
    color: #333;
    font-weight: 700;
}

.card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.3;
}

.card-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

/* Popular Section */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.popular-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.popular-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.popular-content {
    flex: 1;
}

.popular-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.popular-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.popular-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popular-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
}

.popular-rating i {
    color: #ffc107;
}

.popular-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.popular-price .original-price {
    font-size: 12px;
    text-decoration: line-through;
    color: #999;
}

.popular-price .discounted-price {
    font-size: 16px;
    font-weight: 700;
    color: #dc3545;
}

.popular-price .price {
    font-size: 16px;
    font-weight: 700;
    color: #4CAF50;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.3s ease;
    color: #999;
}

.nav-item.active {
    color: #4CAF50;
}

.nav-item i {
    font-size: 20px;
}

.nav-item span {
    font-size: 12px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-links {
        display: none;
    }
    
    .search-bar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .search-item {
        width: 100%;
    }
    
    .divider {
        display: none;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .popular-card {
        padding: 15px;
    }
    
    .popular-image {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 10px 0;
    }
    
    .search-section {
        padding: 20px 0;
    }
    
    .main-content {
        padding: 30px 0 100px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .popular-title {
        font-size: 14px;
    }
    
    .popular-subtitle {
        font-size: 12px;
    }
}

/* Category Filter Animation */
.category[data-category] {
    transition: all 0.3s ease;
}

.category[data-category]:not(.active) {
    opacity: 0.7;
}

/* Card Filter Animation */
.featured-card,
.popular-card {
    transition: all 0.3s ease;
}

.featured-card.hidden,
.popular-card.hidden {
    display: none;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Hover Effects */
.search-item:hover {
    background: rgba(76, 175, 80, 0.05);
    border-radius: 8px;
    padding: 8px;
    margin: -8px;
}

/* Focus States */
.search-content select:focus,
.search-content input:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

