body {
    margin: 0;
    padding: 0;
    font-family: "Raleway", sans-serif;
    background-color: #fff8f0;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 10px;
    font-family: "Merriweather", serif;
    text-align: left;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    background-color: #8DC6EC;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2rem;
    color: white;
}

nav {
    margin-left: auto;
}

nav ul {
    display: flex;               
    gap: 25px;               
    padding: 0;
    margin: 0;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

nav a:hover {
    opacity: 0.8;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    Margin: 0;
    Padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.nav-links > li {
    position: relative;
    color: black;
    Font-weight: bold;
    Padding: 8px 5px; 
    Display: inline-block;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: #fff8f0;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    top: 100%;
    left: 0;
    border: 1px solid #ccc;
    Min-width: 140px;
    Z-index: 10;
}

.dropdown-menu li {
    Display: block;
    padding: 5px 20px;
    White-space: nowrap;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a:hover {
    background: #f3f3f3;
}

main {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

section {
    margin-bottom: 50px;
}

section img {
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    height: 500px;
}

article {
    background: #e07b5c;
    padding: 20px;
    margin-top: 25px;
    text-align: center;
}

article h3 {
    margin-top: 10px;
    text-align: center;
}

.recipe-page-container {
    background-color: #e07b5c;
    padding: 30px;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.recipe-page-container h1 {
    text-align: center;
    color: #fff8f0;
    margin-bottom: 20px;
}

.recipe-page-container img.recipe-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 30px auto;
    border-radius: 10px;
}

.recipe-page-container section {
    margin-bottom: 25px;
}

.recipe-page-container section article {
    background-color: #fff8f0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.recipe-page-container h2 {
    color: #d35400;
    margin-bottom: 10px;
}

.recipe-page-container ul,
.recipe-page-container ol {
    padding-left: 40px;
    margin-left: 0;
    text-align: left;
    list-style-position: outside;
}

.recipe-page-container p {
    line-height: 1.6;
}

.video-container {
    padding-bottom: 200px; 
    height: 400px;
    max-width: 100%;
    overflow: hidden;
}

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

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}


footer {
    background-color: #8DC6EC;
    color: white;
    padding: 30px 20px;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-left img {
    height: 40px;
    width: auto;
    margin-bottom: 10px;
    object-fit: contain;
}

.footer-left p {
    margin: 0;
    line-height: 1.5;
}

.footer-right {
    text-align: right;
    min-width: 120px;
}


input[type="radio"] {
    display: none;
}

.slider {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 40px auto;
    overflow: hidden;
    position: relative;
    Padding: 20 px;
}

.slides {
    display: flex;
    width: 100%;
    animation: slide 12s infinite;
}

.slide {
    width: 100%;
    flex-shrink: 0;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 500px;
    border-radius: 20px;
}

.slide h3 {
    margin-top: 15px;
    font-size: 1.4rem;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    user-select: none;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

@keyframes slide {
    0%   { transform: translateX(0); }
    30%  { transform: translateX(0); }

    33%  { transform: translateX(-100%); }
    63%  { transform: translateX(-100%); }

    66%  { transform: translateX(-200%); }
    96%  { transform: translateX(-200%); }

    100% { transform: translateX(0); }
}

.recipe-page {
    background-color: #ffe5b4;
    padding: 30px;
    max-width: 800px;
    width: 100%;
    margin: 20px auto;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.recipe-page h1 {
    text-align: center;
    color: #d35400;
}

.recipe-page .recipe-img {
    max-width: 100%;
    height: auto;
    border: 5px solid orange;
    border-radius: 10px;
    display: block;
    margin: 20px auto;
}

.recipe-page section {
    margin-bottom: 20px;
}

.recipe-page h2 {
    color: #d35400;
    margin-bottom: 10px;
}

.recipe-page ul, .recipe-page ol {
    padding-left: 20px;
}

.recipe-page p {
    line-height: 1.6;
}

.dessert-intro {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 40px;
}

.dessert-intro h1 {
    text-align: center;
    color: #e07b5c;
    margin-bottom: 15px;
    font-size: 2rem
}

.dessert-intro p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
}

.dessert-slides {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.dessert-slides .slide {
    display: block;
    width: 600px;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.dessert-slides .slide img {
    width: 100%;
    transition: transform 0.3s ease;
}

.dessert-slides .slide:hover img {
    transform: scale(1.05);
}

.dessert-slides h3 {
    margin-top: 10px;
    color: #e07b5c;
    font-size: 1.2rem;
}

.entree-intro {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 40px;
}

.entree-intro h1 {
    text-align: center;
    color: #e07b5c;
    margin-bottom: 15px;
    font-size: 2rem;
}

.entree-intro p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
}

.entree-slides {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.entree-slides .slide {
    display: block;
    width: 600px;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.entree-slides .slide img {
    width: 100%;
    transition: transform 0.3s ease;
}

.entree-slides .slide:hover img {
    transform: scale(1.05);
}

.entree-slides h3 {
    margin-top: 10px;
    color: #e07b5c;
    font-size: 1.2rem;
}

.breakfast-intro {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 40px;
}

.breakfast-intro h1 {
    text-align: center;
    color: #e07b5c;
    margin-bottom: 15px;
    font-size: 2rem;
}

.breakfast-intro p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
}

.breakfast-slides {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.breakfast-slides .slide {
    display: block;
    width: 600px;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.breakfast-slides .slide img {
    width: 100%;
    transition: transform 0.3s ease;
}

.breakfast-slides .slide:hover img {
    transform: scale(1.05);
}

.breakfast-slides h3 {
    margin-top: 10px;
    color: #e07b5c;
    font-size: 1.2rem;
}


.about-container {
    max-width: 700px;
    margin: 60px auto;
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;  
    gap: 30px;
    padding: 20px;
}

.about-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-text h1 {
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.about-photo {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-photo img {
    width: 280px;      
    height: 280px;
    border-radius: 50%;     
    object-fit: cover;   
    border: 8px solid #e07b5c; 
    display: block;
}

.contact-header {
    max-width: 600px;
    margin: 30px auto; 
    padding: 20px;
    color: #333;
    Text-align: center;
}

.contact-header h2 {
    Text-align: center;
}

.contact-info {
    max-width: 600px;
    margin: 30px auto; 
    padding: 20px;
    font-family: 'Helvetica Neue', sans-serif;
    color: #333;
    Text-align: center;
}

.contact-info p {
    margin: 5px 0;
    line-height: 1.6;
}


.recipe-form-section {
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
  background-color: #e07b5c;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
}

.recipe-form-section h2 {
  text-align: center;
  color: #fff8f0;
  margin-bottom: 25px;
  font-size: 2rem;
}

.recipe-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.recipe-form input[type="text"],
.recipe-form input[type="email"],
.recipe-form textarea,
.recipe-form input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 20px;
  border: 1px solid #e7cfc1;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.recipe-form textarea {
  resize: vertical;
  background-color: #fff8f0;
}

.recipe-form button {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #fff8f0;
  color: #333;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.recipe-form button:hover {
  background-color: #8DC6EC;
  color: #fff8f0;
}

@media (max-width: 1024px) {
    main {
        padding: 15px;
    }

    .navbar {
        padding: 10px 20px;
    }

    .nav-links {
        gap: 20px;
    }

    section img {
        height: 400px;
    }

    .slide img {
        height: 400px;
    }

    .dessert-slides .slide,
    .entree-slides .slide,
    .breakfast-slides .slide {
        width: 500px;
    }

    .video-container iframe {
        width: 150%;
        height: 500px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.6rem;
    }

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    main {
        margin: 20px auto;
    }

    section img {
        height: 300px;
    }

    .slide img {
        height: 300px;
    }

    .dessert-slides,
    .entree-slides,
    .breakfast-slides {
        flex-direction: column;
        gap: 20px;
    }

    .dessert-slides .slide,
    .entree-slides .slide,
    .breakfast-slides .slide {
        width: 100%;
    }

    .about-photo img {
        width: 220px;
        height: 220px;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.95rem;
    }

    header {
        padding: 15px;
    }

    header h1 {
        font-size: 1.4rem;
    }

    .nav-links {
        gap: 12px;
    }

    section img {
        height: 220px;
    }

    .slide img {
        height: 220px;
    }

    .recipe-page-container,
    .recipe-page,
    .recipe-form-section {
        padding: 20px;
        margin: 20px 10px;
    }

    .about-text h1 {
        font-size: 1.8rem;
    }

    .dessert-intro h1,
    .entree-intro h1,
    .breakfast-intro h1 {
        font-size: 1.6rem;
    }

    .video-container iframe {
        width: 120%;
        height: 350px;
    }
}
