/* ================================================
   RADIO LYNGDAL - SHARED PAGES ENHANCED STYLES
   Applies to: team.php, kveld.php, program.php, om.php, gave.php, etc.
   ================================================ */

:root {
    --primary: #7F00FF;
    --primary-dark: #6600cc;
    --secondary: #cc00ff;
    --accent: #00d4ff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1a1a2e;
    --darker: #0f0f1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --text: #333333;
    --text-muted: #6c757d;
    --border: #e0e0e0;
    --gradient-primary: linear-gradient(135deg, #7F00FF 0%, #cc00ff 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 30px rgba(127, 0, 255, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ================================================
   PAGE HERO (Shared across all pages)
   ================================================ */

.page-hero {
    background: var(--gradient-dark);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(127, 0, 255, 0.15) 0%, transparent 50%);
    animation: hero-pulse 10s ease-in-out infinite;
}

@keyframes hero-pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.1) rotate(5deg); opacity: 0.8; }
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--white);
}

.page-hero h1 {
    color: var(--white);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.page-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.2s ease;
    text-decoration: none;
}

.back-to-home:hover {
    color: var(--white);
}

@media (max-width: 767px) {
    .page-hero {
        padding: 40px 0 60px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .page-hero-subtitle {
        font-size: 15px;
    }

    .page-hero-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* ================================================
   CONTENT SECTIONS
   ================================================ */

.content-section {
    padding: 60px 0 80px;
    background: var(--light);
}

.content-section.white-bg {
    background: var(--white);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 30px;
    text-align: center;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ================================================
   TEAM MEMBER CARDS
   ================================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1199px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .team-grid { grid-template-columns: 1fr; }
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    padding: 30px 20px;
}

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

.team-card-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--light);
    box-shadow: var(--shadow-md);
}

.team-card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.team-card-role {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-card-programs {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.team-card-programs strong {
    color: var(--text);
}

/* ================================================
   INFO CARDS (for program descriptions, etc.)
   ================================================ */

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.info-card-image {
    height: 180px;
    overflow: hidden;
}

.info-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.info-card:hover .info-card-image img {
    transform: scale(1.1);
}

.info-card-body {
    padding: 24px;
}

.info-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.info-card-meta {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 15px;
}

.info-card-meta i {
    margin-right: 5px;
}

.info-card-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.info-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.info-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--white);
}

/* ================================================
   SCHEDULE TABLE
   ================================================ */

.schedule-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.schedule-table-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 15px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-table-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 15px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: background 0.2s ease;
}

.schedule-table-row:last-child {
    border-bottom: none;
}

.schedule-table-row:hover {
    background: rgba(127, 0, 255, 0.03);
}

.schedule-table-row .date {
    font-weight: 600;
    color: var(--dark);
}

.schedule-table-row .name {
    color: var(--text);
}

.schedule-table-row .tech {
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 767px) {
    .schedule-table-header,
    .schedule-table-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .schedule-table-header > div:not(:first-child),
    .schedule-table-row > div:not(:first-child) {
        margin-top: 5px;
    }
}

/* ================================================
   ABOUT PAGE SPECIFIC
   ================================================ */

.about-content-section {
    padding: 80px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-images img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-images img:first-child {
    margin-top: 40px;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-text h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-dark);
    padding: 60px 0;
}

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

@media (max-width: 767px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* ================================================
   DONATION PAGE
   ================================================ */

.donation-section {
    padding: 60px 0 80px;
    background: var(--light);
}

.donation-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
}

.donation-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--white);
}

.donation-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.donation-text {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.donation-qr {
    max-width: 200px;
    margin: 0 auto 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.donation-account {
    background: var(--light);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 25px;
}

.donation-account-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.donation-account-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

/* ================================================
   MODAL ENHANCEMENTS
   ================================================ */

.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 20px 25px;
}

.modal-title {
    font-weight: 600;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    border: none;
    padding: 15px 25px 25px;
}

/* ================================================
   EMPTY STATE
   ================================================ */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h4 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 14px;
}

/* ================================================
   RESPONSIVE UTILITIES
   ================================================ */

.content-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.content-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.content-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(127, 0, 255, 0.1) 0%, rgba(204, 0, 255, 0.1) 100%);
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.highlight-box p {
    margin: 0;
    color: var(--text);
}
