:root {
    --primary-color: #ff6b35;
    --secondary-color: #2ec4b6;
    --accent-color: #f9c80e;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
}

header {
    background-color: var(--primary-color);
    padding: 1rem;
    color: white;
    text-align: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

nav {
    background-color: var(--secondary-color);
    padding: 1rem;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

nav li {
    margin: 0 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.intro {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.intro-text-box {
    background-color: #e8f4f3;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 850px;
    margin: 1rem auto 2rem auto;
}

.fruit-list-section {
    text-align: center;
    margin: 2.5rem auto;
    padding: 1rem;
    max-width: 700px;
}

.fruit-list-section h2 {
    font-family: 'Georgia', Times, serif;
    font-size: 1.9rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.fruit-list-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
}

.fruit-list-section a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--secondary-color);
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
}

.fruit-list-section a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

html {
    scroll-behavior: smooth;
}

/* Ad/Promo Container Styles from fruit-en-F.css */
.container-wrapper {
    display: flex;
    gap: 30px;
    margin: 3rem auto;
    max-width: 740px; /* Max width for the wrapper */
    background-color: var(--light-bg); /* Or transparent if preferred */
    padding: 20px; /* Padding around the two boxes */
    border-radius: 10px; /* Rounded corners for the wrapper */
    align-items: flex-start; /* Align items at the top */
}

.benefit-container { /* For image/promo box */
    width: 340px; /* Fixed width */
    height: 280px; /* Fixed height */
    padding: 10px;
    box-sizing: border-box;
    text-align: left;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Aligns button to bottom */
    align-items: center; /* Centers button horizontally */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.benefit-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.benefit-containeur.ad-container { /* For AdSense box */
    width: 336px; /* AdSense unit width */
    height: 280px; /* AdSense unit height */
    box-sizing: content-box; /* Important for AdSense if it adds padding/border */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white); /* Or light grey to see boundaries */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden; /* To contain the ad */
}


.button {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
    margin-top: 10px; /* Added margin for spacing inside benefit-container */
    margin-bottom: 10px; /* Added margin for spacing inside benefit-container */
}

.button:hover {
    background-color: var(--secondary-color);
}

/* Styles for general content blocks */
.content-block {
    background-color: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.content-block h2 {
    color: var(--primary-color);
    font-size: 2rem; /* Slightly larger for section titles */
    margin-bottom: 1.5rem; /* Increased margin */
    padding-bottom: 0.75rem; /* Increased padding */
    border-bottom: 2px solid var(--secondary-color);
    font-family: 'Georgia', Times, serif; /* Match anchor list h2 */
}

.content-block p, .content-block ul {
    margin-bottom: 1rem;
    font-size: 1.05rem; /* Slightly larger text for readability */
}

.content-block ul {
    padding-left: 20px;
}

.content-block li {
    margin-bottom: 0.5rem;
}

.content-block strong {
    color: var(--secondary-color); /* Emphasize keywords */
}

.content-block a {
    color: var(--primary-color);
    text-decoration: underline;
}
.content-block a:hover {
    color: var(--secondary-color);
}

img.inline-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem auto; /* Center image if it's block */
    display: block; /* For auto margin centering */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.image-caption {
    font-size: 0.9em;
    color: #777;
    text-align: center;
    margin-top: -0.5rem; /* Pull up slightly under image */
    margin-bottom: 1.5rem; /* Space after caption */
}

/* Styles for the two-column fruit list */
.fruit-list-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Increased gap */
    margin-top: 1.5rem; /* Increased margin */
}

.fruit-list-column {
    flex: 1;
    min-width: 280px; /* Slightly larger min-width */
    background-color: #fdfdfd; /* Very light off-white */
    padding: 1.5rem 2rem; /* Increased padding */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent-color); /* Accent border */
}

.fruit-list-column h4 {
    color: var(--primary-color);
    font-size: 1.4rem; /* Larger heading for columns */
    margin-bottom: 1.2rem; /* Increased margin */
}

.fruit-list-column ul {
    list-style: none;
    padding-left: 0;
}

.fruit-list-column li {
    margin-bottom: 0.6rem; /* Slightly more spacing */
    padding-left: 1.8em; /* More space for icon */
    position: relative;
    font-size: 1rem;
}

.fruit-list-column li::before {
    content: '•'; /* Default fruit icon */
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--secondary-color);
    font-size: 1.1em; /* Slightly larger icon */
}

/* Ad container for wide ad (e.g., 728x90 or fluid) */
.wide-ad-container {
    margin: 2rem auto; /* Centering and spacing */
    padding: 1rem 0;
    background-color: var(--white); /* Optional background */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Subtle shadow */
    border-radius: 8px;
    text-align: center; /* Center the ad if it's not already block */
    max-width: 750px; /* Max width to contain ad */
}


/* Footer Styles */
footer {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.copyright {
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--secondary-color);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100; /* Ensure dropdown is on top */
    border-radius: 0 0 5px 5px;
}

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

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: rgba(255,255,255,0.1);
}

.dropdown > a:after { /* Target only the main dropdown link */
    content: " ▼";
    font-size: 0.7em;
    vertical-align: middle;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    .content-block h2 {
        font-size: 1.6rem;
    }
    .fruit-list-section h2 {
        font-size: 1.5rem;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav li {
        margin: 0.5rem 0;
    }
    .container-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 15px;
        gap: 20px;
    }
    .benefit-container,
    .benefit-containeur.ad-container {
        width: 100%; /* Full width on mobile */
        max-width: 340px; /* But not exceeding original intent */
    }
    .fruit-list-columns {
        flex-direction: column; /* Stack columns on smaller screens */
    }
    .fruit-list-column {
        min-width: 100%; /* Full width for stacked columns */
    }
}

@media (max-width: 480px) {
    .intro-text-box {
        padding: 1rem;
    }
    .content-block {
        padding: 1.5rem;
    }
    .fruit-list-column {
        padding: 1rem 1.5rem;
    }
}