/* Css for mywebiste with warm colors with a blog style*/

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header area */
header {
    background-color: #ff7f50; 
    color: white;
    padding: 1rem;
    text-align: center;
}

header h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    letter-spacing: 2px;
}

/* Nav for the tabs*/
nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #add8e6; 
}

/* Main/Home content area for recipies */
main {
    padding: 2rem;
    background-color: #fff5e6; 
}
/* Main message*/
.welcome-message {
    text-align: center;
    padding: 3rem 20px;
    background-color: #f8f0e3;
    margin-bottom: 3rem;
}

.welcome-message h2 {
    font-size: 2.5rem;
    color: #8b4513; 
    margin-bottom: 1rem;
    font-family: 'Dancing Script', sans-serif; 
}

.welcome-message p {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}
/* Thumbnail Css */
.thumbnail {
    text-align: center;
    margin: 20px 0;
}

.thumbnail-img {
    width: 65%;
    max-width: none;
    height: auto;
    border-radius: 8px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail-img:hover {
    transform: scale(1.05);
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
}

/* All the main featured recipes and puctures*/
.featured-recipes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    padding: 2rem;
    background-color: #fff5e6;
}

.featured-recipes h2 {
    font-size: 2rem;
    margin-bottom: 0rem;
    color: #8b4513;
}

.recipe {
    display: inline-block;
    width: 50%;
    margin: 2rem;
    text-align: center;
}

.recipe img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.recipe h3 {
    margin-top: 10px;
    font-size: 1.5rem;
}

.recipe p {
    font-size: 1.1rem;
    color: #555;
}

.recipe a {
    text-decoration: none;
    color: #ff7f50;
    font-weight: bold;
}

.recipe {
    background: #f8f0e3;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 300px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1)
}

.recipe img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.recipe a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #ff7f50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.recipe {
    min-width: 200px;       
    max-width: 250px;          
}

.recipe a:hover {
    background: #e67340;
}

/*Breakfast/Lunch/Dinner/Desserts/Snacks&Sharables css*/

.recipe-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.recipe-image {
    flex: 1;
    max-width: 400px;
}

.recipe-image img {
    width: 100%;
    border-radius: 10px;
}

.recipe-details {
    flex: 1;
    padding: 20px;
}

.recipe-details h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #8b4513;
}

.recipe-details h3 {
    color: #d2691e;
    margin-top: 15px;
}

.recipe-details ul, .recipe-details ol {
    padding-left: 20px;
}

.recipe-details ul li, .recipe-details ol li {
    margin-bottom: 8px;
}
.recipe-credit {
    display: block;
    margin-top: 20px;
    font-size: 1.1rem;
    color: #b75d29;
    text-decoration: none;
    font-family: 'Lora', serif;
    font-weight: bold;
    text-align: center;
}

.recipe-credit:hover {
    color: #e07b3c;
    text-decoration: underline;
}

/*FAQs Css*/
.faq-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #fff8f0;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-container h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    text-align: center;
    color: #a0522d;
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-left: 4px solid #ffa07a;
    background-color: #fff;
    border-radius: 8px;
}

.faq-item h3 {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.faq-item p {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}
/*FAQs Hover*/
.faq-item:hover {
    background-color: #ffe4d1;
    transform: scale(1.02);
    transition: all 0.3s ease;
    cursor: pointer;
}
/* Css style for Contact*/
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff8f0;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-container h2 {
    font-family: 'Emblema One', cursive;
    color: #d2691e;
    text-align: center;
    margin-bottom: 1rem;
}

.contact-container p {
    font-family: 'Lora', serif;
    color: #5c4033; /* Brown */
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form label {
    font-weight: bold;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 1rem;
}

.contact-form button {
    padding: 0.8rem;
    background-color: #4682b4;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #3b6e99;
}
/*Contact message*/
#message-container {
    font-size: 1.2rem;
    padding: 10px;
    margin-top: 20px;
    border-radius: 5px;
    text-align: center;
    color: #155724;
}

/* Footer for the website */
footer {
    background-color: #8b4513; 
    color: white;
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Mobile and desktop versions */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    nav ul {
        flex-direction: column;
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .recipe-list h2 {
        font-size: 2rem;
    }

    .recipe-list p {
        font-size: 1rem;
    }
    .featured-recipes {
    flex-direction: column;
    align-items: center;
}
    .recipe {
    width: 80%;
    margin: 1rem 0;
  }
}
/*Mobile video*/
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  margin: 1em 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


@media (min-width: 1000px) {
    header h1 {
        font-size: 2rem;
    }

    nav ul li a {
        font-size: 1rem;
    }

    .recipe-list h2 {
        font-size: 1.5rem;
    }

    .recipe-list p {
        font-size: 1rem;
    }
}
