/* ==========================================================================
   1. DESIGN VARIABLES & THEME SETUP
   ========================================================================== */
:root {
    /* Your Custom Palette Constants */
    --color-charcoal: #423e37;    /* Main Footer & Dark Layout Base */
    --color-peach: #efbc9b;       /* Soft Accent Accent / Link Hover States */
    --color-navy: #0a2266;        /* Deep Navy Blue Header & Main Branding */
    --color-slate: #808a9f;       /* Secondary Structural Text & Borders */
    --color-signal-red: #db222a;  /* High-Visibility Actions (Membership) */
    --color-radio-yellow: #f4c430; /* Alerts, Badges, & Special Markers */
    
    /* Layout Interface Structural Mapping */
    --primary-color: var(--color-navy);
    --secondary-color: var(--color-signal-red);
    --dark-bg: var(--color-charcoal);
    --light-bg: #ffffff;          /* Clean white content pages */
    --text-dark: #2d2a25;         /* Softened dark gray body font */
    --text-light: #ffffff;
    --muted-gray: #a0a0a0;
    
    /* Global Dimensional Rules */
    --max-width: 1200px;
    --header-height: 85px;
    --font-stack: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    --transition-speed: 0.25s;
}


/* ==========================================================================
   2. CORE RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    animation: fadeInAnimation 0.5s ease-in;
    font-family: var(--font-stack);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg); /* Forces crisp white layout background */
    overflow-x: hidden;
    p {
    margin-bottom: 1.25rem; /* Automatically forces a clean margin break between all text paragraphs */
}
}
@keyframes fadeInAnimation {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-navy);
    text-decoration: none;
    transition: color var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-charcoal);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* ==========================================================================
   3. FLEXIBLE LAYOUT GRID SYSTEM
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section.dark {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.section.light {
    background-color: #fcfbf9; /* Subtle warm hue for alternative layout blocks */
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
    min-width: 280px; /* Forces stack on mobile viewports naturally */
}

/* Structural Utilities */
.spacer { height: 20px; }
.spacer-lg { height: 40px; }
.text-center { text-align: center; }

/* Modern Interface Button Component */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-charcoal);
    color: var(--text-light);
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-speed), background-color var(--transition-speed), box-shadow var(--transition-speed);
}

.btn:hover {
    background-color: var(--color-navy);
    color: var(--text-light);
}

/* Special Alert Badges */
.badge-alert {
    background-color: var(--color-radio-yellow);
    color: #000000;
    padding: 4px 8px;
    font-weight: 700;
    font-size: 12px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* ==========================================================================
   4. COMPONENT: GLOBAL HEADER & NAVIGATION (DEEP NAVY VARIATION)
   ========================================================================== */
.site-header {
    background-color: rgba(10, 34, 102, 0.95); /* 95% opacity deep navy */
    backdrop-filter: blur(8px); /* The "Glass" effect */
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background-color: var(--color-navy); /* Deep rich navy blue backdrop */
    height: var(--header-height);
    box-shadow: 0 4px 20px rgba(10, 34, 102, 0.15);
    position: relative;
    z-index: 1000;
}

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

/* ==========================================================================
   FLOATING OVERLAP LOGO VIEWPORT OPTIMIZATION
   ========================================================================== */
/* 1. Establish a relative anchor on the header container if not already present */
.header-container {
    position: relative;
    height: 70px; /* Aligns with your standard navbar height */
}

/* 2. Break the logo out of the document grid to let it float freely */
.logo {
    position: absolute;
    top: 10px;        /* Spacing from the top of the browser window */
    left: 20px;       /* Spacing from the left edge */
    z-index: 999;     /* Forces it to stay cleanly on top of the hero banners */
}

.logo a {
    display: block;
    text-decoration: none;
}

/* 3. Scale up the image completely free of navbar constraints */
.logo img {
    height: 100px;    /* Increased size significantly so it breaks past the navbar line */
    width: 100px;     /* Keeps a perfect 1:1 circle shape aspect ratio */
    border-radius: 50%; /* Maintains clean circle geometry if needed */
    background-color: #ffffff; /* Adds a clean background backing behind the emblem */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); /* Adds a sharp drop shadow to separate it from the blue/hero backgrounds */
    transition: transform 0.3s ease;
}

/* Premium hover pop effect */
.logo img:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   NAVIGATION ALIGNMENT OVERRIDE
   ========================================================================== */
.nav-wrapper {
    margin-left: 120px;        /* Keeps the links safely clear of the floating logo */
    display: flex;
    justify-content: flex-end; /* Snaps the entire list element grid to the far right */
    align-items: center;       /* Keeps everything perfectly centered vertically */
    flex-grow: 1;              /* Forces the menu wrapper to occupy the remaining space */
}

/* Ensure the top-level list container itself behaves correctly */
.nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    position: relative; /* Anchor frame target for dropdown positioning */
}

.nav-item a {
    color: #ffffff; /* Crisp white horizontal menu links */
    padding: 10px 14px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
}

.nav-item a i {
    margin-left: 4px;
    font-size: 11px;
}

/* Hover States over dark layout block */
.nav-item a:hover, 
.nav-item a.active {
    color: var(--color-peach); /* Warm peach accent highlight */
}

/* ==========================================================================
   DESKTOP DROPDOWN POSITIONING SETUP
   ========================================================================== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-navy); /* Matches header navy block */
    min-width: 210px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    border-top: 3px solid var(--color-signal-red); /* Clean red accent strip tracking */
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-speed), transform var(--transition-speed), visibility var(--transition-speed);
    z-index: 1100;
}

.dropdown-menu li a {
    padding: 10px 20px;
    font-size: 13px;
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0px;
    color: #ffffff;
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-peach);
}

/* Reveals dropdown menu card layout cleanly on desktop hover */
.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Nav Item Specific Button Overrides */
.btn.btn-nav {
    background-color: var(--color-signal-red); /* Safety Red Membership Button */
    color: var(--text-light) !important;
    padding: 8px 18px;
    font-size: 13px;
    margin-left: 6px;
    box-shadow: 0 2px 8px rgba(219, 34, 42, 0.3);
}

.btn.btn-nav:hover {
    background-color: #be1a21;
    box-shadow: 0 4px 12px rgba(219, 34, 42, 0.5);
    transform: translateY(-1px);
}

/* Mobile Checkbox Interface Hidden Hooks */
.menu-toggle-check { display: none; }
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 1010;
}
.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-light); /* White lines for mobile icon */
    border-radius: 2px;
    transition: transform var(--transition-speed), opacity var(--transition-speed);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERY: MOBILE DRAWER ACCORDIAN
   ========================================================================== */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-wrapper {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-navy); /* Mobile background panel matches navy */
        box-shadow: 0 10px 15px rgba(0,0,0,0.2);
        display: none;
        overflow-y: auto;
        padding: 30px 20px;
        align-items: flex-start;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item a {
        font-size: 16px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    /* Transform menus inline on mobile layout panels */
    .dropdown-menu {
        position: relative;
        top: 0;
        box-shadow: none;
        border-top: none;
        background-color: rgba(0, 0, 0, 0.15);
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        padding: 0;
        margin-left: 15px;
    }

    .nav-item.has-dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 10px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .btn.btn-nav {
        margin-left: 0;
        margin-top: 15px;
        display: block;
        text-align: center;
    }

    .menu-toggle-check:checked ~ .nav-wrapper {
        display: flex;
    }

    .menu-toggle-check:checked + .mobile-menu-btn span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    .menu-toggle-check:checked + .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle-check:checked + .mobile-menu-btn span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }
}

/* ==========================================================================
   5. COMPONENT: UNIVERSAL FOOTER
   ========================================================================== */
.site-footer {
    background-color: #1a1816; /* Dark slate charcoal variance */
    color: var(--color-slate);
    padding: 50px 0;
    font-size: 14px;
    border-top: 4px solid var(--color-navy);
}
/* ==========================================================================
   6. COMPONENT: ABOUT PAGE INTERFACE ELEMENTS
   ========================================================================== */
.about-hero {
    background-color: var(--color-charcoal);
    background-image: linear-gradient(rgba(10, 34, 102, 0.85), rgba(66, 62, 55, 0.9)), url('../img/hero-bg.jpg'); /* Graceful gradient fallback */
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: #ffffff;
}

.about-hero h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 10px;
}

.about-hero p {
    color: var(--color-peach);
    font-size: 1.2rem;
    font-weight: 500;
}

.section-title {
    color: var(--color-navy);
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--color-peach);
    display: inline-block;
    padding-bottom: 5px;
}

/* Sidebar Informational Info Card Layout */
.sidebar-info-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-left: 4px solid var(--color-navy);
}

.sidebar-info-card h3 {
    color: var(--color-navy);
    margin-bottom: 15px;
}

.fact-list {
    list-style: none;
}

.fact-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.fact-list li:last-child {
    border-bottom: none;
}

/* Leadership Grid Cards Component */
.officer-card {
    background-color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #eeebe7;
    transition: transform var(--transition-speed);
}

.officer-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-peach);
}

.officer-avatar {
    width: 70px;
    height: 70px;
    background-color: rgba(10, 34, 102, 0.05);
    color: var(--color-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    font-size: 28px;
}

.officer-role {
    display: inline-block;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-signal-red);
    margin-bottom: 15px;
}

.officer-card p {
    font-size: 14px;
    color: var(--color-slate);
}
/* ==========================================================================
   7. COMPONENT: RESPONSIVE GOOGLE CALENDAR EMBED
   ========================================================================== */
.calendar-wrapper {
    position: relative;
    padding-bottom: 75%; /* Sets a beautiful 4:3 baseline structural aspect ratio */
    height: 0;
    overflow: hidden;
    border: 1px solid var(--color-slate);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    background-color: #ffffff;
}

.calendar-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* On mobile viewports, shorten the height aspect slightly to keep list data tight */
@media (max-width: 768px) {
    .calendar-wrapper {
        padding-bottom: 100%; /* Square layout container on phones for vertical scrolling ease */
    }
}/* ==========================================================================
   8. COMPONENT: DYNAMIC REPEATER SYSTEM TECHNICAL LIST TABLE
   ========================================================================== */
.table-responsive {
    width: 100%;
    overflow-x: auto; /* Ensures mobile users can swipe-scroll horizontally without breaking the screen layout edge */
    -webkit-overflow-scrolling: touch;
    border: 1px solid #eeebe7;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.repeater-list-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    text-align: left;
    font-size: 14px;
}

.repeater-list-table th {
    background-color: var(--color-navy);
    color: #ffffff;
    padding: 16px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.repeater-list-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #eeebe7;
    color: var(--text-dark);
    vertical-align: middle;
}

/* Zebra striping to keep multiple frequencies distinct while reading down rows */
.repeater-list-table tbody tr:nth-child(even) {
    background-color: #fcfbf9;
}

.repeater-list-table tbody tr:hover {
    background-color: rgba(239, 188, 155, 0.1); /* Subtle peach accent flash on mouse hover row lines */
}

.td-freq {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-navy);
    white-space: nowrap;
}
/* Center both the header and data columns for layout balance */
.repeater-list-table th:nth-child(3),
.repeater-list-table td:nth-child(3),
.repeater-list-table th:nth-child(4),
.repeater-list-table td:nth-child(4) {
    text-align: center;
}

/* Target ONLY the body data cells in the offset column for the text size boost */
.repeater-list-table tbody td:nth-child(3) {
    font-size: 1.1rem;      /* Clean technical text scale-up */
    font-weight: 600;       /* High-visibility bolding */
    color: var(--color-charcoal);
}

.list-callsign {
    font-weight: 700;
    background-color: var(--color-charcoal);
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.td-location {
    font-weight: 500;
}

.td-notes {
    color: var(--color-slate);
    font-size: 13px;
    max-width: 320px;
}

/* Direct Alert Badges Mapping */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.status-badge.active {
    background-color: #e2f7ed;
    color: #107c41;
}

.status-badge.maintenance {
    background-color: rgba(244, 196, 48, 0.15);
    color: #b28900;
}/* Center alignment structure for the Time column in the nets layout */
.repeater-list-table th:nth-child(2),
.repeater-list-table td:nth-child(2) {
    text-align: center;
}/* ==========================================================================
   9. COMPONENT: PORTAL LAYOUT FOR VE EXAM TESTING
   ========================================================================== */
.testing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 20px;
}

/* On desktop, make it break out into a balanced split-pane view */
@media (min-width: 768px) {
    .testing-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.testing-info-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 6px;
    border: 1px solid #eeebe7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.checklist-card {
    background-color: var(--color-navy);
    color: #ffffff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(10, 34, 102, 0.15);
}

/* Interactive Candidate Checklist Mechanics */
.testing-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.testing-checklist li {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.testing-checklist li:last-child {
    border-bottom: none;
}

/* Custom styled checkbox styling for modern appearance */
.testing-checklist input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.testing-checklist input[type="checkbox"]:checked {
    background-color: var(--color-peach);
    border-color: var(--color-peach);
}

/* The checkmark character configuration graphic overlay */
.testing-checklist input[type="checkbox"]:checked::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    color: var(--color-navy);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.testing-checklist label {
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

/* Subtle strikethrough mapping when candidate clicks a checkbox to register an item in their pack */
.testing-checklist input[type="checkbox"]:checked + label {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
}
/* ==========================================================================
   10. COMPONENT: SECURE CONTACT FORM LAYOUTS
   ========================================================================== */
.contact-form-element {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-charcoal);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 15px;
    border: 1px solid #eeebe7;
    border-radius: 4px;
    background-color: #fcfbf9;
    color: var(--color-charcoal);
    box-sizing: border-box;
    transition: all 0.2s ease;
}

/* Focused state glow effect using our core navy palette color */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-navy);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(10, 34, 102, 0.08);
}

/* Subtle style adjustment for the placeholder text */
::placeholder {
    color: #b0aba4;
    font-size: 14px;
}
/* ==========================================================================
   12. COMPONENT: HOMEPAGE TWO-CARD DASHBOARD MATRIX
   ========================================================================== */
.home-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .home-dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.dashboard-card {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #eeebe7;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Primary Ops Card gets our core Navy style background */
.dashboard-card.ops-card {
    background-color: var(--color-navy);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(10, 34, 102, 0.08);
}

.dashboard-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ops-card h3 { color: var(--color-peach); }
.meeting-card h3 { color: var(--color-navy); }

.card-display-value {
    font-size: 2rem;
    font-weight: 800;
    margin: 10px 0 20px 0;
    letter-spacing: -0.5px;
}

.ops-card .card-display-value { color: var(--color-peach); }
.meeting-card .card-display-value { color: var(--color-charcoal); }

.card-specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.ops-card .card-specs-list { color: rgba(255, 255, 255, 0.85); }
.meeting-card .card-specs-list { color: var(--color-slate); }

.card-action-link {
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.ops-card .card-action-link { color: #ffffff; }
.meeting-card .card-action-link { color: var(--color-navy); }
/* ==========================================================================
   EVEN-HEIGHT GRID BALANCER
   ========================================================================== */
.field-day-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch; /* This forces both children to the same height */
}

.navy-info-card {
    background-color: var(--color-navy);
    color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    height: 100%; /* Forces the card to fill the grid row height */
    box-sizing: border-box; /* Ensures padding doesn't push it outside the box */
    box-shadow: 0 4px 20px rgba(10, 34, 102, 0.2);
}
/* Add to your global.css */
.hero-title-glow {
    font-size: 3rem; 
    margin-bottom: 5px; 
    letter-spacing: -0.5px;
    color: #ffffff;
    
    /* This makes the glow appear immediately with no delay */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 200, 100, 0.3);
    
    
}

/* If you want a hover effect, it will now be "snappy" instead of smooth */
.hero-title-glow:hover {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 200, 100, 0.5);
}
#news-ticker {
    background: #f8f9fa; /* Light, clean background */
    border-bottom: 2px solid var(--color-peach);
    padding: 12px 0;
    font-size: 1.1rem;
    color: #ffffff;
    text-align: center;
}

#ticker-content {
    display: inline-block;
    animation: fade-in 1s ease-in;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.ticker-wrapper {
    width: 100%;
    min-height: 50px; /* Prevents the page from jumping when text changes */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: #0a2266; /* Match your club's site theme */
}

.fade-text {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    text-align: center;
    font-size: 1.2rem;
    color: #ffffff;
    width: 90%; /* Keeps text from hitting the very edge of small screens */
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.event-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px); /* Professional "lift" effect */
}

.event-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.event-content {
    padding: 15px;
}

.event-date {
    font-size: 0.9rem;
    color: var(--color-peach); /* Or your accent color */
    margin-bottom: 10px;
}

.event-card-text-only {
    background: #f9f9f9;
    padding: 20px;
    border-left: 5px solid var(--color-navy);
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.event-card-text-only h3 {
    margin: 10px 0;
    color: var(--color-navy);
}

.event-meta {
    font-weight: bold;
    color: var(--color-slate);
    font-size: 0.9rem;
}
#event-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.event-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.event-icon {
    font-size: 1.5rem;
    color: var(--color-navy);
    padding: 10px;
    background: #f0f0f0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-item a {
    position: relative; /* This is the anchor point for the line */
}

/* The line itself */
.nav-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--color-peach);
    transition: all 0.3s ease;
}

/* Make the line expand when hovered */
.nav-item a:hover::after {
    width: 80%;
    left: 10%;
}