/* Modern Theme CSS */

:root {
    --primary-color: #E31837;
    --secondary-color: #000000;
    --text-color: #333333;
    --light-color: #FFFFFF;
    --gray-color: #F5F5F5;
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

/* Header Styles */
.modern-header {
    background: var(--light-color);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.modern-header.scrolled {
    padding: 10px 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

.logo img {
    height: 60px;
    transition: var(--transition);
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: var(--secondary-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Countdown Section */
.countdown-section {
    padding: 5rem 0;
    background: var(--gray-color);
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    min-width: 150px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* News Section */
.news-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.news-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.news-excerpt {
    color: #666;
    margin-bottom: 1rem;
}

.news-meta {
    font-size: 0.9rem;
    color: #999;
}

/* Committee Section */
.committee-section {
    padding: 5rem 0;
    background: var(--gray-color);
}

.committee-slider {
    padding: 20px 0;
}

.committee-member {
    text-align: center;
    padding: 1rem;
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-position {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Sponsor Section */
.sponsor-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.sponsor-slider {
    padding: 2rem 0;
}

.sponsor-slide {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.sponsor-slide img {
    max-height: 80px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.sponsor-slide:hover img {
    filter: grayscale(0%);
}

/* Footer */
.modern-footer {
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 4rem 0 0;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-newsletter input {
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 0.8rem;
    color: var(--light-color);
    width: 100%;
    margin-bottom: 1rem;
}

.footer-newsletter button {
    background: var(--primary-color);
    border: none;
    color: var(--light-color);
    padding: 0.8rem 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    margin-top: 3rem;
}

.footer-social {
    margin-bottom: 1rem;
}

.footer-social-icon {
    color: var(--light-color);
    margin: 0 0.5rem;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social-icon:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .countdown-item {
        min-width: calc(50% - 1rem);
    }

    .member-image {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .countdown-item {
        min-width: 100%;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}
