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

:root {
    --primary-color: #4F46E5;
    --secondary-color: #10B981;
    --accent-color: #F59E0B;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Video Modal */
.video-modal { position: fixed; inset: 0; z-index: 2000; display: none; opacity: 0; pointer-events: none; }
.video-modal.is-open { display: block; opacity: 1; pointer-events: auto; }
.video-modal-backdrop { position:absolute; inset:0; background: rgba(15, 23, 42, 0.6); opacity: 0; transition: opacity .25s ease; }
.video-modal.is-open .video-modal-backdrop { opacity: 1; }
.video-modal-dialog { position: relative; max-width: 980px; width: 92%; margin: 4rem auto; background: #0b1020; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.35); transform: translateY(16px) scale(.98); opacity: 0; transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .28s ease; border: 1px solid rgba(255,255,255,.06); }
.video-modal.is-open .video-modal-dialog { transform: translateY(0) scale(1); opacity: 1; }
.video-modal-header { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.06); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0)); color: #E5E7EB; display:flex; align-items:center; gap:.75rem; }
.video-modal-title { margin: 0; font-size: 1rem; font-weight:600; letter-spacing:.2px; }
.video-modal-close { position:absolute; top: 10px; right: 10px; width: 36px; height: 36px; display:inline-flex; align-items:center; justify-content:center; background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 20px; line-height: 1; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.video-modal-close:hover { transform: scale(1.05); background: rgba(255,255,255,0.18); }
.video-modal-close:active { transform: scale(.97); }
.video-modal-body { position: relative; padding-top: 56.25%; background:#000; }
.video-modal-body iframe, .video-modal-body video { position:absolute; top:0; left:0; width:100%; height:100%; border:0; background:#000; }

@media (max-width: 768px) {
  .video-modal-dialog { width: 95%; margin: 2rem auto; border-radius: 14px; }
  .video-modal-close { top: 8px; right: 8px; width: 34px; height: 34px; }
}

/* Body scroll lock when modal is open */
body.modal-open { overflow: hidden; }

/* =============================
   Child Theme (playful look)
   ============================= */
.teacher-theme, .child-theme {
  --bg-light: #F8FAFF;
}
/* Force blue & white palette for teacher theme */
.teacher-theme {
  --primary-color: #2563EB;   /* Blue 600 */
  --secondary-color: #1D4ED8; /* Blue 700 */
  --accent-color: #3B82F6;    /* Blue 500 */
}

.teacher-theme body, .teacher-theme { font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.child-theme body, .child-theme { font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

.teacher-theme h1, .teacher-theme h2, .teacher-theme h3, .teacher-theme .brand-text,
.teacher-theme .section-title, .teacher-theme .hero-title {
  font-family: 'Merriweather', serif;
  letter-spacing: .3px;
}
.child-theme h1, .child-theme h2, .child-theme h3, .child-theme .brand-text,
.child-theme .section-title, .child-theme .hero-title { font-family: 'Baloo 2', 'Poppins', sans-serif; letter-spacing: .2px; }

/* Header */
.teacher-theme .header, .child-theme .header {
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.35));
  backdrop-filter: saturate(140%) blur(6px);
}
/* Only buttons should be glass → solid header for teacher theme */
.teacher-theme .header { background: #ffffff; backdrop-filter: none; border-bottom: 1px solid #e5e7eb; }
.teacher-theme .navbar .logo, .child-theme .navbar .logo { height: 44px; }
.teacher-theme .nav-link, .child-theme .nav-link { border-radius: 999px; padding: .5rem .9rem; }
.teacher-theme .nav-link { color: var(--primary-color); }
.teacher-theme .nav-link:hover { background: rgba(37,99,235,0.08); color: #1E40AF; }
.child-theme .nav-link:hover { background: rgba(79,70,229,.08); }
/* Header text color override from settings */
.teacher-theme .header .brand-text, .teacher-theme .header .nav-link { color: var(--header-text-color, var(--primary-color)); }

/* Hero */
.teacher-theme .hero { position: relative; color: #0f172a; background: linear-gradient(180deg, #FFFFFF 0%, #F6FAFF 100%); }
.teacher-theme .hero::before { display: none; }
.teacher-theme .hero-wave { display:none; }
.teacher-theme .hero-content { background: linear-gradient(135deg, #f8fafc, #eef2ff);
  padding: 4rem 0 2rem; color: #0f172a; }
.child-theme .hero { position: relative; color: #fff; }
.child-theme .hero-content { background: radial-gradient(1200px 600px at 20% 20%, var(--primary-color), transparent 60%),
                                       radial-gradient(1200px 600px at 90% 10%, var(--secondary-color), transparent 50%),
                                       linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 4rem 0 2rem; color: #fff; }
.teacher-theme .hero-title { 
  font-size: 2.8rem; line-height: 1.1; 
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--header-text-color, #0f172a) !important; 
  background: none !important; 
  -webkit-text-fill-color: var(--header-text-color, #0f172a) !important; 
  -webkit-background-clip: initial !important; background-clip: initial !important;
  animation: none !important; 
  text-shadow: 0 2px 4px rgba(2,6,23,.08);
}
.teacher-theme .hero-subtitle { 
  font-size: 1.1rem; 
  color: var(--header-text-color, #0f172a) !important; 
  text-shadow: 0 1px 2px rgba(2,6,23,.06);
}
.teacher-theme .hero .btn { border-radius: 12px; box-shadow: 0 8px 22px rgba(0,0,0,.08); font-weight: 600; }
/* Glass style only on buttons */
.teacher-theme .btn {
  position: relative;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(148,163,184,0.45);
  color: var(--primary-color);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}
.teacher-theme .btn:hover { background: rgba(255,255,255,0.26); }
.teacher-theme .btn.btn-primary { color: #ffffff; border-color: var(--primary-color); }
.teacher-theme .btn.btn-secondary { color: #0f172a; border-color: #e5e7eb; }
.teacher-theme .hero-image img { filter: drop-shadow(0 10px 18px rgba(0,0,0,.18)); }
.child-theme .hero-title { font-size: 2.6rem; line-height: 1.1; text-shadow: 0 6px 22px rgba(0,0,0,.22); }
.child-theme .hero-subtitle { font-size: 1.05rem; opacity: .95; }
.child-theme .hero .btn { border-radius: 999px; box-shadow: 0 8px 22px rgba(0,0,0,.15); font-weight: 600; }
.child-theme .btn.btn-primary { background: var(--accent-color); border: none; color: #221; }
.child-theme .btn.btn-secondary { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.child-theme .hero-image img { filter: drop-shadow(0 16px 30px rgba(0,0,0,.25)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0)} 50% { transform: translateY(-8px)} }

/* Section headers */
.teacher-theme .section-header, .child-theme .section-header { text-align: center; }
.teacher-theme .section-title, .child-theme .section-title { position: relative; display: inline-block; padding: .2rem .6rem; }
.teacher-theme .section-title::after, .child-theme .section-title::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 10px;
  background: linear-gradient(90deg, rgba(37,99,235,.25), rgba(37,99,235,.06));
  border-radius: 999px; filter: blur(6px); opacity: .35; }

/* Cards */
.teacher-theme .news-card, .teacher-theme .presentation-card, .teacher-theme .lesson-card, .child-theme .news-card, .child-theme .presentation-card, .child-theme .lesson-card {
  border-radius: 22px; border: 1px solid rgba(17,24,39,.06); box-shadow: 0 14px 28px rgba(17,24,39,.08);
}
.teacher-theme .news-card:hover, .teacher-theme .presentation-card:hover, .teacher-theme .lesson-card:hover, .child-theme .news-card:hover, .child-theme .presentation-card:hover, .child-theme .lesson-card:hover {
  transform: translateY(-6px) scale(1.01);
}
.teacher-theme .presentation-btn, .child-theme .presentation-btn { background: #fff; color: var(--primary-color) !important; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.teacher-theme .presentation-btn:hover, .child-theme .presentation-btn:hover { background: var(--accent-color); color: #1f2937 !important; }

/* Badges and small elements */
.teacher-theme .presentation-category, .child-theme .presentation-category { background: rgba(79,70,229,.08); color: var(--primary-color); border-radius: 999px; }
.teacher-theme .status-badge, .child-theme .status-badge { border-radius: 999px; }

/* Presentations section text color override */
.teacher-theme #presentations .presentation-title, .teacher-theme #presentations .presentation-description {
  color: var(--presentations-text-color, inherit);
}

/* Button color overrides from settings */
.teacher-theme .btn.btn-primary,
.teacher-theme .btn.btn-secondary {
  background: var(--button-bg-color, rgba(255,255,255,0.18));
  color: var(--button-text-color, var(--primary-color));
  border-color: var(--button-bg-color, rgba(148,163,184,0.45));
}

/* Footer tweak */
.teacher-theme .footer, .child-theme .footer { background: linear-gradient(180deg, rgba(249,250,251,0), rgba(249,250,251,1)); }

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: rgba(16, 185, 129, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: white !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar {
    padding: 1rem 0;
}

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

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

.logo {
    height: 40px;
    width: auto;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: heroBackground 20s ease-in-out infinite;
}

@keyframes heroBackground {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(2deg); }
}

.hero-content {
    width: 100%;
    padding-top: 80px;
    position: relative;
    z-index: 2;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #ffffff !important;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Daha spesifik kural */
.hero .hero-text .hero-subtitle {
    color: #ffffff !important;
}

/* En spesifik kural */
section.hero .container .hero-text p.hero-subtitle {
    color: #ffffff !important;
}

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

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    color: var(--bg-white);
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.section.bg-light {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.section.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--text-dark) !important;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light) !important;
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(16, 185, 129, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.news-card:hover::before {
    opacity: 1;
}

.news-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Haber kartlarındaki linkler için özel kural */
.news-card .news-link {
    color: var(--primary-color) !important;
}

.news-image {
    position: relative;
    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.05);
}

.news-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
}

.news-date span:first-child {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

.news-date span:last-child {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark) !important;
}

.news-excerpt {
    color: var(--text-light) !important;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--secondary-color);
}

/* Announcements */
.announcements-list {
    max-width: 800px;
    margin: 0 auto;
}

.announcement-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.announcement-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.announcement-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #F97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.announcement-content {
    flex: 1;
}

.announcement-title {
    color: var(--text-dark) !important;
    margin-bottom: 0.5rem;
}

.announcement-text {
    color: var(--text-light) !important;
    margin-bottom: 0.75rem;
}

.announcement-date {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Presentations Grid */
.presentations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.presentation-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.presentation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(16, 185, 129, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.presentation-card:hover::before {
    opacity: 1;
}

.presentation-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Sunum kartlarındaki butonlar için özel kural */
.presentation-card .presentation-btn {
    color: white !important;
}

.presentation-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.presentation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.presentation-card:hover .presentation-overlay {
    opacity: 1;
}

.presentation-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.presentation-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.presentation-content {
    padding: 1.5rem;
}

.presentation-title {
    color: var(--text-dark) !important;
    margin-bottom: 0.75rem;
}

.presentation-description {
    color: var(--text-light) !important;
    margin-bottom: 1rem;
}

.presentation-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.presentation-category {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.presentation-duration {
    color: var(--text-light) !important;
}

/* Lessons Grid */
.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.lesson-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.lesson-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(16, 185, 129, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 20px;
}

.lesson-card:hover::before {
    opacity: 1;
}

.lesson-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Ders kartlarındaki butonlar için özel kural */
.lesson-card .btn-primary {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    backdrop-filter: none !important;
}

.lesson-card .btn-primary:hover {
    background: #5a6fd8 !important;
    color: white !important;
}

.lesson-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.lesson-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.lesson-info {
    flex: 1;
}

.lesson-title {
    color: var(--text-dark) !important;
    margin-bottom: 0.25rem;
}

.lesson-level {
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.lesson-description {
    color: var(--text-light) !important;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.lesson-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.lesson-duration,
.lesson-students {
    color: var(--text-light) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Gallery */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.partner-logo img {
    max-width: 100%;
    height: 80px;
    object-fit: contain;
}

/* Forms */
.application-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.application-form {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #6366F1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

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

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

.footer-description {
    color: #9CA3AF;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact p {
    color: #9CA3AF;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .news-grid,
    .presentations-grid,
    .lessons-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .application-form {
        padding: 2rem 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

.float {
    animation: float 3s ease-in-out infinite;
}

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

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Alert messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
    font-style: italic;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.empty-state p {
    margin: 0;
    font-size: 1.1rem;
}

/* Tüm butonlar için genel kural */
.btn {
    color: inherit !important;
}

.btn-primary {
    color: white !important;
}

.btn-secondary {
    color: white !important;
}

.btn-outline {
    color: var(--primary-color) !important;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
