/* ====================================
   Ray Uhric Presidential Campaign
   Political Website Styling
   ==================================== */

/* ====================================
   CSS Variables & Reset
   ==================================== */
:root {
    --primary-blue: #1e3a8a;
    --primary-red: #dc2626;
    --dark-blue: #0f172a;
    --light-blue: #3b82f6;
    --gold: #fbbf24;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
    --dark-gray: #334155;
    --text-dark: #1e293b;
    --border-color: #e2e8f0;
    
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
}

/* ====================================
   Typography
   ==================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--light-blue);
}

.lead {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--dark-blue);
}

/* ====================================
   Layout & Container
   ==================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-red));
}

/* ====================================
   Header & Navigation
   ==================================== */
#main-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-brand h1 {
    color: var(--white);
    font-size: 1.75rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand .tagline {
    color: var(--gold);
    font-size: 0.875rem;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu li a {
    color: var(--white);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--gold);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231e3a8a" width="1200" height="600"/><path fill="%230f172a" opacity="0.3" d="M0 300L50 280C100 260 200 220 300 200C400 180 500 180 600 200C700 220 800 260 900 280C1000 300 1100 300 1150 300L1200 300L1200 600L0 600Z"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    width: 100%;
    padding: 4rem 0;
}

.hero-content {
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-statement {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(251, 191, 36, 0.3);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-statement p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin: 0;
    color: var(--white);
}

/* ====================================
   Buttons
   ==================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

.btn i {
    margin-left: 0.5rem;
}

/* ====================================
   Key Issues Grid
   ==================================== */
.key-issues {
    background-color: var(--light-gray);
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.issue-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 4px solid var(--primary-blue);
}

.issue-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.issue-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.issue-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.issue-card p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.learn-more {
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.learn-more:hover {
    gap: 0.75rem;
}

/* ====================================
   Constitutional Solution Section
   ==================================== */
.constitutional-solution {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

.constitutional-solution h2,
.constitutional-solution h3 {
    color: var(--white);
}

.constitutional-solution .lead {
    color: var(--gold);
    font-size: 1.35rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.historical-facts,
.solution-benefits {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--gold);
}

.historical-facts h3,
.solution-benefits h3 {
    margin-bottom: 1rem;
    color: var(--gold);
}

.historical-facts ul,
.solution-benefits ul {
    list-style: none;
    padding-left: 0;
}

.historical-facts li,
.solution-benefits li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.historical-facts li::before,
.solution-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.25rem;
}

.treasury-link {
    background: rgba(251, 191, 36, 0.15);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border: 2px solid var(--gold);
}

.treasury-link a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: underline;
}

.treasury-link a:hover {
    color: var(--white);
}

.solution-content .btn-primary {
    margin-top: 2rem;
}

/* ====================================
   Latest Updates Section
   ==================================== */
.latest-updates {
    background-color: var(--white);
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.update-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.update-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.update-header {
    padding: 1.5rem;
    background: var(--light-gray);
    border-bottom: 3px solid var(--primary-blue);
}

.update-date {
    color: var(--medium-gray);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.update-card h3 {
    margin: 0.5rem 0 0 0;
    color: var(--primary-blue);
}

.update-body {
    padding: 1.5rem;
}

.update-excerpt {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.update-link {
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.update-link:hover {
    gap: 0.75rem;
}

.view-all {
    text-align: center;
}

/* ====================================
   Call to Action Section
   ==================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, #991b1b 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 1rem;
    line-height: 1.8;
}

.cta-subtext {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-red);
    border-color: var(--white);
}

.cta-section .btn-primary:hover {
    background-color: var(--gold);
    color: var(--dark-blue);
    border-color: var(--gold);
}

/* ====================================
   Footer
   ==================================== */
#main-footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-tagline {
    color: var(--gold) !important;
    font-weight: 600;
    font-style: italic;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.disclaimer {
    font-size: 0.8rem !important;
    font-style: italic;
}

/* ====================================
   Animations
   ==================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .section-title {
        font-size: 2rem;
    }

    .issues-grid,
    .updates-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }
}
