/* ========================================
   EVENTS AND NEWS STYLES
   Taska & Tadika MBPJ
   ======================================== */

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.events-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}

/* ========================================
   HERO SECTION (BILLBOARD) - Matches About Page
   ======================================== */

.about-hero {
    background: linear-gradient(135deg, #4ECDC4 0%, #A8E6CF 50%, #88D8A3 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    letter-spacing: -1px;
}

.about-hero-subtitle {
    font-size: 1.4rem;
    margin: 0;
    opacity: 0.95;
    font-weight: 500;
}

/* ========================================
   FACEBOOK SECTION
   ======================================== */

.facebook-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.facebook-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #f0f2f5;
}

.facebook-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-facebook {
    background: #1877f2;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
    border: none;
}

.btn-facebook:hover {
    background: #1664d8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
    color: white;
    text-decoration: none;
}

.facebook-embed {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 700px;
    background: #f0f2f5;
    border-radius: 15px;
    padding: 20px;
}

.facebook-embed iframe {
    border-radius: 10px;
}

/* ========================================
   NEWS GRID SECTION
   ======================================== */

.news-section {
    margin-top: 40px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 4px solid #4ECDC4;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: #4ECDC4;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* ========================================
   FEATURED NEWS SECTION
   ======================================== */

.featured-news-section {
    margin-bottom: 50px;
}

.featured-news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transition: all 0.3s ease;
}

.featured-news-card:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    transform: translateY(-5px);
}

.featured-news-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-news-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8C42 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-news-badge i {
    font-size: 1.2rem;
}

.featured-news-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.featured-category {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.featured-date {
    color: #6c757d;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-date i {
    color: #4ECDC4;
}

.featured-news-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.featured-news-excerpt {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Responsive for featured news */
@media (max-width: 992px) {
    .featured-news-card {
        grid-template-columns: 1fr;
    }
    
    .featured-news-image {
        height: 300px;
    }
    
    .featured-news-content {
        padding: 30px;
    }
    
    .featured-news-title {
        font-size: 2rem;
    }
}

/* ========================================
   NEWS CARD
   ======================================== */

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.news-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-color: #e9ecef;
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8C42 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.date-day {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
    flex-wrap: wrap;
}

.news-category,
.news-time {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-category i,
.news-time i {
    color: #4ECDC4;
}

.news-link {
    color: #4ECDC4;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: #44A08D;
    gap: 0.8rem;
}

.news-link i {
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(5px);
}

/* ========================================
   NO NEWS STATE
   ======================================== */

.no-news {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.no-news-icon {
    font-size: 5rem;
    color: #e9ecef;
    margin-bottom: 20px;
}

.no-news h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.no-news p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

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

@media (max-width: 768px) {
    .events-container {
        padding: 20px 15px;
    }
    
    .events-header {
        padding: 40px 25px;
    }
    
    .events-title {
        font-size: 2rem;
    }
    
    .events-subtitle {
        font-size: 1.1rem;
    }
    
    .facebook-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .facebook-section {
        padding: 25px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .events-title {
        font-size: 1.8rem;
    }
    
    .news-card {
        margin-bottom: 20px;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
}

