/* Custom CSS for Matthew Biniek Campaign Website */

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #dc2626;
    --accent-color: #fbbf24;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

/* Global Styles */
* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    margin: 0.5rem auto;
}

/* Navigation Styles */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-image: url('https://pixabay.com/get/gc82507c01dc2c943fdf7a7aed3fbe95279e832554f33436515d2615e968c79672dd36d6ce933d7f453f6c97bda2473fa1ae7b82f26259c5b496d69e9752f7891_1280.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(220, 38, 38, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.candidate-photo {
    position: relative;
    z-index: 2;
}

.candidate-img {
    max-width: 400px;
    width: 100%;
    border: 6px solid var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Platform Cards */
.platform-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.platform-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.platform-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* About Section */
.about-content h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.qualification-item {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.qualification-item i {
    font-size: 1.2rem;
}

/* Experience Section */
.experience-section, .endorsements-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.experience-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.experience-item .text-muted {
    font-size: 0.95rem;
}

.blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.blockquote-footer {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Section */
.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-item {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.contact-item i {
    font-size: 1.2rem;
    width: 25px;
}

.social-links {
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Voting Info */
.voting-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.voting-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.75rem;
}

.voting-item:last-child {
    border-bottom: none;
}

.voting-item strong {
    color: var(--accent-color);
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-warning {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-dark);
    font-weight: 600;
}

.btn-warning:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: var(--text-dark);
}

/* Footer */
footer {
    background: var(--text-dark) !important;
    border-top: 4px solid var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .platform-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .candidate-img {
        max-width: 300px;
        margin-top: 2rem;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .candidate-img {
        max-width: 250px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto;
    }
    
    .platform-card:hover,
    .btn:hover,
    .social-link:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .social-links {
        display: none;
    }
    
    .hero-section {
        background: var(--white);
        color: var(--text-dark);
        min-height: auto;
    }
    
    .section-title::after {
        background: var(--text-dark);
    }
}
