/* ===== CSS Variables ===== */
:root {
    --color-bg: #0a0a0a;
    --color-bg-secondary: #111111;
    --color-bg-tertiary: #1a1a1a;
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-accent: #e0e0e0;
    --color-border: #2a2a2a;
    --color-whatsapp: #25D366;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== Accessibility ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-text);
    color: var(--color-bg);
    padding: 8px 16px;
    z-index: 10000;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    color: var(--color-text-muted);
}

.nav-menu a:hover {
    color: var(--color-text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

.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 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 20px;
    z-index: 2;
}

.hero-logo {
    width: 280px;
    max-width: 80%;
    margin: 0 auto 24px;
    animation: fadeInUp 1s ease;
}

.hero-tagline {
    font-size: 18px;
    font-weight: 300;
    color: var(--color-text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-bg-tertiary);
    border-color: var(--color-text-muted);
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    background-color: #20bd5a;
    transform: translateY(-2px);
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-dark {
    background-color: var(--color-bg-secondary);
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--color-text);
    margin: 20px auto 0;
}

/* ===== About Section ===== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    padding: 40px 24px;
    background-color: var(--color-bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-text-muted);
}

.value-icon {
    font-size: 24px;
    color: var(--color-text);
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ===== Schedule Section ===== */
.schedule-content {
    display: flex;
    justify-content: center;
}

.schedule-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 50px 60px;
    text-align: center;
    max-width: 400px;
}

.schedule-day {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.schedule-time {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
}

.schedule-divider {
    width: 40px;
    height: 1px;
    background-color: var(--color-border);
    margin: 30px auto;
}

.schedule-location {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-bottom: 30px;
}

.schedule-location svg {
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.schedule-location div {
    text-align: left;
}

.location-address {
    font-size: 16px;
    font-weight: 500;
}

.location-city {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ===== Leaders Section ===== */
.leaders-content {
    display: flex;
    justify-content: center;
}

.leaders-photo-card {
    text-align: center;
    max-width: 400px;
}

.leaders-photo {
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    margin: 0 auto 24px;
    border: 2px solid var(--color-border);
    transition: var(--transition);
}

.leaders-photo-card:hover .leaders-photo {
    border-color: var(--color-text-muted);
    transform: scale(1.02);
}

.leaders-info {
    text-align: center;
}

.leader-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.leader-role {
    font-size: 14px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== Gallery Section ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== Contact Section ===== */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--color-bg-secondary);
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin: 0 auto 24px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

.footer-text {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.footer-address {
    font-size: 12px;
    color: var(--color-text-muted);
    opacity: 0.7;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu a {
        font-size: 24px;
    }

    .hero-logo {
        width: 200px;
    }

    .hero-tagline {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .about-text {
        font-size: 16px;
    }

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

    .schedule-card {
        padding: 40px 30px;
    }

    .schedule-time {
        font-size: 48px;
    }

    .leaders-content {
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

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

    .btn {
        padding: 14px 24px;
        font-size: 13px;
    }
}
