/* 
==============================================
   Bill Ussery Campaign - Premium Design System
==============================================
*/

:root {
    /* Color Palette */
    --clr-navy: #0F172A; /* Deep, dignified blue */
    --clr-blue: #1D4ED8; /* Classic campaign blue */
    --clr-red: #B91C1C; /* Strong, conservative red */
    --clr-gold: #D4AF37; /* Elegant metallic gold */
    --clr-gold-light: #FDE047;
    --clr-white: #FFFFFF;
    --clr-light: #F8FAFC;
    --clr-gray-100: #F1F5F9;
    --clr-gray-200: #E2E8F0;
    --clr-gray-600: #475569;
    --clr-gray-800: #1E293B;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --max-width: 1200px;
    --section-padding: 5rem 2rem;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--clr-gray-800);
    line-height: 1.6;
    background-color: var(--clr-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--clr-gray-600);
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.bg-light { background-color: var(--clr-light); }
.bg-white { background-color: var(--clr-white); }
.bg-navy { background-color: var(--clr-navy); }
.text-white { color: var(--clr-white); }
.text-white h1, .text-white h2, .text-white h3, .text-white p {
    color: var(--clr-white);
}

.section {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 3rem;
}
.section-header.center {
    text-align: center;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-red), var(--clr-blue));
    margin-bottom: 1.5rem;
}
.center-underline {
    margin: 0 auto 1.5rem auto;
}

.grid {
    display: grid;
    gap: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--clr-red);
    color: var(--clr-white);
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    background-color: #991B1B;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-white);
    border: 2px solid var(--clr-white);
}
.btn-secondary:hover {
    background-color: var(--clr-white);
    color: var(--clr-navy);
}

.btn-gold {
    background-color: var(--clr-gold);
    color: var(--clr-navy);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}
.btn-gold:hover {
    background-color: var(--clr-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 1rem 2rem;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--clr-navy);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo span {
    color: var(--clr-red);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--clr-gray-600);
}

.nav-links a:hover {
    color: var(--clr-blue);
}

.btn-donate-nav {
    background-color: var(--clr-blue);
    color: var(--clr-white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}
.btn-donate-nav:hover {
    background-color: var(--clr-navy);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--clr-navy);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem 2rem;
    background-color: var(--clr-navy);
    color: var(--clr-white);
    overflow: hidden;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(29, 78, 216, 0.3) 100%);
    z-index: 1;
}

/* Flag Background for SVG Warp */
.flag-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: url('Media/flag_bg.png') center/cover no-repeat;
    filter: url('#wind-filter');
    z-index: 0;
    animation: swayFlag 30s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    animation: fadeIn 1s ease-out forwards;
    /* Glassmorphism */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.badge {
    position: relative;
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--clr-gold-light);
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    color: var(--clr-white);
}

.hero p {
    font-size: 1.25rem;
    color: var(--clr-gray-200);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.gold-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light), var(--clr-gold));
}

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

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

.mustache-pun {
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--clr-navy);
    font-size: 1.1rem;
}

.gold-accent-box {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 100%;
    height: 100%;
    border: 4px solid var(--clr-gold);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.about-text h2 {
    font-size: 2.5rem;
}

.icon-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.icon-list li {
    display: flex;
    gap: 1rem;
}

.icon-list .icon {
    font-size: 2rem;
    background: var(--clr-white);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.icon-list strong {
    color: var(--clr-navy);
    font-size: 1.125rem;
    display: block;
    margin-bottom: 0.25rem;
}

.icon-list p {
    margin: 0;
    font-size: 0.95rem;
}

/* Experience Section */
#experience {
    background-color: var(--clr-navy);
    position: relative;
    overflow: hidden;
}
#experience::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 1;
}
#experience > .container {
    position: relative;
    z-index: 10;
}

.cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.dark-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.dark-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--clr-gold);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.dark-card h3 {
    color: var(--clr-gold-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Values Section */
.values-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--clr-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.value-item:hover {
    background: var(--clr-white);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--clr-red);
}

.value-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--clr-gray-200);
    line-height: 1;
}

.value-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Dual Section Forms */
.dual-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.dual-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.form-panel {
    background: var(--clr-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-panel h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.campaign-form .form-group {
    margin-bottom: 1.5rem;
}

.campaign-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--clr-navy);
}

.campaign-form input,
.campaign-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--clr-gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.campaign-form input:focus,
.campaign-form textarea:focus {
    outline: none;
    border-color: var(--clr-blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.donate-panel {
    background: var(--clr-navy);
    color: var(--clr-white);
    border: 2px solid var(--clr-gold);
}

.donate-panel h2, .donate-panel p {
    color: var(--clr-white);
}

.donate-panel p {
    color: var(--clr-gray-200);
    margin-bottom: 2rem;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.donate-amt {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--clr-white);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.donate-amt:hover, .donate-amt:focus {
    border-color: var(--clr-gold);
    background: rgba(212, 175, 55, 0.1);
}

.disclaimer {
    font-size: 0.8rem !important;
    text-align: center;
    margin-top: 1.5rem;
    opacity: 0.7;
}

/* Footer */
.footer {
    background-color: var(--clr-gray-800);
    color: var(--clr-gray-200);
    padding: 4rem 2rem 2rem 2rem;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--clr-white);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.footer-links a:hover {
    color: var(--clr-gold);
}

.copyright {
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    opacity: 0.8;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes swayFlag {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-3%, 2%); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: var(--clr-navy);
}
::-webkit-scrollbar-thumb {
    background: var(--clr-gold);
    border-radius: 6px;
    border: 3px solid var(--clr-navy);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--clr-gold-light);
}

/* Pulse Animation for CTAs */
.pulse-btn {
    animation: subtlePulse 2s infinite;
}
@keyframes subtlePulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Metallic Shimmer */
.shimmer {
    overflow: hidden;
}
.shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: metallicShimmer 6s infinite;
    pointer-events: none;
}
@keyframes metallicShimmer {
    0% { left: -150%; }
    15% { left: 150%; }
    100% { left: 150%; }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .gold-accent-box {
        display: none;
    }
    
    .dual-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--clr-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        text-align: center;
    }

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

    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 6rem 1rem 2rem 1rem;
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }

    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-text h2, 
    .section-header h2,
    .form-panel h2 {
        font-size: 2rem;
    }
    
    .value-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        text-align: center;
        border-left: none;
        border-top: 4px solid transparent;
    }
    
    .value-item:hover {
        border-left-color: transparent;
        border-top-color: var(--clr-red);
    }
    
    .value-number {
        margin: 0 auto;
    }
    
    .form-panel {
        padding: 2rem 1.5rem;
    }
    
    .dark-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .donation-amounts {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
}
