/* Root Variables */
:root {
    --primary: #ff6b6b;
    --secondary: #4ecdc4;
    --accent: #ffe66d;
    --dark: #2d3436;
    --light: #f9f9f9;
    --success: #6bcd69;
    --warning: #ffa502;
    --h1-size: 2.8rem;
    --h2-size: 2.2rem;
    --body-size: 1.1rem;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 60px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: var(--body-size);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    background-color: white;
}

.hero h1 {
    font-size: var(--h1-size);
    margin-bottom: 1rem;
    color: var(--primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    max-width: 700px;
    color: var(--dark);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: var(--body-size);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
    background-color: #ff5252;
}

/* About Section */
.about {
    padding: 5rem 5%;
    background-color: white;
}

.about h2 {
    font-size: var(--h2-size);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary);
    position: relative;
}

.about h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: var(--body-size);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Recipes Section */
.recipes {
    padding: 5rem 5%;
    background-color: #f5f7fa;
}

.recipes h2 {
    font-size: var(--h2-size);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
}

.recipes h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.recipe-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 1rem;
}

.recipe-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.recipe-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.recipe-button:hover {
    background-color: #3dbdb5;
}

/* Shop Section */
.shop {
    padding: 5rem 5%;
    background-color: white;
}

.shop h2 {
    font-size: var(--h2-size);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 1rem;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.shop-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: var(--accent);
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.shop-button:hover {
    background-color: #ffd83d;
}

/* Newsletter Section */
.newsletter {
    padding: 5rem 5%;
    background-color: var(--primary);
    color: white;
    text-align: center;
}

.newsletter h2 {
    font-size: var(--h2-size);
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: var(--body-size);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px 0 0 50px;
    font-family: "Poppins", sans-serif;
    font-size: var(--body-size);
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-button {
    padding: 1rem 1.5rem;
    background-color: var(--accent);
    color: var(--dark);
    border: none;
    border-radius: 0 50px 50px 0;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: var(--body-size);
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background-color: #ffd83d;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background-color: #f5f7fa;
    text-align: center;
}

.contact h2 {
    font-size: var(--h2-size);
    margin-bottom: 3rem;
    color: var(--primary);
}

.contact p {
    font-size: var(--body-size);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    text-decoration: none;
    color: var(--dark);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

/* Footer */
footer {
    padding: 2rem 5%;
    background-color: var(--dark);
    color: white;
    text-align: center;
}
/* Background image for the welcome section */
.welcome-section {
  background-image: url('images/backgrounds/hero-background.png'); /* Path to your image */
  background-size: cover; /* Ensures the image covers the entire section */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  padding: 50px 20px; /* Adds spacing inside the section */
  text-align: center; /* Centers the text */
  color: white; /* Optional: Makes the text white for better contrast */
}

/* Menu bar styling */
.menu-bar {
  background-color: #ff6b6b; /* Same color as the welcome text */
  color: white; /* Makes the text white */
  padding: 10px 20px; /* Adds spacing inside the menu bar */
  display: flex; /* Ensures the menu items are aligned horizontally */
  justify-content: center; /* Centers the menu items */
}

.menu-bar a {
  color: white; /* Ensures menu links are white */
  text-decoration: none; /* Removes underline from links */
  margin: 0 15px; /* Adds spacing between menu items */
  font-weight: bold; /* Makes the text bold */
}

.menu-bar a:hover {
  text-decoration: underline; /* Adds underline on hover for better UX */
}
/* Floating Social Media Bar */
.social-sidebar {
    position: fixed; /* Keeps the sidebar fixed on the screen */
    left: 20px; /* Positions the sidebar 20px from the left edge */
    top: 50%; /* Centers the sidebar vertically */
    transform: translateY(-50%); /* Adjusts vertical alignment */
    display: flex; /* Ensures the buttons are stacked vertically */
    flex-direction: column; /* Aligns the buttons in a column */
    gap: 1rem; /* Adds spacing between the logos */
    z-index: 1000; /* Ensures the sidebar stays above other elements */
}

.social-sidebar .social-icon {
    display: block; /* Ensures the links are block-level elements */
    background: none; /* Removes any background */
    border: none; /* Removes any border */
    padding: 0; /* Removes any padding */
}

.social-sidebar .social-icon img {
    width: 40px; /* Sets the width of each logo */
    height: auto; /* Maintains the aspect ratio of the logo */
    display: block; /* Ensures the image is block-level */
    transition: transform 0.3s ease; /* Adds hover effects */
}

.social-sidebar .social-icon:hover img {
    transform: scale(1.2); /* Enlarges the logo slightly on hover */
}

/* Hide floating bar on mobile */
@media (max-width: 768px) {
    .social-sidebar {
        display: none; /* Hides the sidebar on smaller screens */
    }
}
/* Mobile-specific styles */
@media (max-width: 768px) {
    /* Adjust About Section layout */
    .about-content {
        flex-direction: column; /* Stack text and image vertically */
        gap: 2rem; /* Add spacing between text and image */
    }

    .about-image {
        width: 100%; /* Make the image take full width */
        transform: none; /* Remove rotation effect on mobile */
    }

    .about-image img {
        border-radius: 10px; /* Slightly rounded corners */
    }

    /* Hamburger Menu */
    .navbar {
        position: relative; /* Ensure proper positioning */
        height: auto; /* Adjust height for mobile */
        padding: 1rem; /* Add padding */
    }

    .hamburger {
        display: block; /* Show hamburger icon on mobile */
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--dark);
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .nav-links {
        display: none; /* Hide navigation links initially */
        flex-direction: column; /* Stack links vertically */
        gap: 1rem; /* Add spacing between links */
        background-color: var(--light); /* Background for dropdown */
        position: absolute;
        top: 100%; /* Position below the navbar */
        right: 0;
        width: 100%; /* Full width dropdown */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add shadow */
        padding: 1rem; /* Add padding */
    }

    .nav-links.active {
        display: flex; /* Show links when active */
    }

    .nav-links a {
        text-align: center; /* Center links */
        padding: 0.5rem 0; /* Add padding */
        font-size: 1.2rem; /* Increase font size for readability */
    }
}
/* Desktop-specific styles */
@media (min-width: 769px) {
    .hamburger {
        display: none; /* Hide hamburger menu on desktop */
    }

    .nav-links {
        display: flex; /* Ensure the original nav links are visible */
        flex-direction: row; /* Align links horizontally */
        gap: 2rem; /* Add spacing between links */
        position: static; /* Reset positioning */
        background: none; /* Remove background */
        box-shadow: none; /* Remove shadow */
        width: auto; /* Reset width */
        padding: 0; /* Reset padding */
    }
}
/* Mobile-specific styles */
@media (max-width: 768px) {
    .navbar {
        position: relative; /* Ensure proper positioning */
        height: auto; /* Adjust height for mobile */
        padding: 1rem; /* Add padding */
    }

    .hamburger {
        display: block; /* Show hamburger icon on mobile */
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--dark);
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .nav-links {
        display: none; /* Hide navigation links initially */
        flex-direction: column; /* Stack links vertically */
        gap: 1rem; /* Add spacing between links */
        background-color: var(--light); /* Background for dropdown */
        position: absolute;
        top: 100%; /* Position below the navbar */
        right: 0;
        width: 100%; /* Full width dropdown */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add shadow */
        padding: 1rem; /* Add padding */
    }

    .nav-links.active {
        display: flex; /* Show links when active */
    }

    .nav-links a {
        text-align: center; /* Center links */
        padding: 0.5rem 0; /* Add padding */
        font-size: 1.2rem; /* Increase font size for readability */
    }
}

/* Desktop-specific styles */
@media (min-width: 769px) {
    .hamburger {
        display: none; /* Hide hamburger menu on desktop */
    }

    .nav-links {
        display: flex; /* Ensure the original nav links are visible */
        flex-direction: row; /* Align links horizontally */
        gap: 2rem; /* Add spacing between links */
        position: static; /* Reset positioning */
        background: none; /* Remove background */
        box-shadow: none; /* Remove shadow */
        width: auto; /* Reset width */
        padding: 0; /* Reset padding */
    }
}
/* Root Variables */
:root {
    --primary: #ff6b6b;
    --secondary: #4ecdc4;
    --accent: #ffe66d;
    --dark: #2d3436;
    --light: #f9f9f9;
    --success: #6bcd69;
    --warning: #ffa502;
    --h1-size: 2.8rem;
    --h2-size: 2.2rem;
    --body-size: 1.1rem;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #4ecdc4;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.hamburger {
    display: none; /* Hidden by default */
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff6347;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .hamburger {
        display: block; /* Show hamburger menu on mobile */
    }

    .nav-links {
        display: none; /* Hide navigation links by default */
        flex-direction: column; /* Stack links vertically */
        gap: 1rem;
        background-color: #fff;
        position: absolute;
        top: 100%; /* Position below the navbar */
        right: 0;
        width: 100%; /* Full width dropdown */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }

    .nav-links.active {
        display: flex; /* Show links when active */
    }

    .nav-links a {
        text-align: center; /* Center links */
        padding: 0.5rem 0; /* Add padding */
        font-size: 1.2rem;
    }
}

/* Desktop-specific styles */
@media (min-width: 769px) {
    .hamburger {
        display: none; /* Hide hamburger menu on desktop */
    }

    .nav-links {
        display: flex; /* Ensure the original nav links are visible */
        flex-direction: row; /* Align links horizontally */
        gap: 2rem;
        position: static; /* Reset positioning */
        background: none; /* Remove background */
        box-shadow: none; /* Remove shadow */
        width: auto; /* Reset width */
        padding: 0; /* Reset padding */
    }
}
/* General Reset */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Floating Logo Styling */
.logo {
    position: fixed;
    top: 15px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logo img {
    width: 180px;
    height: 180px;
    border-radius: 25%;
    object-fit: cover;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #4ecdc4;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.hamburger {
    display: none; /* Hidden by default */
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff6347;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .hamburger {
        display: block; /* Show hamburger menu on mobile */
    }

    .nav-links {
        display: none; /* Hide navigation links by default */
        flex-direction: column; /* Stack links vertically */
        gap: 1rem;
        background-color: #fff;
        position: fixed; /* Fixed position for dropdown */
        top: 0;
        right: 0;
        height: 100%; /* Full height dropdown */
        width: 250px; /* Width of the dropdown */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 1rem;
        z-index: 999;
        transform: translateX(100%); /* Initially hidden off-screen */
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0); /* Slide in when active */
    }

    .nav-links a {
        text-align: left; /* Align links to the left */
        padding: 0.5rem 0; /* Add padding */
        font-size: 1.2rem;
    }
}

/* Desktop-specific styles */
@media (min-width: 769px) {
    .hamburger {
        display: none; /* Hide hamburger menu on desktop */
    }

    .nav-links {
        display: flex; /* Ensure the original nav links are visible */
        flex-direction: row; /* Align links horizontally */
        gap: 2rem;
        position: static; /* Reset positioning */
        background: none; /* Remove background */
        box-shadow: none; /* Remove shadow */
        width: auto; /* Reset width */
        padding: 0; /* Reset padding */
    }
}
/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between; /* Space between logo and hamburger/menu */
    align-items: center;
    padding: 1rem 5%;
    background-color: #4ecdc4; /* Bar color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Hamburger Menu */
.hamburger {
    display: none; /* Hidden by default on desktop */
    font-size: 1.5rem;
    cursor: pointer;
    color: #333; /* Change to a darker color for visibility */
    background-color: #fff; /* Add a background to make it stand out */
    padding: 0.5rem; /* Add padding for better clickability */
    border-radius: 5px; /* Slightly rounded edges */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow for visibility */
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .hamburger {
        display: block; /* Show hamburger menu on mobile */
        position: absolute; /* Position it inside the navbar */
        top: 50%; /* Center vertically */
        right: 1rem; /* Align to the right */
        transform: translateY(-50%); /* Adjust for centering */
    }

    .nav-links {
        display: none; /* Hide navigation links by default */
        flex-direction: column; /* Stack links vertically */
        gap: 1rem;
        background-color: #fff;
        position: fixed; /* Fixed position for dropdown */
        top: 0;
        right: 0;
        height: 100%; /* Full height dropdown */
        width: 250px; /* Width of the dropdown */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 1rem;
        z-index: 999;
        transform: translateX(100%); /* Initially hidden off-screen */
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0); /* Slide in when active */
    }

    .nav-links a {
        text-align: left; /* Align links to the left */
        padding: 0.5rem 0; /* Add padding */
        font-size: 1.2rem;
    }
}

/* Desktop-specific styles */
@media (min-width: 769px) {
    .hamburger {
        display: none; /* Hide hamburger menu on desktop */
    }

    .nav-links {
        display: flex; /* Ensure the original nav links are visible */
        flex-direction: row; /* Align links horizontally */
        gap: 2rem;
        position: static; /* Reset positioning */
        background: none; /* Remove background */
        box-shadow: none; /* Remove shadow */
        width: auto; /* Reset width */
        padding: 0; /* Reset padding */
    }
}
