:root {
    /* Colors */
    --primary: #f97316; /* Energetic Orange */
    --primary-dark: #ea580c;
    --primary-light: #ffedd5;
    
    --secondary: #1e3a8a; /* Deep Blue */
    --secondary-dark: #172554;
    --secondary-light: #dbeafe;
    
    --accent: #f59e0b; /* Gold/Amber */
    
    --dark: #0f172a;
    --text: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-white { color: var(--white) !important; }
.text-gray { color: #cbd5e1 !important; }
.text-sm { font-size: 0.875rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-5 { margin-top: 2rem; }
.center { text-align: center; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.39);
}

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

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary);
    box-shadow: var(--shadow-md);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
    line-height: 1.1;
    text-transform: uppercase;
}

.navbar.scrolled .logo-text {
    color: var(--secondary);
}

.logo-text small {
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn-primary) {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.navbar.scrolled .nav-links a:not(.btn-primary) {
    color: var(--text);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary);
}

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

.navbar.scrolled .mobile-menu-btn {
    color: var(--dark);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('etkinlikler/daricayildizakademi (5).jpeg') center/cover no-repeat;
    padding-top: 80px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 158, 11, 0.5);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.feature-item i {
    color: var(--primary);
}

/* Section Header */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--secondary-dark);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.mission-vision-box {
    display: flex;
    gap: 20px;
    margin-top: 32px;
    background: var(--bg-light);
    padding: 24px;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.mission-vision-box:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mission-vision-box h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

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

.img-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

.img-group {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.img-sub {
    width: calc(50% - 8px);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

/* Program Section */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--secondary-light);
    color: var(--secondary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.big-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 12px;
}

.period-list .period-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.period-list .period-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.period-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.period-dates {
    font-weight: 600;
    color: var(--dark);
    font-size: 1.125rem;
}

.food-list ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.food-list ul li i {
    color: var(--primary);
}

/* Activities Section */
.activities-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.badge {
    background: var(--bg-light);
    color: var(--secondary-dark);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.badge:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-row: span 2; }
.gallery-item:nth-child(8) { grid-column: span 2; }

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

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

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

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

/* Contact Section */
.contact-section {
    background: var(--secondary-dark);
    position: relative;
    padding: 100px 0;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.info-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 16px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.05);
    padding: 24px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255,255,255,0.10);
    transform: translateY(-4px);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-icon.whatsapp {
    background: #25D366;
    color: #ffffff;
    font-size: 1.75rem;
}

.info-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #ffffff;
    font-size: 1.75rem;
}

.info-icon.map {
    background: #ea4335;
    color: #ffffff;
    font-size: 1.25rem;
}

.info-icon.phone {
    background: var(--secondary);
    color: #ffffff;
    font-size: 1.25rem;
}

.map-container {
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.info-text h4 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.info-text p {
    color: #cbd5e1;
}

.info-text a:hover {
    color: var(--primary) !important;
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.contact-form-container h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    color: var(--secondary-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.875rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    background: var(--white);
}

/* Footer */
.footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

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

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
}

/* Animations */
.scroll-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-anim.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .about-container, .contact-container { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
    .gallery-item:nth-child(4) { grid-row: span 1; }
    .gallery-item:nth-child(8) { grid-column: span 2; }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links a:not(.btn-primary) { color: var(--text); }
    .mobile-menu-btn { display: block; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; }
    .grid-3, .grid-2, .info-items-grid { grid-template-columns: 1fr; }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Gelişmiş Galeri ve Lightbox CSS --- */

/* Asimetrik Galeri Grid Düzenlemesi (Yeni Elemanlar İçin) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}

.gallery-item:nth-child(9) {
    grid-column: span 2;
}
.gallery-item:nth-child(12) {
    grid-row: span 2;
}

/* Video Elemanı */
.gallery-item.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.gallery-video-overlay i {
    font-size: 3.5rem;
    color: var(--primary);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
    transition: var(--transition);
}

.gallery-video-overlay span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.gallery-item.video-item:hover .gallery-video-overlay i {
    transform: scale(1.2);
    color: var(--white);
}

.gallery-item.video-item:hover .gallery-video-overlay {
    background: rgba(15, 23, 42, 0.6);
}

/* Lightbox Arayüzü */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.96);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img, 
.lightbox-content video {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    display: none;
}

.lightbox.active .lightbox-content img.active,
.lightbox.active .lightbox-content video.active {
    display: block;
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--white);
    font-size: 2.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    user-select: none;
    z-index: 10;
}

.lightbox-nav:hover {
    background: var(--primary);
    color: var(--white);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-caption {
    position: absolute;
    bottom: -45px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* responsive adaptasyonları */
@media (max-width: 1200px) {
    .lightbox-prev { left: -60px; }
    .lightbox-next { right: -60px; }
}

@media (max-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(9) { grid-column: span 1; }
    .gallery-item:nth-child(12) { grid-row: span 1; }
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.75rem;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { right: 10px; top: -45px; }
    .lightbox-content img, 
    .lightbox-content video {
        max-height: 60vh;
    }
}
