/* Variables */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #f97316;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-3: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
    --transition: all 0.3s ease;
}

/* Light Theme */
body.light-theme {
    --dark-bg: #ffffff;
    --darker-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(249, 115, 22, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

body.light-theme .navbar {
    background-color: rgba(255, 255, 255, 0.8);
}

.navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

/* Logo fallback if image doesn't load */
.logo-img[src*="vebetlogo.png"] {
    background: transparent;
    border-radius: 50%;
    padding: 5px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

.theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.03) 2px, rgba(59, 130, 246, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(59, 130, 246, 0.03) 2px, rgba(59, 130, 246, 0.03) 4px);
    z-index: -1;
}

.hero-background::after {
    content: '01010101 11001100 10101010 00110011 11110000 10011001 01100110 11001100 00001111 10101010 01010101 11110000 10011001 01100110 00110011 11001100 10101010 01010101 11110000 00001111 01100110 10011001 11001100 00110011 10101010 01010101 00001111 11110000 10011001 01100110 11001100 00110011';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 20px;
    color: rgba(59, 130, 246, 0.08);
    word-wrap: break-word;
    overflow: hidden;
    animation: matrixRain 20s linear infinite;
    z-index: -1;
}

@keyframes matrixRain {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Preview */
.about-preview {
    position: relative;
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
}

.about-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(59, 130, 246, 0.02) 50px, rgba(59, 130, 246, 0.02) 51px);
    pointer-events: none;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.social-btn {
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    color: white;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.linkedin {
    background: #0077b5;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Focus Areas */
.focus-areas {
    position: relative;
    background: var(--dark-bg);
}

.focus-areas::after {
    content: 'DATA SCIENCE • MACHINE LEARNING • ARTIFICIAL INTELLIGENCE • ECONOMETRICS • BIG DATA • STATISTICS • ANALYTICS • PYTHON • R • ';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    font-size: 80px;
    font-weight: 900;
    color: rgba(59, 130, 246, 0.02);
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.focus-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition);
}

.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.focus-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.focus-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* About Page */
.about-page {
    background: var(--darker-bg);
}

.about-header {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.subsection-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.mission-card,
.vision-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition);
}

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

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.mission-card p,
.vision-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Events */
.events {
    background: var(--dark-bg);
}

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

.event-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.event-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.event-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

/* Event Carousel */
.event-image.event-carousel {
    padding-top: 100%;
    height: auto;
    cursor: pointer;
}

.event-image.event-carousel .carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
}

.event-image.event-carousel .carousel-images {
    width: 100%;
    height: 100%;
    position: relative;
}

.event-image.event-carousel .carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.event-image.event-carousel .carousel-image.active {
    opacity: 1;
}

.event-image.event-carousel:hover .carousel-image {
    transform: none;
}

/* Event Carousel Controls */
.event-image.event-carousel .carousel-btn {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-image.event-carousel:hover .carousel-btn {
    opacity: 1;
}

.event-image.event-carousel .carousel-indicators {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-image.event-carousel:hover .carousel-indicators {
    opacity: 1;
}

.event-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
}

.event-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6);
    }
}

.event-card.coming-soon .event-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.event-content {
    padding: 1.5rem;
}

.event-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.event-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-meta i {
    color: var(--primary-color);
}

/* Board */
.board {
    background: var(--darker-bg);
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.board-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.board-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.board-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

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

.board-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

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

.board-social a {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition);
}

.board-social a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hidden Board Members */
.hidden-member {
    display: none;
}

.hidden-member.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

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

/* Events Toggle */
.events-toggle {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.events-toggle button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

#toggleEventsIcon {
    transition: transform 0.3s ease;
}

#toggleEventsIcon.rotate {
    transform: rotate(180deg);
}

.event-card.hidden-event {
    display: none;
}

.event-card.hidden-event.show {
    display: flex;
    animation: fadeIn 0.5s ease;
}

/* Gallery Toggle */
.gallery-toggle {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.gallery-toggle button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

#toggleGalleryIcon {
    transition: transform 0.3s ease;
}

#toggleGalleryIcon.rotate {
    transform: rotate(180deg);
}

.gallery-item.hidden-gallery-item {
    display: none !important;
}

.gallery-item.hidden-gallery-item.show {
    display: block !important;
    animation: fadeIn 0.5s ease;
}

/* Board Toggle */
.board-toggle {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.board-toggle button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

#toggleIcon {
    transition: transform 0.3s ease;
}

#toggleIcon.rotate {
    transform: rotate(180deg);
}

/* Journal */
.journal {
    position: relative;
    background: var(--dark-bg);
    overflow: hidden;
}

.journal-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-2);
    opacity: 0.1;
    z-index: 0;
}

.journal-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 48%, rgba(59, 130, 246, 0.05) 49%, rgba(59, 130, 246, 0.05) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(139, 92, 246, 0.05) 49%, rgba(139, 92, 246, 0.05) 51%, transparent 52%);
    background-size: 40px 40px;
}

.journal .container {
    position: relative;
    z-index: 1;
}

.journal-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.journal-cover {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.journal-cover:hover {
    transform: scale(1.05);
}

.journal-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.journal-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.journal-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.journal-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.journal-topics {
    list-style: none;
    margin-bottom: 2rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.journal-topics::-webkit-scrollbar {
    width: 6px;
}

.journal-topics::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 3px;
}

.journal-topics::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.journal-topics li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.journal-topics i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Gallery */
.gallery {
    background: var(--darker-bg);
}

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

/* JavaScript yüklenmeden önce 2024 etkinliklerini gizle */
.gallery-grid .gallery-item[data-date^="2024"],
.gallery-grid .gallery-item[data-date^="2023"],
.gallery-grid .gallery-item[data-date^="2022"] {
    display: none;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay h4 {
    color: white;
    font-size: 1.2rem;
}

/* Gallery Carousel */
.gallery-carousel {
    position: relative;
    cursor: pointer;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-images {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(59, 130, 246, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.gallery-carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-carousel:hover .carousel-indicators {
    opacity: 1;
}

.carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-indicators .indicator.active {
    background: var(--primary-color);
    width: 12px;
    height: 12px;
}

.carousel-counter {
    color: white;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.gallery-carousel .gallery-overlay {
    opacity: 1;
    flex-direction: column;
    align-items: flex-start;
}

/* Contact */
.contact {
    background: var(--gradient-2);
    text-align: center;
    color: white;
}

.contact .section-title {
    color: white;
    -webkit-text-fill-color: white;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 20px 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-logo .logo-icon {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
}

.contact-info i {
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .board-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--darker-bg);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .focus-grid,
    .events-grid,
    .board-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .journal-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .journal-cover {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    /* Carousel Mobile Optimizations */
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        opacity: 1;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
    
    .carousel-indicators {
        bottom: 10px;
        gap: 6px;
        opacity: 1;
    }
    
    .carousel-indicators .indicator {
        width: 8px;
        height: 8px;
    }
    
    .carousel-indicators .indicator.active {
        width: 10px;
        height: 10px;
    }
    
    .gallery-carousel .gallery-overlay {
        opacity: 1;
    }
    
    /* Event Badge Mobile */
    .event-badge {
        padding: 10px 16px;
        font-size: 0.85rem;
        top: 15px;
        right: 15px;
    }
    
    /* Event Carousel Mobile */
    .event-image.event-carousel {
        padding-top: 100%;
    }
    
    .event-image.event-carousel .carousel-btn {
        opacity: 1;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .event-image.event-carousel .carousel-indicators {
        opacity: 1;
    }
    
    /* Event Card Mobile */
    .event-image {
        padding-top: 100%;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    /* Gallery Mobile */
    .gallery-item {
        height: 250px;
    }
    
    .gallery-overlay h4 {
        font-size: 1rem;
    }
    
    .carousel-counter {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .logo-text {
        font-size: 0.75rem;
    }
    
    .logo-img {
        width: 75px;
        height: 75px;
    }
    
    .nav-container {
        padding: 0.5rem 15px;
    }
    
    section {
        padding: 50px 15px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .focus-card,
    .mission-card,
    .vision-card,
    .event-card,
    .board-card {
        padding: 1.2rem;
    }
    
    .focus-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .event-content h3,
    .focus-card h3 {
        font-size: 1.1rem;
    }
    
    .event-content p {
        font-size: 0.9rem;
    }
    
    .event-meta {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .journal-topics {
        font-size: 0.85rem;
    }
    
    .journal-topics li {
        padding: 6px 0;
    }
    
    .journal-cover {
        max-width: 250px;
    }
    
    .focus-areas::after {
        font-size: 40px;
    }
    
    .board-card h3 {
        font-size: 1rem;
    }
    
    .board-card .position {
        font-size: 0.85rem;
    }
    
    /* Carousel Extra Small Screens */
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        opacity: 1;
    }
    
    .carousel-indicators {
        opacity: 1;
    }
    
    .carousel-indicators .indicator {
        width: 6px;
        height: 6px;
    }
    
    .carousel-indicators .indicator.active {
        width: 8px;
        height: 8px;
    }
    
    .event-badge {
        padding: 8px 12px;
        font-size: 0.75rem;
        top: 10px;
        right: 10px;
    }
    
    .gallery-item {
        height: 220px;
    }
    
    .gallery-overlay h4 {
        font-size: 0.9rem;
    }
    
    .carousel-counter {
        font-size: 0.75rem;
    }
    
    .gallery-overlay {
        padding: 15px;
    }
    
    /* Social Buttons */
    .social-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .social-btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* Footer */
    .footer {
        padding: 40px 15px 20px;
    }
    
    .footer-logo-img {
        width: 60px;
        height: 60px;
    }
    
    .footer-col h4 {
        font-size: 1rem;
    }
    
    .footer-col p,
    .footer-col ul li {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    opacity: 0.15;
    animation: float linear infinite;
    pointer-events: none;
}

body.light-theme .floating-element {
    opacity: 0.08;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        transform: translateY(50vh) translateX(var(--drift));
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-10vh) translateX(calc(var(--drift) * 2));
        opacity: 0;
    }
}

.data-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 50%, 
        transparent 100%);
    opacity: 0.1;
    animation: line-move linear infinite;
}

@keyframes line-move {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

