/* 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: #2c3e50;
    background-color: #f8f9fa;
}

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

/* Header */
.header {
    background-color: #e85d04;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #006ba6 0%, #52b788 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Search Box */
.search-box {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
}

.search-box button {
    padding: 0.75rem 1.5rem;
    background-color: #e85d04;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.search-box button:hover {
    background-color: #dc5a02;
}

/* Quick Filters */
.quick-filters {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: white;
    color: #006ba6;
}

/* Sections */
.cuisines,
.featured {
    padding: 3rem 0;
}

.cuisines {
    background-color: white;
}

section h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.section-subtitle {
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Cuisine Grid */
.cuisine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.cuisine-card {
    background-color: #f8f9fa;
    padding: 2rem 1rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cuisine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #e85d04;
}

.cuisine-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.cuisine-name {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Restaurant Grid */
.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.restaurant-card {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.restaurant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.restaurant-image-placeholder {
    background-color: #e9ecef;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.restaurant-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.restaurant-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.restaurant-status {
    color: #52b788;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Buttons */
.btn-call {
    display: inline-block;
    background-color: #e85d04;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-call:hover {
    background-color: #dc5a02;
}

.btn-primary {
    display: inline-block;
    background-color: #006ba6;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #005a8a;
}

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

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav a {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box button {
        width: 100%;
    }
    
    .cuisine-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Browse Page Styles */
.browse-section {
    padding: 2rem 0 3rem;
    min-height: 60vh;
}

.browse-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.filters {
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.filter-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: #e85d04;
}

.restaurant-count {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #6c757d;
}

.restaurant-location {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.restaurant-status {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.restaurant-status.open {
    color: #52b788;
}

.restaurant-status.closed {
    color: #dc5a02;
}

.btn-view {
    display: inline-block;
    background-color: #006ba6;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-left: 0.5rem;
    transition: background-color 0.3s;
}

.btn-view:hover {
    background-color: #005a8a;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
    font-size: 1.1rem;
}

/* Mobile responsive for filters */
@media (max-width: 768px) {
    .filters {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
}