/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #151832;
    min-height: 100vh;
    color: white;
    margin: 0;
    padding: 0;
    padding-top: 80px; /* Account for fixed navbar */
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(21, 24, 50, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #2a2f4a;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.nav-logo img {
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: #667eea;
    border-radius: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #151832 0%, #1a1f3a 100%);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-logo {
    margin-bottom: 2rem;
    border-radius: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #a0a0a0;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #1a1f3a;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.about-image {
    text-align: center;
}

.about-image img {
    border-radius: 15px;
}

/* Activities Section */
.activities {
    padding: 5rem 0;
    background: #151832;
}

.activities h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.activity-card {
    background: #1a1f3a;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2a2f4a;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.activity-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.activity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.activity-card p {
    color: #a0a0a0;
    line-height: 1.6;
}

/* Upcoming Events Section */
.upcoming-events {
    padding: 5rem 0;
    background: #1a1f3a;
}

.upcoming-events h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.events-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-card {
    background: #151832;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #2a2f4a;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.event-date {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 1rem;
}

.event-card p {
    color: #a0a0a0;
    line-height: 1.6;
}

.telegram-cta {
    text-align: center;
    background: #151832;
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid #2a2f4a;
}

.telegram-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.telegram-cta p {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-telegram {
    background: #0088cc;
    color: white;
    font-size: 1.1rem;
}

.btn-telegram:hover {
    background: #006699;
    transform: translateY(-2px);
}

.btn-telegram i {
    margin-right: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #151832;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

/* Events Page Styles */
.events-header {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #151832 0%, #1a1f3a 100%);
    text-align: center;
}

.events-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.events-header p {
    font-size: 1.2rem;
    color: #a0a0a0;
}

.upcoming-section {
    padding: 5rem 0;
    background: #1a1f3a;
}

.upcoming-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.past-events {
    padding: 5rem 0;
    background: #151832;
}

.past-events h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.event-card {
    background: #1a1f3a;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #2a2f4a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: 1.5rem;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.event-card.upcoming {
    border-left: 4px solid #df3530;
}

.event-card.past {
    border-left: 4px solid #e63079;
}

.event-image {
    flex-shrink: 0;
}

.event-image img {
    border-radius: 10px;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.event-content {
    flex: 1;
}

.event-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.event-date {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.event-location {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.event-content p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: #2a2f4a;
    color: #a0a0a0;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.event-files {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2a2f4a;
}

.event-files h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.file-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-link {
    color: #a0a0a0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.file-link:hover {
    background: #2a2f4a;
    color: white;
}

.file-link i {
    width: 16px;
    text-align: center;
}

.btn-primary {
    background: #667eea;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.events-cta {
    padding: 5rem 0;
    background: #1a1f3a;
    text-align: center;
}

.events-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.events-cta p {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
}

/* Logo Section */
.logo-section {
    margin-bottom: 3rem;
}

.logo h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Social Media Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.95rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    text-decoration: none;
    color: white;
    font-size: 3rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    opacity: 0.7;
}

/* Individual social media colors - removed backgrounds for clean white icons */

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .nav-logo img {
        width: 30px;
        height: 30px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .events-preview {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-image {
        align-self: center;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 2.4rem;
    }
    
    .social-links {
        gap: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .about h2,
    .activities h2,
    .upcoming-events h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .activity-card {
        padding: 1.5rem;
    }
    
    .event-card {
        padding: 1.5rem;
    }
    
    .telegram-cta {
        padding: 2rem;
    }
    
    .events-header h1 {
        font-size: 2.5rem;
    }
    
    .events-header p {
        font-size: 1rem;
    }
    
    .event-card {
        padding: 1.5rem;
    }
    
    .file-links {
        gap: 0.3rem;
    }
    
    .file-link {
        padding: 0.4rem;
        font-size: 0.8rem;
    }
    
    .social-links {
        gap: 1.04rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }
}
