/* Side Navigation */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: white;
    padding: 25px;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.logo {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.logo .tagline {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-bottom: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.nav-links a:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.nav-links i {
    margin-right: 15px;
    width: 25px;
    text-align: center;
    font-size: 1.2rem;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding: 30px;
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Search Section */
.search-section {
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.search-section h3 {
    margin-bottom: 20px;
    color: #1a2a6c;
    font-weight: 600;
}

.search-section .form-control {
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.search-section .form-control:focus {
    border-color: #1a2a6c;
    box-shadow: none;
}

/* Categories, Areas, and Ingredients Sections */
.categories-section,
.area-section,
.ingredients-section {
    margin-bottom: 40px;
}

.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card-title {
    color: #1a2a6c;
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.contact-form .form-control {
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #1a2a6c;
    box-shadow: none;
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26,42,108,0.3);
}

/* Recipes Container */
.recipes-container {
    margin-top: 40px;
}

.meal-card {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.meal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.meal-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.meal-card .card-body {
    padding: 20px;
}

.meal-card h5 {
    margin-bottom: 10px;
    color: #1a2a6c;
    font-weight: 600;
}

/* Recipe Details Modal */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 20px 30px;
}

.modal-body {
    padding: 30px;
}

.modal-body img {
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

#mealDetails {
    padding: 20px;
}

#mealDetails h6 {
    margin-bottom: 15px;
    color: #1a2a6c;
    font-weight: 600;
}

#mealDetails p {
    color: #666;
    line-height: 1.6;
}

#mealDetails ul {
    list-style: none;
    padding: 0;
}

#mealDetails ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

#mealDetails .btn {
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .side-nav {
        width: 80px;
        padding: 15px;
    }

    .side-nav .logo h2,
    .side-nav .logo .tagline {
        display: none;
    }

    .nav-links a span {
        display: none;
    }

    .nav-links i {
        margin-right: 0;
        font-size: 1.4rem;
    }

    .main-content {
        margin-left: 80px;
        padding: 20px;
    }

    .search-section,
    .contact-form {
        padding: 20px;
    }
} 