/* Base Styles */
:root {
    --dark-bg: #1a1a1a;
    --red: #c41b1b;
    --white: #ffffff;
    --off-white: #f2f2f2;
    --light-gray: #dddddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--off-white);
    color: #333;
    line-height: 1.6;
}

ul {
    list-style-position: inside;
}

.clearsBoth{ clear: both; }
.minHeight{ height: 12px; }
.avgHeight{ height: 24px; }
.maxHeight{ height: 48px; }

.container, .key-points-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/government-building.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero p.subtitle {
    font-size: 1.2rem;
    margin-bottom: 50px;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--red);
    color: var(--white);
    padding: 15px 30px;
    font-size: 1.2rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    font-weight: bold;
}

.btn:hover {
    background-color: #a30f0f;
}

/* Section Styles */
.section {
    padding: 80px 20px;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* What is Fascism Section */
#what-is-fascism {
    background-color: var(--white);
}

.definition {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

.supporting-text {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    color: #444;
}
.supporting-text-smaller{ 
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 20px;
    text-align: center;
    color: #444;
}

.key-points {
    margin: 0 auto;
}

.key-points h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--dark-bg);
}

.key-points ul {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
    list-style-type: none;
}

.key-points li {
    font-size: 1.2rem;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.key-points li:before {
    content: "•";
    color: var(--red);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.key-points li strong {
    color: var(--red);
}

/* Warning Signs Section */
#warning-signs {
    background-color: var(--off-white);
}

.signs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.sign-item {
    background-color: var(--white);
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.sign-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.sign-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sign-icon img {
    max-width: 100%;
    max-height: 100%;
}

.sign-item h3 {
    font-size: 1.1rem;
    color: #333;
}

/* Learn More Section */
#learn-more {
    background-color: var(--white);
    text-align: center;
}

.resources-list {
    max-width: 800px;
    margin: 0 auto 40px;
    list-style-type: none;
}

.resources-list li {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 30px;
    width: 80%;
    max-width: 800px;
    border-radius: 5px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-links h4 {
    color: var(--red);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
}

/* Expanded Fascism Section Styling */
.fascism-explained {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.fascism-definition, 
.fascism-misconceptions, {
    background-color: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fascism-definition h3,
.fascism-misconceptions h3 {
    color: var(--dark-bg);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--red);
    padding-bottom: 10px;
    display: inline-block;
}

.fascism-misconceptions h3 {
    color: var(--red);
}

/* Spectrum styling */
.fascism-spectrum, .key-points {
    background-color: var(--white);
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fascism-spectrum h3 {
    color: var(--dark-bg);
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
}

.spectrum-container {
    max-width: 800px;
    margin: 0 auto;
}

.spectrum-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px 0;
}

.spectrum-segment {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    width: 30%;
}

.democracy {
    background-color: #4a90e2;
    color: white;
}

.authoritarianism {
    background-color: #f5a623;
    color: white;
}

.fascism {
    background-color: var(--red);
    color: white;
}

.spectrum-arrow {
    font-size: 1.5rem;
    color: var(--dark-bg);
}

.spectrum-explanation {
    text-align: center;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Enhanced key points */
.key-points {
    background-color: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.key-points h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--dark-bg);
    border-bottom: 2px solid var(--red);
    display: inline-block;
    padding-bottom: 10px;
}

.key-points ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.key-points li {
    font-size: 1.1rem;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.key-points li:before {
    content: "•";
    color: var(--red);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.4rem;
}

.key-points li strong {
    color: var(--red);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fascism-explained {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .spectrum-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .spectrum-segment {
        width: 80%;
    }
    
    .key-points ul {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logo, .footer-links {
        text-align: center;
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .signs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .key-points ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .signs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .key-points ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .signs-grid {
        grid-template-columns: 1fr;
    }
    
    .section h2 {
        font-size: 2rem;
    }
}