/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    padding-top: 20px;
    overflow-x: hidden;
}

/* Container for center alignment */
.container {
    width: 85%;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #4CAF50;
    color: white;
    padding: 40px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Featured Image */
/* Main Container for Image and Text */
.image-content-wrapper {
    display: flex;
    flex-wrap: wrap; /* Ensures responsiveness */
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    padding: 0 20px;
}

/* Image Styling */
/* Wrapper for the images */
.dance-images {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin: 30px 0;
}

/* Styling each image container */
.dance-image {
    position: relative;
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Styling the image */
.dance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Shake effect on hover */
.dance-image:hover {
    animation: vibrate 0.3s ease-in-out;
}

/* Shake effect (vibrate) */
@keyframes vibrate {
    0% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    50% { transform: translateX(8px); }
    75% { transform: translateX(-8px); }
    100% { transform: translateX(0); }
}

/* Dance effect on click */
.dance-image:active {
    animation: dance 1s ease-out forwards; /* Playful dance */
}

/* Animation for the dance effect */
@keyframes dance {
    0% { transform: translateY(0) rotate(0deg); }
    20% { transform: translateY(-10px) rotate(10deg); }
    40% { transform: translateY(10px) rotate(-10deg); }
    60% { transform: translateY(-5px) rotate(5deg); }
    80% { transform: translateY(5px) rotate(-5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Bounce effect when clicked */
.dance-image:active img {
    transform: scale(1.1); /* Bounce */
}


/* Text Content Styling */
.text-content {
    flex: 1 1 50%; /* Takes up remaining 50% of space */
    max-width: 600px;
}

.text-content h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

/* Mobile-Friendly Layout */
@media (max-width: 768px) {
    .image-container {
        flex: 1 1 100%; /* Image takes full width */
        max-width: 100%;
    }

    .text-content {
        flex: 1 1 100%; /* Text also takes full width */
        max-width: 100%;
    }

    .text-content h1 {
        font-size: 1.5rem;
    }

    .text-content p {
        font-size: 1rem;
    }
}


/* Intro Section */
.intro {
    background-color: #f4f4f4;
    padding: 20px 0;
}

.intro p {
    font-size: 1.1rem;
    text-align: center;
    margin: 0 0 20px;
}

/* Foods Section */
.foods {
    padding: 40px 0;
    background-color: #fafafa;
}

.food-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.food-item h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.food-item i {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 10px;
}

.food-item p {
    font-size: 1.1rem;
    color: #555;
}

.fun-fact {
    font-style: italic;
    color: #777;
}

/* Key Takeaways */
.key-takeaways {
    background-color: #f0f0f0;
    padding: 40px 0;
}

.key-takeaways h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.summary-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin: 10px;
    width: 200px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.summary-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.summary-item p {
    font-size: 1.1rem;
    color: #666;
}

/* FAQ Section Styling */
.faq-section {
    margin: 30px auto;
    padding: 0 20px;
    max-width: 800px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* FAQ Item Styling */
.faq-item {
    margin: 10px 0;
}

.faq-question {
    width: 100%;
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    font-size: 1.2rem;
    text-align: left;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #45a049;
}

/* FAQ Answer Styling */
.faq-answer {
    display: none;
    padding: 15px;
    background-color: #f1f1f1;
    margin-top: 10px;
    border-radius: 8px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s, transform 0.5s;
}

/* When answer is revealed */
.faq-answer.show {
    display: block;
    opacity: 1;
    transform: scale(1);
}

/* Mobile-Friendly */
@media (max-width: 768px) {
    .faq-section {
        padding: 0 15px;
    }
}


/* Reading Progress Bar */
#progress-bar {
    width: 100%;
    height: 5px;
    background-color: #4CAF50;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    .summary {
        flex-direction: column;
        align-items: center;
    }

    .summary-item {
        width: 80%;
    }

    .food-item h2 {
        font-size: 1.5rem;
    }

    .cta p {
        font-size: 1.3rem;
    }

    .social-share a {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .food-item h2 {
        font-size: 1.3rem;
    }

    .food-item i {
        font-size: 2rem;
    }

    .summary-item {
        width: 90%;
    }
}
/* Navbar Styling */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.6); /* Transparent background */
    padding: 10px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar:hover {
    background: rgba(0, 0, 0, 0.8); /* Darker on hover */
}

.navbar .logo a {
    font-size: 1.8em;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-size: 1.1em;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #f1c40f;
    transform: scale(1.1); /* Slight scale effect on hover */
}

.nav-links i {
    margin-right: 8px;
}

/* Mobile Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 4px;
    background-color: white;
    margin: 4px 0;
}

/* Responsive Design for Mobile */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* Smooth Scroll Effect */
html {
    scroll-behavior: smooth;
}
/* General styling for the food-item container */
.food-item {
    border: 1px solid #ddd; /* Add a subtle border around each food item */
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px; /* Rounded corners for a softer look */
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add slight shadow for depth */
}

/* Styling for the images inside food-item */
.food-image {
    width: 100%; /* Make images responsive */
    max-width: 300px; /* Limit the size */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners for the images */
    margin: 10px 0; /* Add spacing around the image */
    display: block; /* Center the image */
    margin-left: auto;
    margin-right: auto;
}

/* Adjustments for the heading */
.food-item h2 {
    font-size: 1.5em;
    color: #333; /* Dark gray for better readability */
    margin-bottom: 10px;
}

/* Fun fact section styling */
.fun-fact {
    font-size: 1em;
    color: #555; /* Subtle gray text for the fun fact */
    background-color: #fffbea; /* Light yellow background for highlighting */
    padding: 10px;
    border-left: 4px solid #ffcc00; /* Highlight with a left border */
    margin-top: 10px;
    border-radius: 5px;
}

/* General paragraph styling */
.food-item p {
    font-size: 1em;
    line-height: 1.6;
    color: #444;
}

/* Add hover effect for better user interaction */
.food-item:hover {
    transform: scale(1.02); /* Slightly enlarge on hover */
    transition: 0.3s ease-in-out; /* Smooth transition */
    background-color: #fff; /* Brighter background on hover */
}
/* General styling for food items */
.food-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.food-item:hover {
    background-color: #eef9f5;
}

/* Food item titles and icons */
.food-item h2 {
    font-size: 24px;
    font-weight: bold;
    color: #2a2a2a;
    margin-bottom: 10px;
}

.food-item i {
    color: #4caf50;
    margin-right: 10px;
}

/* Description paragraph */
.food-item .description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

/* Fun fact styling */
.food-item .fun-fact {
    font-size: 14px;
    color: #888;
    font-style: italic;
}

/* Recipe section styling */
.food-item .recipe {
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.food-item .recipe-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

/* Ingredients list styling */
.food-item .ingredients {
    font-size: 16px;
    margin-bottom: 15px;
}

.food-item .ingredients li {
    margin-left: 20px;
    list-style-type: disc;
}

/* Instructions list styling */
.food-item .instructions {
    font-size: 16px;
}

.food-item .instructions li {
    margin-bottom: 8px;
}

/* ID specific styling */
#avocado {
    border-left: 5px solid #4caf50;
}

#carrot {
    border-left: 5px solid #ff9800;
}

#citrus-fruits {
    border-left: 5px solid #ff5722;
}

#honey {
    border-left: 5px solid #ffeb3b;
}

#ginger {
    border-left: 5px solid #8bc34a;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .food-item {
        padding: 15px;
        margin: 10px 0;
    }

    .food-item h2 {
        font-size: 20px;
    }

    .recipe-title {
        font-size: 18px;
    }

    .ingredients, .instructions {
        font-size: 14px;
    }
}
/* A.M links */
/* Affiliate Products Section */
.affiliate-products {
    padding: 40px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.affiliate-products .container {
    max-width: 1200px;
    margin: 0 auto;
}

.affiliate-products h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: bold;
}

/* Product Boxes */
.product-box {
    display: inline-block;
    width: 22%;
    margin: 0 1.5%;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.product-box:hover {
    transform: translateY(-10px);
}

/* Product Image */
.product-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Product Name */
.product-box h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

/* Product Description */
.product-box p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

/* Affiliate Link */
.affiliate-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073e6;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.affiliate-link:hover {
    background-color: #005bb5;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .product-box {
        width: 48%;
        margin: 0 1%;
    }
}

@media screen and (max-width: 480px) {
    .product-box {
        width: 100%;
        margin: 10px 0;
    }
}
  /* Pagination Section Styling */
  .pagination-section {
    margin-top: 30px;
    text-align: center;
    background: linear-gradient(135deg, #f7f9fc, #dce3f1);
    padding: 20px 10px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pagination-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.pagination-button {
    text-decoration: none;
    background: #6c63ff;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(108, 99, 255, 0.4);
}

.pagination-button i {
    font-size: 20px;
}

.pagination-button:hover {
    background: #4e49c9;
    box-shadow: 0 6px 12px rgba(78, 73, 201, 0.5);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .pagination-button {
        font-size: 16px;
        padding: 10px 20px;
    }
    .pagination-button i {
        font-size: 18px;
    }
}