/* style.css */

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc; /* Tailwind gray-50 */
    color: #1f2937; /* Tailwind gray-800 */
    overflow-x: hidden; /* Prevent horizontal scroll */
    margin: 0; /* Remove default body margin */
    padding: 0; /* Remove default body padding */
}

/* Style for the content container within each section */
.content-container {
    max-width: 800px; /* Adjust max width as needed */
    margin-left: auto;
    margin-right: auto;
    padding: 4rem 1rem; /* Increased top/bottom padding */
    width: 90%; /* Ensure some padding on smaller screens */
}

/* Section base styling */
.narrative-section {
    min-height: 90vh; /* Give sections more height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid #e5e7eb; /* Tailwind gray-200 */
    opacity: 0; /* Start hidden for animation */
    transform: translateY(30px); /* Start slightly lower */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Animation */
}

/* Style for when section becomes visible */
.narrative-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Specific section background colors */
#intro-hook {
    background-color: #ffffff; /* White */
    min-height: 100vh;
    display: flex; /* Ensure flex properties apply */
    align-items: center; /* Vertically center content */
    text-align: center; /* Center text */
}
#manipulation { background-color: #f8fafc; } /* gray-50 */
#tobacco-food-link { background-color: #fefce8; } /* Example: yellow-50 */
#rigged-system { background-color: #f1f5f9; } /* gray-100 */
#slow-poison { background-color: #e2e8f0; } /* gray-200 */
#history-repeats { background-color: #f1f5f9; } /* gray-100 */
#next-gen { background-color: #f8fafc; } /* gray-50 */
#true-freedom { background-color: #ffffff; } /* White */
#conclusion {
    background-color: #111827; /* Dark gray-900 */
    color: #f9fafb; /* gray-50 */
    border-bottom: none;
    text-align: center; /* Center text */
}


/* Heading styles */
h1, h2, h3 {
    font-weight: 900; /* Black weight for impact */
    margin-bottom: 1rem;
    line-height: 1.2;
}
/* Using Tailwind classes via @apply could be an alternative if using a build step,
   but for CDN, explicit CSS like this is fine. */
h1 { font-size: 3rem; /* approx text-5xl */ }
h2 { font-size: 2.25rem; /* approx text-4xl */ }
h3 { font-size: 1.875rem; /* approx text-3xl */ }

.section-number {
    font-size: 1.5rem; /* approx text-2xl */
    font-weight: 700;
    color: #6366f1; /* Example Accent: Indigo-500 */
    display: block;
    margin-bottom: 0.5rem;
}
/* Specific heading style for the tobacco-food link section */
#tobacco-food-link h2 {
    color: #ca8a04; /* Example: yellow-600 */
}


/* Paragraph/Content styles */
p, li {
    font-size: 1.125rem; /* approx text-lg */
    line-height: 1.7;
    margin-bottom: 1.25rem;
    max-width: 65ch; /* Limit line length for readability */
}
ul {
    list-style-position: outside;
    padding-left: 1.5em; /* Indent list */
}
li {
    margin-bottom: 0.75rem; /* Space between list items */
}
strong { font-weight: 700; }
blockquote {
    border-left: 4px solid #6366f1; /* Accent color */
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #4b5563; /* gray-600 */
}

/* Placeholder for visuals/infographics */
.visual-placeholder {
    background-color: #cbd5e1; /* gray-300 */
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b; /* gray-500 */
    font-style: italic;
    border-radius: 0.5rem; /* Rounded corners */
    margin: 2rem auto; /* Center horizontally if container allows */
    text-align: center;
    padding: 1rem;
    max-width: 100%; /* Ensure it doesn't overflow container */
}

/* Styles for the Tobacco -> Food Chart */
.acquisition-chart {
    display: grid;
    /* Create 2 columns on medium screens and up, 1 column below */
    grid-template-columns: 1fr; /* Default to 1 column */
    gap: 2rem; /* Space between items */
    margin-top: 2rem;
}

@media (min-width: 768px) { /* md breakpoint */
    .acquisition-chart {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
}

.tobacco-company {
    border: 2px solid #ca8a04; /* Example: yellow-600 border */
    border-radius: 0.5rem;
    padding: 1.5rem;
    background-color: #fffbeb; /* Example: yellow-100 */
    display: flex; /* Use flexbox for internal alignment */
    flex-direction: column; /* Stack items vertically */
    height: 100%; /* Make cards in the same row equal height */
}

.tobacco-company h4 {
    font-size: 1.25rem; /* text-xl */
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: #a16207; /* Example: yellow-700 */
}

.food-brands-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem; /* Space below arrow */
    margin-bottom: 0.5rem; /* Space above footnote */
    flex-grow: 1; /* Allow list to take up space */
}

.food-brands-list li {
    background-color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 1rem; /* text-base */
    text-align: center;
    border: 1px solid #fefce8; /* yellow-50 */
}

.arrow-symbol { /* Simple text arrow */
    font-size: 1.5rem;
    text-align: center;
    margin: 0.5rem 0;
    color: #ca8a04;
}

/* Call to action button styling */
.cta-button {
    display: inline-block;
    background-color: #6366f1; /* Accent color */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem; /* Rounded corners */
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
    margin-top: 1rem; /* Add some space above button */
}

.cta-button:hover {
    background-color: #4f46e5; /* Darker accent on hover */
}

/* Responsive adjustments for general layout */
@media (min-width: 768px) { /* Apply styles for medium screens and up */
    .content-container {
        padding: 6rem 2rem; /* More vertical padding on larger screens */
    }
    h1 { font-size: 3.75rem; /* approx text-6xl */ }
    h2 { font-size: 3rem; /* approx text-5xl */ }
    h3 { font-size: 2.25rem; /* approx text-4xl */ }
}
