/* Shared CSS for Vote Brownsberger Campaign Site */

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #93c5fd;
}

/* Button Styles */
.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    margin: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: #1e3a8a;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.btn-outline:hover {
    background: white;
    color: #1e3a8a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Footer Styles */
footer {
    background: #e5e7eb;
    border-top: 2px solid #d1d5db;
    padding: 1.5rem 0;
}

/* Page-specific Styles */

/* Home Page Hero */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-image: url('https://www.votebrownsberger.com/images/senator-brownsberger_0575.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15), rgba(59, 130, 246, 0.1));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    max-width: 400px;
    padding: 2rem;
    margin-left: 2rem;
}

.re-elect {
    font-size: 2.2rem;
    font-weight: normal;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: white;
    font-weight: bold;
}

.hero-content .subtitle {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #e5e7eb;
    font-weight: normal;
    letter-spacing: 2px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

/* Contact Page Styles */
.contact-hero, .subscribe-hero {
    text-align: center;
    padding: 3rem 0 2rem 0;
    background: white;
}

.contact-hero h1, .subscribe-hero h1 {
    font-size: 3rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: bold;
}

.contact-hero .subtitle, .subscribe-hero .subtitle {
    font-size: 1.3rem;
    color: #6b7280;
    margin-bottom: 2rem;
    font-weight: normal;
}

.contact-content, .subscribe-content {
    background: white;
    padding: 2rem 0 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info, .additional-info {
    padding: 2rem;
}

.contact-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-weight: bold;
}

.contact-details h3 {
    color: #1e3a8a;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-details p {
    color: #4b5563;
    font-size: 1rem;
}

.contact-details a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #1e40af;
}

.info-card {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #bae6fd;
}

.info-card h3 {
    color: #1e3a8a;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Subscribe Page Styles */
.subscribe-hero .subtitle {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

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

.form-header h2 {
    color: #1e3a8a;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #6b7280;
    font-size: 1rem;
}

.mailchimp-form {
    width: 100%;
    height: 750px;
    border: none;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.form-note {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid #bae6fd;
}

.form-note h3 {
    color: #1e3a8a;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.form-note p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.benefit-item h4 {
    color: #1e3a8a;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: #6b7280;
    font-size: 0.95rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-links {
        gap: 1rem;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }

    .container {
        padding: 0 10px;
    }

    /* Mobile Home Page */
    .hero-section {
        height: 60vh;
        min-height: 400px;
        justify-content: flex-start;
        align-items: flex-end;
        padding-bottom: 2rem;
        padding-left: 1rem;
    }

    .hero-content {
        text-align: left;
        margin-left: 0;
        margin-bottom: 1rem;
        max-width: 200px;
    }

    .re-elect,
    .hero-content h1,
    .hero-content .subtitle {
        display: none;
    }

    .btn {
        font-size: 0.9rem;
        padding: 8px 20px;
        margin: 0.2rem 0;
        width: 120px;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* Mobile Contact Page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 0 10px;
    }

    .contact-info,
    .additional-info {
        padding: 0;
    }

    .contact-card,
    .info-card {
        margin: 0 5px;
        padding: 1.5rem;
    }

    .contact-hero h1, .subscribe-hero h1 {
        font-size: 2.5rem;
    }

    .contact-item {
        flex-direction: row;
        text-align: left;
        padding: 1rem;
    }

    .contact-icon {
        margin-right: 1rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    /* Mobile Subscribe Page */
    .subscribe-hero .subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .form-container {
        margin: 0 5px;
        padding: 1rem;
        border-radius: 10px;
        max-width: calc(100vw - 10px);
        box-sizing: border-box;
    }

    .mailchimp-form {
        height: 650px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .benefits-list {
        grid-template-columns: 1fr;
        margin: 1.5rem 10px;
        gap: 1rem;
    }

    .benefit-item {
        padding: 1rem;
        text-align: center;
    }

    .benefit-item h4 {
        font-size: 1rem;
    }

    .benefit-item p {
        font-size: 0.9rem;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .form-header p {
        font-size: 0.9rem;
    }

    .form-note {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .form-note h3 {
        font-size: 1.1rem;
    }

    .form-note p {
        font-size: 0.85rem;
    }
}