/* ===================================
   EYEWARN Website Styles
   Emergency Radio Communication Theme
   =================================== */

/* CSS Variables - Emergency Color Palette */
:root {
    --alert-red: #D32F2F;
    --safety-orange: #FF6F00;
    --radio-blue: #1565C0;
    --signal-yellow: #FBC02D;
    --deep-navy: #263238;
    --clean-white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --text-gray: #546E7A;
    --dark-overlay: rgba(38, 50, 56, 0.85);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--deep-navy);
    background-color: var(--clean-white);
    overflow-x: hidden;
}

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

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

/* Accessibility */
:focus-visible {
    outline: 3px solid var(--radio-blue);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--clean-white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 70px;
    width: auto;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--alert-red);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--deep-navy);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    color: var(--radio-blue);
    border-bottom-color: var(--radio-blue);
}

.btn-contact {
    background: var(--alert-red);
    color: var(--clean-white) !important;
    padding: 10px 24px !important;
    border-radius: 5px;
    border: none !important;
}

.btn-contact:hover {
    background: #B71C1C;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--deep-navy);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--radio-blue) 0%, var(--deep-navy) 100%);
    color: var(--clean-white);
    margin-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 111, 0, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: var(--signal-yellow);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--alert-red);
    color: var(--clean-white);
    border: 2px solid var(--alert-red);
}

.btn-primary:hover {
    background: #B71C1C;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

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

.btn-secondary:hover {
    background: var(--clean-white);
    color: var(--radio-blue);
}

.hero-badge {
    display: flex;
    justify-content: center;
}

.frequency-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.frequency-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.frequency-value {
    font-size: 56px;
    font-weight: 900;
    color: var(--signal-yellow);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.frequency-tone {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.frequency-time {
    font-size: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.9;
}

/* Stats Section */
.stats {
    background: var(--light-gray);
    padding: 60px 0;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--alert-red);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 15px;
}

.section-underline {
    width: 80px;
    height: 4px;
    background: var(--alert-red);
    margin: 0 auto 20px;
}

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

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.about-text {
    font-size: 17px;
    line-height: 1.8;
}

.about-text .lead {
    font-size: 22px;
    font-weight: 600;
    color: var(--radio-blue);
    margin-bottom: 25px;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.sponsor-info {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--alert-red);
    margin-top: 30px;
}

.info-card {
    background: var(--clean-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.emergency-card h3 {
    color: var(--alert-red);
    margin-bottom: 25px;
    font-size: 22px;
}

.emergency-def,
.disaster-def {
    margin-bottom: 20px;
}

.emergency-def h4,
.disaster-def h4 {
    color: var(--radio-blue);
    font-size: 18px;
    margin-bottom: 10px;
}

.emergency-def p,
.disaster-def p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    background: var(--light-gray);
    padding: 100px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    background: var(--clean-white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--radio-blue), var(--alert-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clean-white);
}

.step h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--deep-navy);
}

.step p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Get Involved Section */
.get-involved {
    padding: 100px 0;
}

.involvement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.involvement-card {
    background: var(--clean-white);
    border: 2px solid var(--medium-gray);
    padding: 40px;
    border-radius: 10px;
    transition: var(--transition);
}

.involvement-card:hover {
    border-color: var(--alert-red);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.involvement-card h3 {
    font-size: 24px;
    color: var(--deep-navy);
    margin-bottom: 15px;
}

.involvement-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-gray);
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--alert-red);
    font-weight: bold;
    font-size: 18px;
}

/* Net Info Section */
.net-info {
    background: var(--light-gray);
    padding: 100px 0;
}

.net-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.frequencies-section h3,
.schedule-section h3 {
    font-size: 28px;
    color: var(--deep-navy);
    margin-bottom: 30px;
}

.frequency-group {
    margin-bottom: 40px;
}

.frequency-group h4 {
    font-size: 20px;
    color: var(--radio-blue);
    margin-bottom: 15px;
}

.frequency-table {
    width: 100%;
    background: var(--clean-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.frequency-table th {
    background: var(--deep-navy);
    color: var(--clean-white);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.frequency-table td {
    padding: 15px;
    border-bottom: 1px solid var(--medium-gray);
}

.frequency-table td strong {
    color: var(--alert-red);
    font-size: 18px;
}

.frequency-table tbody tr:last-child td {
    border-bottom: none;
}

.frequency-table tbody tr:hover {
    background: var(--light-gray);
}

.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.schedule-card {
    background: var(--clean-white);
    padding: 25px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--alert-red);
}

.schedule-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.schedule-details h4 {
    font-size: 20px;
    color: var(--deep-navy);
    margin-bottom: 10px;
}

.schedule-details p {
    color: var(--text-gray);
    margin-bottom: 5px;
}

.schedule-note {
    font-size: 14px;
    font-style: italic;
    color: var(--radio-blue);
}

.activation-info {
    background: var(--clean-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.activation-info h4 {
    font-size: 22px;
    color: var(--alert-red);
    margin-bottom: 15px;
}

.activation-info p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.activation-info ol {
    padding-left: 20px;
    color: var(--text-gray);
}

.activation-info ol li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Resources Section */
.resources {
    padding: 100px 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.resource-card {
    background: var(--clean-white);
    border: 2px solid var(--medium-gray);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    display: block;
}

.resource-card:hover {
    border-color: var(--radio-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.resource-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.resource-card h3 {
    font-size: 22px;
    color: var(--deep-navy);
    margin-bottom: 15px;
}

.resource-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.resource-link {
    color: var(--radio-blue);
    font-weight: 600;
    display: inline-block;
}

.resource-card:hover .resource-link {
    color: var(--alert-red);
}

/* Contact Section */
.contact {
    background: var(--light-gray);
    padding: 100px 0;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-card {
    background: var(--clean-white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 22px;
    color: var(--deep-navy);
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.contact-link {
    color: var(--radio-blue);
    font-weight: 600;
    font-size: 18px;
}

.contact-link:hover {
    color: var(--alert-red);
}

/* Footer */
.footer {
    background: var(--deep-navy);
    color: var(--clean-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--signal-yellow);
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-trademark {
    font-size: 14px;
    font-style: italic;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--clean-white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--signal-yellow);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats .container {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .involvement-grid {
        grid-template-columns: 1fr;
    }
    
    .net-content {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--clean-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--medium-gray);
    }

    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        margin-top: 70px;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .frequency-value {
        font-size: 42px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

/* Print Styles */
@media print {
    .navbar, .hero-overlay, .hero-buttons, .mobile-menu-toggle, .footer-links, .contact-form {
        display: none !important;
    }

    .hero {
        min-height: auto;
        margin-top: 0;
        background: none;
        color: black;
    }

    .hero-title, .hero-subtitle, .hero-description {
        color: black;
        text-shadow: none;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}