:root {
    --primary: #e63946;
    --secondary: #f1faee;
    --accent: #a8dadc;
    --dark: #1d3557;
    --light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: #333;
    line-height: 1.6;
}

header {
    background: linear-gradient(rgba(194, 87, 29, 0.7), rgba(255, 81, 0, 0.7));
    background-size: cover;
    background-position: center;
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

.logo img {
    width: 100px;
    
   
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.search-bar {
    display: flex;
    margin-bottom: 2rem;
}

.search-bar input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-bar button {
    padding: 0 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-bar button:hover {
    background-color: #c1121f;
}

.state-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.state-btn {
    padding: 0.5rem 1rem;
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.state-btn:hover, .state-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
}

main {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 0.5rem auto 0;
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.dish-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.dish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.dish-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.dish-info {
    padding: 1.5rem;
}

.dish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.dish-name {
    font-size: 1.3rem;
    color: var(--dark);
}

.dish-state {
    background-color: var(--accent);
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.dish-location {
    display: flex;
    align-items: center;
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.dish-location i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.dish-desc {
    margin-bottom: 1rem;
    color: #555;
}

.view-recipe {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.view-recipe:hover {
    background-color: #c1121f;
}

.recipe-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    background-color: white;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    z-index: 1;
}

.modal-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.modal-body {
    padding: 2rem;
}

.modal-title {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #666;
}

.modal-subtitle i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.ingredients, .instructions {
    margin-bottom: 2rem;
}

.section-heading {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}

ul, ol {
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

footer {
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    
}



.copyright {
    opacity: 0.8;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .dishes-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}
#map { 
    height: 500px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top: 1rem;
}
*{
  font-family: Arial, Helvetica, sans-serif;
}
