/* Main CSS for MewSnow Recipe Blog */
:root {
    --primary-color: #ff6b6b; /* Soft Red/Coral for food */
    --secondary-color: #4ecdc4; /* Soft Teal */
    --accent-color: #f7fff7;
    --dark-color: #2d3436;
    --light-color: #f9f9f9;
    --body-font: 'Inter', sans-serif;
    --heading-font: 'Playfair Display', serif;
}

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--dark-color);
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-family: var(--heading-font);
    font-weight: 900;
    color: var(--primary-color) !important;
    font-size: 1.8rem;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url('https://images.unsplash.com/photo-1543353071-873f17a7a088?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
}

/* Recipe Cards */
.recipe-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.recipe-card:hover {
    transform: translateY(-5px);
}

.recipe-card img {
    height: 250px;
    object-fit: cover;
}

.recipe-card .card-body {
    padding: 1.5rem;
}

.recipe-card .card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.recipe-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0 30px;
}

footer h5 {
    color: #fff;
    margin-bottom: 20px;
}

footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #3d4648;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #95a5a6;
}

/* Recipe Page Styles */
.recipe-header {
    margin-bottom: 3rem;
}

.recipe-meta {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.recipe-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.recipe-img-main {
    border-radius: 20px;
    width: 100%;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.recipe-content {
    font-size: 1.1rem;
    color: #2c3e50;
}

.ingredients-box {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.instructions-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.instructions-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 1.5rem;
}

.instructions-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.expert-tips {
    background-color: #f0f4f8;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.expert-tips h4 {
    color: var(--secondary-color);
}

.faq-section {
    margin-top: 4rem;
}

.accordion-button:not(.collapsed) {
    background-color: #f7fff7;
    color: var(--dark-color);
}

.rating-stars {
    color: #f1c40f;
    font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    .recipe-card img {
        height: 200px;
    }
}
