﻿/* === Logo & Header → harmonise with new two-line wordmark === */

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    /* Mobile Announcement Bar Improvements */
    .announcement-bar {
        font-size: 0.8rem !important;
        padding: 0.5rem 3rem 0.5rem 1rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 480px) {
    /* Small Mobile Announcement Bar */
    .announcement-bar {
        font-size: 0.7rem !important;
        padding: 0.4rem 2.5rem 0.4rem 0.8rem !important;
        white-space: normal;
        line-height: 1.2;
    }
}

/* Enhanced Flash Event Banner */
.flash-backdrop {
    position: fixed;
    inset: 0;
    z-index: 3990;
    background: rgba(7, 19, 38, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.flash-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.flash-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    z-index: 4000;
    background: linear-gradient(135deg, #1a3a6d 0%, #2c5aa0 100%);
    color: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-radius: 20px;
    width: min(94vw, 1100px);
    max-height: 85vh;
    min-height: 450px;
    overflow: visible;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
    border: 2px solid rgba(255,255,255,0.1);
}

.flash-banner.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
    animation: flashGlow 2s infinite alternate;
}

.flash-content-enhanced {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    min-height: 450px;
    overflow: visible;
}

.flash-image-panel {
    position: relative;
    background: rgba(0,0,0,0.2);
    min-height: 450px;
    overflow: hidden;
}

.flash-main-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    min-height: auto;
}

.flash-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.95);
    color: #1a3a6d;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flash-details-panel {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #1a3a6d 0%, #2c5aa0 100%);
    overflow-y: auto;
}

.flash-header {
    margin-bottom: 1.5rem;
}

.flash-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.flash-subtitle {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
    font-style: italic;
}

.flash-event-info {
    margin-bottom: 1.5rem;
}

.flash-info-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.4;
}

.flash-info-row i {
    width: 20px;
    margin-right: 12px;
    color: #ffd700;
    font-size: 1.1rem;
}

.flash-hosts {
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.95rem;
    opacity: 0.9;
}

.flash-hosts i {
    margin-right: 8px;
    color: #ffd700;
}

.flash-description {
    margin-bottom: 1.5rem;
    line-height: 1.5;
    opacity: 0.95;
}

.flash-description p {
    margin: 0;
    font-size: 1rem;
}

.flash-banner.flash-compact .flash-header {
    margin-bottom: 0.65rem;
}

.flash-banner.flash-compact .flash-event-info {
    margin-bottom: 0.7rem;
}

.flash-banner.flash-compact .flash-info-row {
    margin-bottom: 0.25rem;
}

.flash-banner.flash-compact .flash-info-row:last-child {
    margin-bottom: 0;
}

.flash-banner.flash-compact .flash-subtitle,
.flash-banner.flash-compact .flash-description,
.flash-banner.flash-compact .flash-location,
.flash-banner.flash-compact .flash-address,
.flash-banner.flash-compact .flash-hosts {
    display: none;
}

.flash-actions-enhanced {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.flash-btn {
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    min-width: 120px;
    justify-content: center;
}

.flash-btn.primary {
    background: #ffd700;
    color: #1a3a6d;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.flash-btn.primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

.flash-btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.flash-btn.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

.flash-close {
    position: absolute;
    right: 15px;
    top: 15px;
    background: rgba(0,0,0,0.5);
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.flash-close:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .flash-banner { 
        width: calc(100vw - 16px);
        max-width: 420px;
        max-height: calc(100vh - 24px);
        min-height: 0;
        border-radius: 14px;
        overflow-y: auto;
        transform: translate(-50%, -50%) scale(0.97);
    }
    
    .flash-content-enhanced {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .flash-image-panel {
        min-height: 0;
        max-height: none;
        order: 1;
        background: transparent;
    }
    
    .flash-main-image {
        width: 100%;
        min-height: 0;
        max-height: 42vh;
        object-fit: cover;
        object-position: top center;
    }

    .flash-banner.flash-compact .flash-main-image {
        max-height: 58vh;
        object-fit: contain;
        object-position: center top;
    }
    
    .flash-details-panel {
        padding: 1.25rem;
        order: 2;
        overflow: visible;
    }

    .flash-banner.flash-compact .flash-details-panel {
        padding: 0.75rem 0.9rem 0.9rem;
    }
    
    .flash-title {
        font-size: 1.6rem;
    }

    .flash-subtitle {
        font-size: 0.98rem;
    }

    .flash-event-info {
        margin-bottom: 1.1rem;
    }

    .flash-info-row {
        align-items: flex-start;
        font-size: 0.95rem;
    }
    
    .flash-actions-enhanced {
        flex-direction: column;
        gap: 0.75rem;
    }

    .flash-banner.flash-compact .flash-actions-enhanced {
        gap: 0.45rem;
    }

    .flash-banner.flash-compact .flash-title {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .flash-banner.flash-compact .flash-info-row {
        font-size: 0.88rem;
        margin-bottom: 0.2rem;
    }
    
    .flash-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
        width: 100%;
    }

    .flash-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }

    .flash-category-badge {
        top: 10px;
        left: 10px;
        font-size: 0.72rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .flash-banner {
        width: calc(100vw - 12px);
        max-height: calc(100vh - 12px);
        border-radius: 12px;
    }

    .flash-banner.flash-compact .flash-main-image {
        max-height: 54vh;
    }

    .flash-details-panel {
        padding: 1rem;
    }

    .flash-banner.flash-compact .flash-details-panel {
        padding: 0.7rem 0.8rem 0.8rem;
    }
    
    .flash-title {
        font-size: 1.35rem;
    }

    .flash-banner.flash-compact .flash-title {
        font-size: 1.08rem;
    }
    
    .flash-info-row {
        font-size: 0.85rem;
        margin-bottom: 0.65rem;
    }

    .flash-banner.flash-compact .flash-info-row {
        font-size: 0.8rem;
        margin-bottom: 0.15rem;
    }
    
    .flash-description p {
        font-size: 0.85rem;
    }

    .flash-main-image {
        max-height: 36vh;
    }

    .flash-btn {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
}

@keyframes flashGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255,215,0,0.3); }
    50% { box-shadow: 0 0 40px rgba(255,215,0,0.6); }
}

.section-kicker {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(26, 58, 109, 0.08);
    color: #1a3a6d;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.trust-card {
    background: #ffffff;
    border: 1px solid rgba(26, 58, 109, 0.1);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 42, 77, 0.07);
}

.trust-card h3 {
    color: #1a3a6d;
    margin-bottom: 0.65rem;
    font-size: 1.1rem;
}

.trust-card p {
    color: #566271;
    margin: 0;
    line-height: 1.65;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.faq-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(26, 58, 109, 0.1);
    box-shadow: 0 10px 24px rgba(15, 42, 77, 0.06);
}

.faq-card h3 {
    color: #1a3a6d;
    font-size: 1.08rem;
    margin-bottom: 0.6rem;
}

.faq-card p {
    color: #566271;
    margin: 0;
    line-height: 1.65;
}

.page-cta-band {
    background: linear-gradient(135deg, #1a3a6d, #0d2a4d) !important;
}

.page-cta-band .section-title {
    color: #ffffff !important;
}

.page-cta-band .section-subtitle {
    color: rgba(255,255,255,0.84) !important;
}

.page-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.page-cta-actions .btn-outline {
    color: #ffffff;
    border-color: rgba(255,255,255,0.7);
}

.page-cta-actions .btn-outline:hover {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border-color: #ffffff;
}

@media (max-width: 768px) {
    .trust-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .page-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-cta-actions .btn {
        width: 100%;
    }
}
