/* ==========================================================================
   ERSİN ÖZTÜRK MATEMATİK MÜZESİ - STİL DOSYASI
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Renk Paleti */
  --bg-primary: #080810;
  --bg-secondary: #0f0f20;
  --bg-card: rgba(20, 20, 38, 0.6);
  --bg-card-hover: rgba(30, 30, 58, 0.8);
  
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #9b51e0;
  --accent-pink: #f72585;
  
  --text-main: #f3f3fd;
  --text-muted: #a0a0c0;
  --text-inverse: #080810;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 242, 254, 0.3);
  
  /* Gölgeler ve Bulanıklık */
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --glow-cyan: 0 0 15px rgba(0, 242, 254, 0.5);
  --glow-purple: 0 0 15px rgba(155, 81, 224, 0.5);
  --backdrop-blur: blur(12px);
  
  /* Font Aileleri */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-math: 'Fira Code', monospace;
  
  /* Geçişler */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  /* Matematiksel Izgara Deseni */
  background-image: 
    linear-gradient(rgba(0, 242, 254, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border-radius: 4px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* Tipografi */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

/* Ortak Bileşenler */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-family: var(--font-title);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: var(--text-inverse);
  box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.8);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: var(--backdrop-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.btn-outline-purple {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--accent-purple);
  box-shadow: 0 0 10px rgba(155, 81, 224, 0.2);
}

.btn-outline-purple:hover {
  background: var(--accent-purple);
  box-shadow: var(--glow-purple);
  transform: translateY(-3px);
}

/* Glassmorphism Kart */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 32px 0 rgba(0, 242, 254, 0.15);
}

/* Glow Efektli Arka Plan Daireleri */
.glow-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

.orb-1 {
  background: var(--accent-cyan);
  top: 15%;
  right: 10%;
}

.orb-2 {
  background: var(--accent-purple);
  bottom: 25%;
  left: 5%;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8, 8, 16, 0.7);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

header.scrolled {
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  border-radius: 50px;
  background: rgba(15, 15, 32, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.15);
  padding: 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: all var(--transition-normal);
}

header.scrolled .header-container {
  height: 60px;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.1rem;
  white-space: nowrap;
  background: linear-gradient(135deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo span {
  font-family: var(--font-math);
  color: var(--accent-cyan);
  -webkit-text-fill-color: var(--accent-cyan);
  font-size: 1.8rem;
  margin-right: -4px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  white-space: nowrap;
}

nav ul li a {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Hamburger Menü (Mobil) */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}

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

.hero-content {
  z-index: 10;
}

.hero-tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 50px;
  color: var(--accent-cyan);
  font-family: var(--font-math);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 5px rgba(0, 242, 254, 0.2);
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 30px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
}

.hero-image-wrapper:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 45px rgba(0, 242, 254, 0.25);
  transform: scale(1.02);
}

.hero-math-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(15, 15, 32, 0.95);
  border: 1px solid var(--accent-cyan);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: var(--glow-cyan);
  backdrop-filter: var(--backdrop-blur);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-math-badge .formula {
  font-family: var(--font-math);
  color: var(--accent-cyan);
  font-size: 1.2rem;
  font-weight: 600;
}

.hero-math-badge .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
}

/* Bölüm Başlıkları */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--font-math);
  color: var(--accent-purple);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Hakkımızda Bölümü */
.about {
  padding: 8rem 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-1 {
  width: 90%;
  border-radius: 24px;
  border: 2px solid var(--border-color);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
}

.about-img-2 {
  position: absolute;
  width: 60%;
  bottom: -30px;
  right: -10px;
  border-radius: 20px;
  border: 2px solid var(--accent-purple);
  box-shadow: var(--glow-purple);
  transition: var(--transition-normal);
}

.about-images:hover .about-img-1 {
  transform: translateY(-5px);
}

.about-images:hover .about-img-2 {
  transform: translate(5px, -5px);
  box-shadow: 0 0 25px rgba(155, 81, 224, 0.7);
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

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

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

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: var(--transition-fast);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-cyan);
}

.stat-num {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* Sergiler Bölümü */
.exhibits {
  padding: 8rem 0;
  background: rgba(15, 15, 32, 0.3);
  position: relative;
}

.exhibits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.exhibit-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.exhibit-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-family: var(--font-math);
  font-size: 1.5rem;
  color: var(--accent-cyan);
  transition: var(--transition-normal);
}

.exhibit-card:hover .exhibit-icon-box {
  background: var(--accent-cyan);
  color: var(--text-inverse);
  box-shadow: var(--glow-cyan);
  transform: rotate(360deg);
}

.exhibit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.exhibit-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.exhibit-link {
  font-family: var(--font-math);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 5px;
}

.exhibit-link:hover {
  text-shadow: 0 0 8px var(--accent-cyan);
}

.exhibit-link span {
  transition: var(--transition-fast);
}

.exhibit-link:hover span {
  transform: translateX(5px);
}

/* İnteraktif Bölüm */
.interactive {
  padding: 8rem 0;
  position: relative;
}

.interactive-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.interactive-ui {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
}

.widget-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.tab-btn.active {
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
}

.widget-panel {
  display: none;
}

.widget-panel.active {
  display: block;
}

/* Pascal Üçgeni Widget */
.pascal-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-grow: 1;
}

.pascal-controls input[type="range"] {
  flex-grow: 1;
  accent-color: var(--accent-cyan);
}

.pascal-controls span {
  font-family: var(--font-math);
  font-size: 1rem;
  min-width: 25px;
}

.pascal-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 250px;
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
}

.pascal-row {
  display: flex;
  gap: 8px;
  animation: fadeIn 0.3s ease forwards;
}

.pascal-cell {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-math);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.pascal-cell:hover {
  background: var(--accent-cyan);
  color: var(--text-inverse);
  box-shadow: var(--glow-cyan);
  transform: scale(1.1);
}

/* Sayı Tahmin Oyunu Widget */
.game-container {
  background: rgba(0, 0, 0, 0.2);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.game-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.game-input-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.game-input-group input {
  width: 100px;
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-main);
  font-family: var(--font-math);
  text-align: center;
  font-size: 1.2rem;
}

.game-input-group input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.game-feedback {
  margin-top: 1rem;
  font-size: 1.05rem;
  min-height: 30px;
  font-weight: 500;
}

.game-feedback.success {
  color: var(--accent-cyan);
}

.game-feedback.error {
  color: var(--accent-pink);
}

.game-attempts {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Galeri Bölümü */
.gallery {
  padding: 8rem 0;
  background: rgba(15, 15, 32, 0.3);
}

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

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(8, 8, 16, 0.9) 0%, rgba(8, 8, 16, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
  transform: translateY(15px);
  transition: var(--transition-normal);
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-family: var(--font-math);
  transform: translateY(15px);
  transition: var(--transition-normal);
  transition-delay: 0.05s;
}

.gallery-item:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.25);
}

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

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

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

.booking-steps {
  list-style: none;
  position: relative;
}

.booking-steps::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-purple), var(--accent-cyan));
  z-index: 0;
}

.booking-steps li {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(155, 81, 224, 0.1);
  border: 1px solid var(--accent-purple);
  color: var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(155, 81, 224, 0.1);
}

.step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.step-content p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.booking-form {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.9rem 1.2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

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

/* İletişim Bölümü */
.contact {
  padding: 8rem 0;
  position: relative;
  background: rgba(15, 15, 32, 0.3);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 18px;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: var(--transition-normal);
}

.contact-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.3rem;
}

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contact-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.map-wrapper {
  height: 100%;
  min-height: 380px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: var(--glass-shadow);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background: #04040a;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
  position: relative;
}

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

.footer-brand .logo {
  font-size: 1rem;
  white-space: nowrap;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1.5rem;
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
  position: relative;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--accent-cyan);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links ul li a:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-math);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--accent-purple);
  color: var(--text-main);
  border-color: var(--accent-purple);
  box-shadow: var(--glow-purple);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Modallar & Bildirimler */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: var(--backdrop-blur);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--accent-cyan);
  border-radius: 24px;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--glow-cyan);
  transform: scale(0.85);
  transition: var(--transition-normal);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.modal h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.modal p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

/* Mobil Uyumlu Medya Sorguları */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-image-wrapper {
    max-width: 400px;
  }

  .about-grid,
  .interactive-wrapper,
  .booking-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-images {
    display: flex;
    justify-content: center;
  }
  
  .about-img-1 {
    width: 80%;
  }
  
  .about-img-2 {
    width: 50%;
    right: 5%;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-primary);
    padding: 3rem;
    transition: var(--transition-normal);
    border-bottom: 1px solid var(--border-color);
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  
  nav ul li a {
    font-size: 1.2rem;
  }
  
  .nav-actions {
    display: none; /* Mobilde gizle veya menü içine al */
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .booking-form {
    padding: 2rem 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   YENİ EKLENEN TASARIM ÖGELERİ (PRELOADER, ORB DRİFT, WİDGETS VE ADMİN)
   ========================================================================== */

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.8s;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.math-loader {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pi-symbol {
  font-family: var(--font-math);
  font-size: 3.5rem;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
  animation: pulse 2s infinite ease-in-out;
}

.loader-circle {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 3px solid transparent;
  border-top-color: var(--accent-purple);
  border-bottom-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 1.5s infinite linear;
}

.preloader-content h2 {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.loader-quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  min-height: 24px;
}

.loader-progress-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 10px;
  transition: width 0.2s ease;
}

/* Drift Küreler */
.orb-3 {
  background: var(--accent-pink);
  top: 60%;
  right: 5%;
}

.glow-orb {
  animation: drift 15s infinite alternate ease-in-out;
}

.orb-2 {
  animation-delay: -5s;
}

.orb-3 {
  animation-delay: -10s;
}

/* Canvas Arka Planlar */
#math-flow-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
}

/* 3D Kartlar & Glowing Efektleri */
.exhibit-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.exhibit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(0, 242, 254, 0.1), transparent 40%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s;
}

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

/* Altın Oran Widget */
.fibonacci-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Sayı Tahmini Rozetleri */
.guess-badge {
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-family: var(--font-math);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.guess-badge.higher {
  border-color: rgba(247, 37, 133, 0.4);
  color: var(--accent-pink);
  background: rgba(247, 37, 133, 0.05);
}

.guess-badge.lower {
  border-color: rgba(0, 242, 254, 0.4);
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.05);
}

.guess-badge.correct {
  border-color: #00ff88;
  color: #00ff88;
  background: rgba(0, 255, 136, 0.05);
}

/* Hızlı Matematik Oyunu */
.speedmath-container {
  position: relative;
  overflow: hidden;
}

.speedmath-difficulty-btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

#speedmath-input {
  width: 140px;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
}

#speedmath-feedback.correct {
  color: #00ff88;
}

#speedmath-feedback.incorrect {
  color: var(--accent-pink);
}

/* Yönetici Paneli Tablo & Durumlar */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.pending {
  background: rgba(255, 179, 0, 0.1);
  color: #ffb300;
  border: 1px solid rgba(255, 179, 0, 0.2);
}

.status-badge.approved {
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.status-badge.rejected {
  background: rgba(247, 37, 133, 0.1);
  color: var(--accent-pink);
  border: 1px solid rgba(247, 37, 133, 0.2);
}

.admin-action-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.admin-action-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.admin-action-btn.approve-btn:hover {
  color: #00ff88;
}

.admin-action-btn.reject-btn:hover {
  color: #ffb300;
}

.admin-action-btn.delete-btn:hover {
  color: var(--accent-pink);
}

/* Yeni Animasyonlar */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.6)); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.1); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}

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

@media (max-width: 768px) {
  header.scrolled {
    width: 95%;
    top: 10px;
  }
  
  header.scrolled .header-container {
    height: 55px;
    padding: 0 1rem;
  }
}


/* ==========================================================================
   AÇILIŞ SLIDER
   ========================================================================== */

.opening-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  background: #000;
}

.slider-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: all;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 4, 10, 0.88) 0%,
    rgba(4, 4, 10, 0.3) 55%,
    rgba(4, 4, 10, 0.1) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 3.5rem 5rem;
}

.slide-content {
  max-width: 680px;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.7s ease 0.3s, opacity 0.7s ease 0.3s;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 50px;
  color: var(--accent-cyan);
  font-family: var(--font-math);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.slide-content h2 {
  font-size: 2.2rem;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 0.8rem;
  font-family: var(--font-title);
}

.slide-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  line-height: 1.65;
}

/* Oklar */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--accent-cyan);
}

.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }

/* Noktalar */
.slider-dots {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--accent-cyan);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0, 242, 254, 0.5);
}

/* Aşağı kaydır */
.slider-scroll-down {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
  z-index: 10;
  animation: bounceDown 2s infinite;
  transition: color 0.2s;
}

.slider-scroll-down:hover { color: var(--accent-cyan); }

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* Mobil */
@media (max-width: 768px) {
  .opening-slider { height: 55vh; }
  .slide-overlay { padding: 2rem 1.5rem; }
  .slide-content h2 { font-size: 1.5rem; }
  .slide-content p { font-size: 0.85rem; }
  .slider-arrow { width: 36px; height: 36px; font-size: 0.9rem; }
  .slider-prev { left: 0.8rem; }
  .slider-next { right: 0.8rem; }
}


/* ==========================================================================
   AÇILIŞ GALERİSİ
   ========================================================================== */

.opening-gallery {
  padding: 100px 0 4rem;
  background: var(--bg-primary);
}

/* Büyük ana fotoğraf */
.og-hero {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.og-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 6s ease;
}

.og-hero:hover img {
  transform: scale(1.03);
}

.og-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,4,10,0.85) 0%, rgba(4,4,10,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 4rem;
}

.og-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(0,242,254,0.12);
  border: 1px solid rgba(0,242,254,0.3);
  border-radius: 50px;
  color: var(--accent-cyan);
  font-family: var(--font-math);
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
  width: fit-content;
}

.og-hero-overlay h2 {
  font-size: 2.4rem;
  color: #fff;
  font-family: var(--font-title);
  max-width: 700px;
  line-height: 1.2;
}

/* Alt grid */
.og-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

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

.og-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.og-item:hover img {
  transform: scale(1.07);
}

.og-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,4,10,0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.og-item-overlay span {
  font-family: var(--font-math);
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

/* Mobil */
@media (max-width: 1024px) {
  .og-grid { grid-template-columns: repeat(3, 1fr); }
  .og-hero { height: 400px; }
  .og-hero-overlay h2 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
  .og-grid { grid-template-columns: repeat(2, 1fr); }
  .og-hero { height: 280px; }
  .og-hero-overlay { padding: 1.5rem 2rem; }
  .og-hero-overlay h2 { font-size: 1.3rem; }
}

/* ==========================================================================
   SSS BÖLÜMÜ
   ========================================================================== */

.faq {
  padding: 8rem 0;
  position: relative;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.open {
  border-color: rgba(0, 242, 254, 0.3);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  color: var(--text-main);
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-icon {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 2rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 2rem 1.5rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
}

@media (max-width: 768px) {
  .faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0 1.5rem;
  }
  .faq-item.open .faq-answer {
    padding: 0 1.5rem 1.2rem;
  }
}


/* Dil Değiştirme Butonu */
.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
}

.lang-inner {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-option {
  font-family: var(--font-math);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 50px;
  transition: var(--transition-fast);
}

.lang-option.active {
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.12);
  font-weight: 600;
}

.lang-slider {
  width: 1px;
  height: 14px;
  background: var(--border-color);
}
