/* =============================================
   Single Cuisine Page Styles
   ============================================= */

:root {
    --primary-color: #8B4513; /* Saddle Brown */
    --secondary-color: #DAA520; /* GoldenRod */
    --background-color: #fdfaf6;
    --text-color: #333;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --shadow: 0 4px Apx rgba(0, 0, 0, 0.05);
}

.single-cuisine-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.cuisine-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Image Gallery Section --- */
.cuisine-gallery img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* --- Details Content Section --- */
.cuisine-details-content {
    display: flex;
    flex-direction: column;
}

.cuisine-title {
    font-family: 'Lora', serif;
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.cuisine-meta {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.price-tag {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.rating-container {
    margin-bottom: 25px;
    font-size: 1.3rem;
}
.rating-container .fa-star {
    color: #f5c518;
    cursor: pointer;
    transition: transform 0.2s;
}
.rating-container .fa-star:hover {
    transform: scale(1.2);
}
.rating-text {
    margin-left: 10px;
    color: #555;
    font-weight: bold;
}

/* --- Action Buttons --- */
.actions-bar {
    margin-bottom: 30px;
}

.btn-add-to-cart-single {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-add-to-cart-single:hover {
    background-color: #6a350e; /* Darker brown */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

/* --- Description & Recipe --- */
.cuisine-section {
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.cuisine-section h2 {
    font-family: 'Lora', serif;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cuisine-section p, .recipe-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.recipe-text {
    white-space: pre-wrap; /* Allows line breaks and spacing */
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
}

/* --- Not Found Message --- */
.not-found-container {
    text-align: center;
    padding: 80px 20px;
}
.not-found-container h1 {
    color: var(--primary-color);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .cuisine-article {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .cuisine-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .cuisine-article {
        padding: 20px;
    }
    .single-cuisine-container {
        padding: 10px;
        margin-top: 20px;
    }
}