/* Resetting default browser styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body and typography */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333; /* Keeping the text color darker for readability */
    background-color: #f9fafb; /* Very light background */
}

/* Container for centering content */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

/* Header and navigation styles */
.header {
    background-color: #fff; /* White background */
    border-bottom: 3px solid #51C74F; /* Slick green border */
    padding: 1rem 0;
}

.header__container {
    display: flex;
    justify-content: space-between; /* Aligns items to each end */
    align-items: center;
}

.logo {
    height: 60px; /* Adjust size as necessary */
}

.nav {
    display: flex;
    align-items: center;
}

.nav__toggle {
    display: none;
    cursor: pointer;
}

.nav__toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.4s;
}

.nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    padding-left: 0; /* Removes default padding */
}

.nav__item a {
    color: #5a5a5a; /* Softer color than black */
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 600; /* Thicker font */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.nav__item a:hover, .nav__item a:focus {
    color: #51C74F; /* Highlight color on hover/focus */
    text-decoration: underline; /* Underline on hover for added emphasis */
    text-underline-offset: 3px; /* Adjusts the position of the underline */
}



/* Hero section styles */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent; /* Lighter green overlay with more transparency */
    z-index: 1;
}


.hero__container {
    position: relative;
    z-index: 2;
}

.hero__title {
    font-family: 'Merriweather', serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #794A20; /* Brown text */
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #794A20; /* Brown text */
}
.carousel {
    display: flex;
    transition: transform 1s ease;
}

.carousel__slide {
    min-width: 100%;
    height: 500px; /* Adjust as needed */
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    transition: transform 0.7s ease;
    position: relative; /* For positioning the caption */
    cursor: pointer;
}
.carousel__slide::before {
    display: none; /* Hide the pseudo-element if it exists */
}

.carousel__caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white; /* Adjust color as needed */
    text-decoration: none; /* Remove underline from links */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    padding: 0.5rem; /* Padding around the text */
    border-radius: 10px; /* Optional: rounded corners */
}

.carousel__caption h2 {
    font-size: 2rem; /* Adjust size as needed */
    margin-bottom: 0.5rem;
}

.carousel__caption p {
    font-size: 1.2rem; /* Adjust size as needed */
}


/* Optional: Add a hover effect */
.carousel__caption:hover {
    text-decoration: underline; /* Adds underline on hover */
}

.carousel__prev, .carousel__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: white;
    background-color: transparent;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.carousel__prev { left: 10px; }
.carousel__next { right: 10px; }
/* Button styles */
.btn {
    background: transparent; /* Clear background */
    color: #51C74F; /* Green text to match your theme */
    border: 2px solid #51C74F; /* Green border */
    padding: 0.75rem 1.5rem;
    border-radius: 25px; /* Rounded edges for a modern look */
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
}

.btn--primary:hover {
    background: #51C74F; /* Green background on hover */
    color: #fff; /* White text on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Footer styles */
.footer {
    background-color: #333; /* Dark background for modern look */
    color: white; /* White text for contrast */
    padding: 2rem 0;
    text-align: center;
}

.footer__container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer__about, 
.footer__links, 
.footer__contact, 
.footer__social {
    margin: 1rem;
    flex-basis: 22%; /* Adjust the width of each section */
}

.footer h3 {
    margin-bottom: 0.5rem;
    color: #51C74F; /* Maintaining theme color */
    font-size: 1.2rem; /* Larger font size for headings */
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #51C74F; /* Green on hover */
}

.footer__social img {
    width: 32px; /* Adjust size as needed */
    height: 32px; /* Adjust size as needed */
    margin: 0 10px;
    vertical-align: middle; /* Aligns images with text */
}


.social-media {
    list-style: none;
    display: flex;
    justify-content: center;
}

.social-media__item {
    margin: 0 10px;
}

.social-media__link {
    color: #794A20; /* Brown links */
    text-decoration: none;
}

.social-media__link:hover {
    color: #f8f8f8; /* Light color on hover */
}
.nav__list_small{
    display:none;
}
/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    .nav__toggle {
        display: block;
    }

    .nav__list_small {
        position: fixed;
        top: 0;
        left: 140px;
        max-width: 140px;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9); /* Example background */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }
    .nav__list{
        display: none;
    }

    .nav__item {
        text-align: center;
        padding: 1rem;
    }

    .nav__list.active {
        display: flex;
    }
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    .footer__container {
        flex-direction: column;
        align-items: center;
    }

    .footer__about, 
    .footer__links, 
    .footer__contact, 
    .footer__social {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
}


.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.card {
    width: 30%; /* Adjusted for 3 cards in a row */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease, border 0.3s ease;
    margin-bottom: 20px;
    cursor: pointer;
    border: 2px solid transparent;
}
.recipes-section {
    padding: 20px 0;
    background-color: #f8f8f8;
}

.recipes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin:10px;
}

.recipe-card {
    width: 30%; /* Adjusted for 3 cards in a row */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease, border 0.3s ease;
    margin-bottom: 20px;
    cursor: pointer;
    border: 2px solid transparent;
}

.recipe-card:hover {
    transform: scale(1.05);
    border: 1px solid #51C74F;
}

.recipe-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recipe-content {
    padding: 15px;
}

.recipe-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.recipe-content p {
    margin: 0;
    font-size: 0.9em;
}

/* Responsive Design: Adjust for smaller screens */
@media (max-width: 768px) {
    .card {
        width: 100%; /* Full width for smaller screens */
    }
    .recipe-card {
        width:100%;
    }
}

.card img {
    width: 100%;
    height: 200px; /* Fixed height for all images */
    object-fit: cover; /* Ensures images cover the area nicely */
    display: block;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.3);
    border-color: green;
}

.card-content {
    padding: 2px 16px;
}

.card-content h3 {
    margin-top: 16px;
    margin-bottom: 15px;
}

.card-content p {
    font-size: 15px;
    color: #333;
}















.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 4px auto;
    padding: 8px;
    border: 1px solid #888;
    width: 98%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}




.contact-form form {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    display: block;
    margin-bottom: .5rem;
}

.contact-form input[type='text'],
.contact-form input[type='email'],
.contact-form textarea {
    width: 100%;
    padding: .8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
}

.contact-form button {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
}

.contact-info {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    margin-top: 0;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    margin-bottom: 1rem;
}

.contact-info a {
    color: #333;
}



.about-section {
    background-color: #fff;
    margin: 2rem;
    padding: 2rem;
    max-width: 800px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.about-section h2 {
    color: #333;
    margin-top: 0;
}

.about-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Hamburger Menu Button Style */
.hamburger-menu{
    display: none; /* Hidden by default */
    border: none;
    background-color: transparent;
}

.hamburger-menu button{
    border: none;
    background-color: transparent;
}

/* Menu Container Style */
.menu-container {
    display: block; /* Visible on desktop */
    /* Add styles for your menu */
}

/* Mobile View Styles */
@media screen and (max-width: 768px) {
    .hamburger-menu{
        display: block; /* Show button on mobile */
    }

    .menu-container {
        display: none; /* Hide menu by default on mobile */
        /* Add mobile-specific styles */
    }
}

