/* ========================================
   KOCL-LP Christian Radio - Fresh Design
   ======================================== */

:root {
    --navy: #1a2332;
    --navy-light: #243044;
    --navy-dark: #111827;
    --gold: #d4a843;
    --gold-light: #e8c66a;
    --gold-dark: #b8912e;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --green: #22c55e;
    --green-dark: #16a34a;
    --spanish: #4ade80;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 8px 10px rgba(0,0,0,0.04);
    --transition: 0.2s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navy);
}

.header-top {
    background: var(--navy-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-top-inner {
    display: flex;
    justify-content: flex-end;
    padding: 6px 24px;
}
.header-contact-bar {
    display: flex;
    gap: 20px;
}
.header-contact-bar a {
    color: var(--gray-400);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}
.header-contact-bar a:hover { color: var(--gold-light); }
.header-contact-bar svg { flex-shrink: 0; }

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    text-decoration: none;
}
.brand-link:hover { color: var(--gold-light); }
.brand-icon { color: var(--gold); flex-shrink: 0; }
.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
    letter-spacing: -0.02em;
}
.brand-tagline {
    font-size: 0.72rem;
    color: var(--gray-400);
    display: block;
    font-weight: 400;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
}
.main-nav a {
    color: rgba(255,255,255,0.8);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
    display: block;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
    background: rgba(212,168,67,0.15);
}
.main-nav a.active { color: var(--gold-light); }

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1e3a5f 100%);
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,168,67,0.05) 0%, transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-content {
    max-width: 700px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,168,67,0.15);
    color: var(--gold-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(212,168,67,0.2);
}
.hero-badge svg { animation: pulse-signal 2s ease-in-out infinite; }
@keyframes pulse-signal {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}
.hero h1 .text-gold { color: var(--gold); }
.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 550px;
}
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    font-family: inherit;
}
.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--navy-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212,168,67,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}
.btn-white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--gray-100);
    border-color: var(--gray-100);
    color: var(--navy);
}
.btn-submit {
    background: var(--gold);
    color: var(--navy-dark);
    border: none;
    padding: 14px 36px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}
.btn-submit:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212,168,67,0.35);
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 50px 0 55px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,168,67,0.06) 0%, transparent 70%);
}
.page-hero h1 {
    font-size: 2.4rem;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
}
.page-hero .breadcrumb {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-top: 8px;
    position: relative;
}
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero .breadcrumb a:hover { color: var(--gold-light); }

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section {
    padding: 60px 0;
}

/* CTA Card (Home Page) */
.cta-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: -50px;
    position: relative;
    z-index: 2;
    border: 1px solid var(--gray-200);
}
.cta-card-text { flex: 1; }
.cta-card-text h2 {
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.cta-card-text p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 8px;
}
.cta-card-text p a {
    color: var(--gold-dark);
    font-weight: 500;
}
.cta-card-text p a:hover { text-decoration: underline; }
.cta-card-action { flex-shrink: 0; }

/* Features Grid (Home) */
.features {
    padding: 60px 0 80px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-dark);
    margin-bottom: 18px;
}
.feature-card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   SCHEDULE TABLE
   ======================================== */
.schedule-section {
    padding: 50px 0 80px;
}
.schedule-legend {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-600);
}
.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.legend-dot.english { background: var(--navy); }
.legend-dot.spanish { background: var(--spanish); }
.legend-dot.music { background: var(--gray-300); }

.schedule-swipe-hint {
    display: none;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-style: italic;
    margin-bottom: 10px;
}

.schedule-table-wrap {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    overflow-x: auto;
}
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.schedule-table thead {
    background: var(--navy);
}
.schedule-table th {
    color: var(--white);
    padding: 14px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: left;
    white-space: nowrap;
}
.schedule-table th:first-child {
    width: 120px;
}
.schedule-table td {
    padding: 11px 18px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}
.schedule-table tbody tr:hover {
    background: var(--gray-50);
}
.schedule-table tbody tr:nth-child(even) {
    background: rgba(241,245,249,0.5);
}
.schedule-table tbody tr:nth-child(even):hover {
    background: var(--gray-100);
}
.schedule-table .time-cell {
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
}
.schedule-table .spanish {
    color: var(--green-dark);
    font-weight: 500;
}
.schedule-table .music-cell {
    color: var(--gray-400);
    font-style: italic;
}

/* ========================================
   FORMS
   ======================================== */
.form-section {
    padding: 50px 0 80px;
}
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    max-width: 720px;
}
.form-card.wide {
    max-width: 100%;
}
.form-intro {
    margin-bottom: 30px;
}
.form-intro h2 {
    font-size: 1.4rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 8px;
}
.form-intro p {
    color: var(--gray-500);
    line-height: 1.6;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 0;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--navy);
    margin-bottom: 6px;
}
.form-group label .required {
    color: #ef4444;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--gray-700);
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,168,67,0.15);
}
.form-group textarea {
    min-height: 130px;
    resize: vertical;
}
.form-actions {
    margin-top: 24px;
    grid-column: 1 / -1;
}

/* Contact Page Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}
.contact-info-card {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    padding: 36px;
}
.contact-info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--gold-light);
}
.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-info-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.contact-info-list .icon {
    width: 40px;
    height: 40px;
    background: rgba(212,168,67,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    flex-shrink: 0;
}
.contact-info-list .info-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}
.contact-info-list .info-value {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
}
.contact-info-list a { color: rgba(255,255,255,0.9); }
.contact-info-list a:hover { color: var(--gold-light); }

/* ========================================
   LINKS PAGE
   ======================================== */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    padding: 50px 0 80px;
}
.link-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
.link-card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 10px;
}
.link-card p {
    color: var(--gray-500);
    font-size: 0.93rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}
.link-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.9rem;
}
.link-card .card-link:hover { color: var(--gold); }
.link-card .card-link svg {
    transition: transform var(--transition);
}
.link-card .card-link:hover svg {
    transform: translateX(3px);
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-section {
    padding: 50px 0 80px;
}
.about-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    max-width: 800px;
}
.about-card h2 {
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 16px;
}
.about-card p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 12px;
}
.about-card a {
    color: var(--gold-dark);
    font-weight: 600;
}
.about-card a:hover { text-decoration: underline; }

/* ========================================
   ALERT MESSAGES
   ======================================== */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 500;
}
.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 48px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    margin-bottom: 14px;
}
.footer-logo span {
    font-weight: 700;
    font-size: 1.1rem;
}
.footer-tagline {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 8px;
}
.footer-mission {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    font-style: italic;
}
.footer-links h4,
.footer-contact h4 {
    color: var(--gold-light);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}
.footer-contact svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-contact a {
    color: rgba(255,255,255,0.7);
}
.footer-contact a:hover { color: var(--gold-light); }
.footer-contact span {
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    margin-top: 48px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .cta-card { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .header-top { display: none; }
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy-light);
        border-top: 1px solid rgba(255,255,255,0.08);
        box-shadow: var(--shadow-lg);
    }
    .main-nav.open { display: block; }
    .main-nav ul {
        flex-direction: column;
        padding: 12px;
        gap: 2px;
    }
    .main-nav a {
        padding: 12px 16px;
    }
    .hero { padding: 50px 0 60px; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; justify-content: center; }
    .page-hero { padding: 35px 0 40px; }
    .page-hero h1 { font-size: 1.8rem; }
    .features-grid { grid-template-columns: 1fr; }
    .cta-card { padding: 28px; margin-top: -30px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 24px; }
    .links-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-card { padding: 28px; }
    .schedule-legend { gap: 16px; }
    .schedule-swipe-hint { display: block; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.65rem; }
    .brand-tagline { display: none; }
    .brand-name { font-size: 1.1rem; }
    .brand-icon svg { width: 32px; height: 32px; }
}
