/* ==========================================================================
   Kevin Shelton for Associate Judge Campaign Stylesheet
   ========================================================================== */

/* Design Tokens & Custom Properties */
:root {
    --primary-blue: #0f2b5c;
    --primary-blue-light: #163d80;
    --primary-blue-dark: #071530;
    --accent-red: #d32f2f;
    --accent-red-hover: #b71c1c;
    --accent-red-light: #ffebee;
    --accent-gold: #e6a100;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --bg-light: #f4f7fa;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(15, 43, 92, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 43, 92, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 43, 92, 0.12);
    
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base Elements */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-blue);
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* Buttons and Links */
a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-blue-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--accent-red);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

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

.btn-light {
    background-color: var(--text-light);
    color: var(--primary-blue);
}

.btn-light:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

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

/* Sticky Header and Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-link {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    color: var(--primary-blue);
}

.logo-title .text-accent {
    color: var(--accent-red);
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.primary-navigation {
    display: flex;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-nav-toggle .line {
    fill: none;
    stroke: var(--primary-blue);
    stroke-width: 8;
    transition: transform var(--transition-normal), y var(--transition-normal);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 140px 0 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #edf2f9 100%);
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero-bg-shapes .shape-1 {
    width: 400px;
    height: 400px;
    background-color: rgba(15, 43, 92, 0.05);
    top: -100px;
    right: -100px;
}

.hero-bg-shapes .shape-2 {
    width: 300px;
    height: 300px;
    background-color: rgba(211, 47, 47, 0.03);
    bottom: -50px;
    left: -50px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge-patriotic {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 0.5rem;
    background-color: var(--accent-red-light);
    color: var(--accent-red);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(211, 47, 47, 0.2);
    margin-bottom: 1.5rem;
}

.badge-patriotic .star {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.text-gradient {
    color: var(--primary-blue);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Countdown Timer */
.countdown-wrapper {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-red);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.countdown-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.countdown-timer {
    display: flex;
    gap: 1.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
}

.countdown-item .number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
}

.countdown-item .label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Hero Portrait Styling */
.hero-image-area {
    display: flex;
    justify-content: center;
}

.portrait-card {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.portrait-frame {
    position: relative;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--bg-white);
}

.portrait-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background-color: var(--bg-light);
}

.portrait-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(15, 43, 92, 0.95) 0%, rgba(15, 43, 92, 0.7) 60%, rgba(15, 43, 92, 0) 100%);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
}

.portrait-badge .tag-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.portrait-badge .tag-subtitle {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.frame-decor {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 4px solid var(--accent-red);
    z-index: -1;
}

.decor-top {
    top: -15px;
    left: -15px;
    border-right: none;
    border-bottom: none;
}

.decor-bottom {
    bottom: -15px;
    right: -15px;
    border-left: none;
    border-top: none;
}

/* Credentials Grid */
.credentials-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.credential-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.credential-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 43, 92, 0.2);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(15, 43, 92, 0.05);
    color: var(--primary-blue);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.credential-card:hover .card-icon {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.credential-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.credential-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Biography Interactive Tab Layout */
.biography-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.bio-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.bio-profile-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.bio-profile-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.25rem;
    aspect-ratio: 1 / 1;
    border: 4px solid var(--bg-light);
}

.bio-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bio-profile-name {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.bio-profile-title {
    font-size: 0.85rem;
    color: var(--accent-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bio-tabs-container {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.bio-tabs-list {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background-color: #fafbfc;
}

.bio-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 1.5rem 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    border-bottom: 3px solid transparent;
}

.bio-tab:hover {
    color: var(--primary-blue);
    background-color: #f1f5f9;
}

.bio-tab.active {
    color: var(--primary-blue);
    background-color: var(--bg-white);
    border-bottom-color: var(--accent-red);
}

.bio-panel {
    padding: 3rem;
    display: none;
}

.bio-panel.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

.panel-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
}

.panel-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.panel-text p {
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.panel-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.panel-quote {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--primary-blue);
    border-left: 4px solid var(--accent-red);
    padding-left: 1.25rem;
    font-style: italic;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    font-style: normal;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.quote-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.quote-name {
    font-style: normal;
    color: var(--text-dark);
}

.side-fact {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.side-fact .fact-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-red);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.side-fact .fact-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.bullet-list-styled {
    list-style: none;
}

.bullet-list-styled li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
}

.bullet-list-styled li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--accent-red);
}

.gallery-item-text {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.gallery-item-text h4 {
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(15, 43, 92, 0.1);
    padding-bottom: 0.5rem;
}

.text-highlight-container {
    background-color: var(--accent-red-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(211, 47, 47, 0.1);
}

.text-highlight-container h4 {
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.text-highlight-container p {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 500;
}

/* Platform Values */
.platform-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.platform-card-main {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 4rem;
    color: var(--text-light);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.platform-card-main::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
}

.platform-details {
    position: relative;
    z-index: 1;
}

.platform-details h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.lead-platform {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 3rem;
}

.values-flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.value-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    background-color: var(--accent-red);
    color: var(--text-light);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.value-item h4 {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.value-item p {
    color: var(--text-light);
    opacity: 0.8;
    max-width: 800px;
}

/* Town Hall and Events styling - Inspired by Flyer */
.townhall-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.event-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    border-top: 10px solid var(--accent-red);
    border-bottom: 10px solid var(--primary-blue);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        45deg,
        var(--primary-blue),
        var(--primary-blue) 10px,
        #fff 10px,
        #fff 20px,
        var(--accent-red) 20px,
        var(--accent-red) 30px,
        #fff 30px,
        #fff 40px
    );
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

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

.event-header .event-tag {
    display: inline-block;
    color: var(--accent-red);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.event-header h3 {
    font-size: 1.5rem;
    line-height: 1.35;
    color: var(--primary-blue);
    font-weight: 800;
}

.event-details-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    text-align: left;
    flex-grow: 1;
}

.event-details-vertical .detail-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.event-details-vertical .detail-icon {
    color: var(--accent-red);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.event-details-vertical .detail-info {
    display: flex;
    flex-direction: column;
}

.event-details-vertical .detail-info .label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.event-details-vertical .detail-info .val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary-blue);
}

.event-details-vertical .detail-info .subval {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.event-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.event-actions .btn {
    flex: 1;
    font-size: 0.95rem;
    padding: 0.65rem 1rem;
}

/* Get Involved Form */
.involvement-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.involvement-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: flex-start;
}

.involvement-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.involvement-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.involvement-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent-red-light);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-item a {
    word-break: break-all;
}

.placeholder-text {
    font-style: italic;
    color: var(--text-muted);
}

.involvement-form-wrapper {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.involvement-form-wrapper h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.form-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.campaign-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--bg-white);
    color: var(--text-dark);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(15, 43, 92, 0.1);
}

/* Footer Section */
.campaign-footer {
    background-color: var(--primary-blue-dark);
    color: var(--text-light);
    padding: 5rem 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    color: var(--text-light);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.footer-tagline {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-light);
    opacity: 0.7;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.social-links a:hover {
    opacity: 1;
    transform: scale(1.1);
}

.footer-navigation h4,
.footer-info h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-red-light);
}

.footer-info p {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.footer-info strong {
    color: var(--text-light);
}

/* MEC Disclosure bar */
.mec-disclosure-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.mec-badge {
    display: inline-block;
    border: 2px solid var(--text-light);
    padding: 0.75rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-copyright {
    background-color: #030a17;
    padding: 1.5rem 0;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    font-weight: 600;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--accent-red);
}

.toast-notification.show {
    bottom: 30px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-grid {
        gap: 2rem;
    }
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .panel-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .panel-sidebar > * {
        flex: 1 1 250px;
    }
}

/* Radio Interview Section styling */
.interview-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.audio-player-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    overflow: hidden;
    position: relative;
}

.audio-player-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

/* Left Visual Area */
.player-visual-area {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(7, 21, 48, 0.4);
    text-align: center;
}

.audio-wave-container {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mic-icon-wrapper {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: var(--accent-red);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.4);
    z-index: 2;
    transition: transform var(--transition-normal);
}

.audio-player-card:hover .mic-icon-wrapper {
    transform: scale(1.05);
}

.equalizer-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 120px;
    height: 120px;
    position: absolute;
    z-index: 1;
    opacity: 0.4;
    transition: opacity var(--transition-normal);
}

.equalizer-bars.playing {
    opacity: 0.85;
}

.equalizer-bars .bar {
    width: 6px;
    height: 20px;
    background-color: var(--accent-gold);
    border-radius: 3px;
    transition: height var(--transition-fast);
}

/* Equalizer Animations */
@keyframes eq-bounce-1 {
    0%, 100% { height: 15px; }
    50% { height: 75px; }
}
@keyframes eq-bounce-2 {
    0%, 100% { height: 35px; }
    50% { height: 95px; }
}
@keyframes eq-bounce-3 {
    0%, 100% { height: 20px; }
    50% { height: 50px; }
}
@keyframes eq-bounce-4 {
    0%, 100% { height: 40px; }
    50% { height: 110px; }
}

.equalizer-bars.playing .bar:nth-child(1) { animation: eq-bounce-1 0.8s ease-in-out infinite alternate; }
.equalizer-bars.playing .bar:nth-child(2) { animation: eq-bounce-2 0.7s ease-in-out infinite alternate 0.1s; }
.equalizer-bars.playing .bar:nth-child(3) { animation: eq-bounce-3 0.9s ease-in-out infinite alternate 0.2s; }
.equalizer-bars.playing .bar:nth-child(4) { animation: eq-bounce-4 0.6s ease-in-out infinite alternate 0.15s; }
.equalizer-bars.playing .bar:nth-child(5) { animation: eq-bounce-2 0.8s ease-in-out infinite alternate 0.3s; }
.equalizer-bars.playing .bar:nth-child(6) { animation: eq-bounce-1 0.7s ease-in-out infinite alternate 0.05s; }
.equalizer-bars.playing .bar:nth-child(7) { animation: eq-bounce-3 0.9s ease-in-out infinite alternate 0.25s; }
.equalizer-bars.playing .bar:nth-child(8) { animation: eq-bounce-4 0.8s ease-in-out infinite alternate 0.1s; }

.broadcast-badge {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.broadcast-badge .station {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

.broadcast-badge .air-date {
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0.7;
}

/* Right Controls Area */
.player-controls-area {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.player-header {
    margin-bottom: 2rem;
}

.player-header h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.player-header p {
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* Timeline/Progress */
.timeline-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    width: 100%;
}

.timeline-container span {
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.8;
    min-width: 45px;
}

.timeline-container span.time-duration {
    text-align: right;
}

.slider-wrapper {
    position: relative;
    flex-grow: 1;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.progress-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
    margin: 0;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background-color: var(--accent-gold);
    border-radius: 3px;
    position: relative;
    z-index: 1;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: transform var(--transition-fast);
}

.slider-wrapper:hover .progress-fill::after {
    transform: translateY(-50%) scale(1);
}

/* Controls Grid */
.controls-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.play-pause-btn {
    width: 70px;
    height: 70px;
    background-color: var(--accent-red);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.play-pause-btn:hover {
    background-color: var(--accent-red-hover);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
}

.play-pause-btn:active {
    transform: scale(0.98);
}

.play-pause-btn svg {
    transition: transform var(--transition-fast);
}

.play-pause-btn .play-icon {
    transform: translateX(2px);
}

.player-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.speed-btn {
    min-width: 60px;
}

/* Volume Container */
.volume-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-btn {
    padding: 0.5rem;
    border-radius: 50%;
    border: none;
    width: 40px;
    height: 40px;
}

.volume-slider-wrapper {
    position: relative;
    width: 70px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    display: flex;
    align-items: center;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
    margin: 0;
}

.volume-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 100%;
    background: transparent;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    margin-top: -3px;
}

.volume-slider::-moz-range-thumb {
    height: 10px;
    width: 10px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

@media (max-width: 992px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .primary-navigation {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--bg-white);
        border-bottom: 0 solid var(--border-color);
        overflow: hidden;
        transition: height var(--transition-normal), border-bottom var(--transition-normal);
        box-shadow: var(--shadow-md);
    }

    .primary-navigation.open {
        height: 320px;
        border-bottom-width: 1px;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .header-cta {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .badge-patriotic {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .countdown-timer {
        justify-content: center;
    }

    /* Removed townhall-details-grid responsive rule */

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-navigation h4,
    .footer-info h4 {
        margin-bottom: 1rem;
    }

    .bio-tabs-list {
        flex-direction: column;
    }

    .bio-tab {
        border-bottom: none;
        border-left: 3px solid transparent;
        text-align: left;
        padding: 1rem 1.5rem;
    }

    .bio-tab.active {
        border-left-color: var(--accent-red);
    }

    .bio-panel {
        padding: 2rem 1.5rem;
    }

    .audio-player-card {
        grid-template-columns: 1fr;
    }

    .player-visual-area {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 2.5rem 2rem;
    }

    .player-controls-area {
        padding: 2.5rem 2rem;
    }

    .bio-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bio-profile-card {
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .countdown-timer {
        gap: 0.75rem;
    }
    
    .countdown-item .number {
        font-size: 1.75rem;
    }

    .event-card {
        padding: 2rem 1.25rem;
    }

    .event-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .involvement-form-wrapper {
        padding: 1.5rem;
    }

    .player-visual-area {
        padding: 2rem 1.5rem;
    }

    .player-controls-area {
        padding: 2rem 1.5rem;
    }

    .player-header h3 {
        font-size: 1.5rem;
    }

    .controls-main {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .volume-container {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .volume-slider-wrapper {
        width: 120px;
    }
}

/* Event Photo Gallery Styles */
.event-gallery {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--border-color);
}

.gallery-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 0.85rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: transform var(--transition-normal), border-color var(--transition-fast), box-shadow var(--transition-normal);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 43, 92, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    backdrop-filter: blur(2px);
    transition: opacity var(--transition-fast);
}

.gallery-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-red);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox Modal Styles */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 21, 48, 0.88);
    backdrop-filter: blur(10px);
}

.lightbox-container {
    position: relative;
    z-index: 3001;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: -10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.15);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 43, 92, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 3002;
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-nav:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-image-wrapper {
    max-width: 100%;
    max-height: 75vh;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    background: #000;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

.lightbox-caption-bar {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.lightbox-caption {
    font-weight: 500;
    opacity: 0.9;
}

.lightbox-counter {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    opacity: 0.7;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 38px;
        height: 38px;
    }
    .lightbox-prev {
        left: -15px;
    }
    .lightbox-next {
        right: -15px;
    }
    .lightbox-close {
        top: -40px;
        right: 0;
    }
}

