/* Custom styles for the Tasty Recipes app */

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #ffa36b;
    --light-color: #fff7e9;
    --dark-color: #1f2937;
}

body {
    background-color: var(--light-color);
    color: var(--dark-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    background-color: var(--primary-color);
}

.navbar-brand, .nav-link {
    color: white !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    margin-top: 40px;
}

/* Recipe page specific styles */
.ingredients-list {
    list-style-type: none;
    padding-left: 0;
}

.ingredients-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.ingredients-list li:last-child {
    border-bottom: none;
}

.instruction-step {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.instruction-step p {
    margin-bottom: 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

