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

body {
  font-family: Arial, sans-serif;
  background: #fafafa;
  min-height: 100vh;
  color: white;
}

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

.page-wrapper { width: 100%; }

.container {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
}

/* ================= NAVBAR ================= */
.navbar {
position: sticky;
top: 0;
z-index: 1000;
background: #ffffff;
box-shadow: 0 2px 16px rgba(139,92,246,0.08);
border-bottom: 1px solid rgba(139, 92, 246, 0.18);
backdrop-filter: blur(16px);
padding: 18px 0;
}

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

/* ================= LOGO ================= */
.logo {
font-family: 'Nunito', sans-serif;
font-weight: 900;
font-size: 2rem;
letter-spacing: -1px;
line-height: 1.4;
display: inline-flex;
align-items: baseline;
flex-shrink: 0;
}

.heal-text {
background: linear-gradient(90deg, #8B5CF6 0%, #6B7FD4 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.logo-i-wrap {
position: relative;
display: inline-block;
}

.logo-i-text {
background: linear-gradient(90deg, #6577D0, #5BA4BC);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-family: 'Nunito', sans-serif;
font-weight: 900;
font-size: 1em;
line-height: 1;
}

.logo-star {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 0.35em;
font-size: 0.35em;
line-height: 1;
color: #5BA4BC;
-webkit-text-fill-color: #5BA4BC;
display: block;
pointer-events: none;
}

.ngloop-text {
background: linear-gradient(90deg, #4AABB8 0%, #2DC78F 50%, #22C55E 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

/* ================= NAV LINKS ================= */
.nav-links {
display: flex;
gap: 32px;
align-items: center;
}

.nav-links a {
position: relative;
font-size: 0.9rem;
color: #111;
letter-spacing: 1px;
font-weight: 500;
text-decoration: none;
white-space: nowrap;
}

.nav-links a::after {
content: "";
position: absolute;
left: 0;
bottom: -6px;
width: 0%;
height: 2px;
background: #111;
transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

/* ================= RIGHT SIDE ================= */
.nav-right {
display: flex;
align-items: center;
gap: 12px;
flex-shrink: 0;
}

.login-btn {
padding: 8px 16px;
font-size: 0.9rem;
border: 1px solid #8B5CF6;
background: transparent;
color: #8B5CF6;
cursor: pointer;
border-radius: 6px;
transition: 0.3s;
white-space: nowrap;
}

.login-btn:hover { background: #8B5CF6; color: white; }

.signup-btn {
padding: 8px 18px;
font-size: 0.9rem;
border: none;
border-radius: 6px;
cursor: pointer;
font-weight: 500;
color: white;
background: linear-gradient(90deg, #8C52FF 0%, #6B8DFF 40%, #59B7C6 70%, #00BF63 100%);
transition: 0.3s;
letter-spacing: 0.5px;
white-space: nowrap;
}

.signup-btn:hover {
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
opacity: 0.85;
}

/* ================= HAMBURGER ================= */
.hamburger {
display: none;
flex-direction: column;
gap: 5px;
background: none;
border: none;
cursor: pointer;
padding: 4px;
z-index: 1001;
flex-shrink: 0;
}

.hamburger span {
display: block;
width: 24px;
height: 2px;
background: #2d1f66;
border-radius: 2px;
transition: 0.3s;
}

/* ================= HERO ================= */
.hero {
padding: 40px 0 30px;
background-color: transparent;
overflow: hidden;
}

.hero-title { display: none; }

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

.slider-viewport {
width: 100%;
overflow: hidden;
}

.slider-track {
display: flex;
align-items: center;
gap: 32px;
width: max-content;
padding-left: 90px;
transform: translateX(-792px);
}

.hero-card {
width: 760px;
height: 420px;
border-radius: 38px;
background: linear-gradient(90deg, #8c52ff 0%, #a98bff 30%, #7ed8a8 70%, #00bf63 100%);
position: relative;
flex: 0 0 auto;
}

.partial-card { opacity: 0.95; }

.active-card .card-text {
position: absolute;
left: 38px;
bottom: 34px;
}

.active-card h3 { font-size: 3rem; line-height: 1.05; margin-bottom: 12px; color: white; }
.active-card p { font-size: 1.4rem; opacity: 0.92; color: white; }

.slider-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 68px;
height: 68px;
border: none;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.95);
color: #7b5ae8;
font-size: 2.4rem;
cursor: pointer;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
z-index: 10;
}

.slider-btn-left { left: 32px; }
.slider-btn-right { right: 32px; }

/* ================= PROGRAMS ================= */
.programs-section {
padding: 24px 0 32px;
background: transparent;
}

.program-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px 20px;
}

.program-box {
min-height: 160px;
height: 160px;
border-radius: 18px;
border: 1px solid rgba(139,92,246,0.2);
background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(34,197,94,0.08));
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
color: #2d1f66;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 20px;
font-size: 1.4rem;
font-weight: 600;
transition: 0.3s ease;
box-shadow: 8px 8px 8px rgba(139,92,246,0.5);
}

.program-box:hover {
transform: translateY(-3px);
box-shadow: 0 8px 28px rgba(139, 92, 246, 0.18);
}

.featured-box {
background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(34,197,94,0.2));
border: 1px solid rgba(139, 92, 246, 0.35);
color: #2d1f66;
}

.program-box-logo { padding: 0; overflow: hidden; }
.program-box-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ================= COMING SOON ================= */
.coming-section {
background: transparent;
padding: 24px 0 64px;
font-family: 'Nunito', sans-serif;
}

.coming-header { margin-bottom: 8px; }

.coming-badge {
background: linear-gradient(90deg, #8B5CF6, #22C55E);
color: white;
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 1.5px;
padding: 4px 12px;
border-radius: 20px;
text-transform: uppercase;
}

.coming-title { font-size: 1.6rem; font-weight: 900; color: #2d1f66; margin: 8px 0 6px; }
.coming-subtitle { font-size: 0.95rem; color: #6b7280; margin-bottom: 32px; }

.coming-slider-wrapper {
position: relative;
overflow: hidden;
}

.coming-slider {
display: flex;
gap: 20px;
transition: transform 0.5s ease;
will-change: transform;
}

.coming-card {
min-width: calc(33.333% - 14px);
border-radius: 18px;
background: rgba(255,255,255,0.5);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
border: 1px solid rgba(139, 92, 246, 0.2);
box-shadow: 0 4px 20px rgba(139, 92, 246, 0.07);
flex-shrink: 0;
overflow: hidden;
display: flex;
flex-direction: column;
}

.coming-card img { width: 100%; height: 260px; object-fit: cover; display: block; flex: 1; }

.coming-card-body { padding: 18px 20px 20px; flex-shrink: 0; }

.coming-card-badge {
display: inline-block;
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
padding: 3px 10px;
border-radius: 20px;
margin-bottom: 10px;
background: linear-gradient(90deg, rgba(139,92,246,0.15), rgba(34,197,94,0.15));
color: #6d28d9;
border: 1px solid rgba(139,92,246,0.25);
}

.coming-card-title { font-size: 1.05rem; font-weight: 800; color: #2d1f66; margin-bottom: 6px; }
.coming-card-desc { font-size: 0.85rem; color: #6b7280; line-height: 1.5; margin-bottom: 14px; }
.coming-card-instructor { font-size: 0.95rem; font-weight: 700; color: #2d1f66; margin-bottom: 4px; }
.coming-card-branch { font-size: 0.8rem; font-weight: 600; color: #8B5CF6; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }

.coming-card-date {
font-size: 0.8rem;
font-weight: 700;
color: #8B5CF6;
display: flex;
align-items: center;
gap: 6px;
}

.coming-card-date::before {
content: '';
width: 6px;
height: 6px;
border-radius: 50%;
background: #8B5CF6;
display: inline-block;
}

.coming-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 44px;
height: 44px;
border: none;
border-radius: 50%;
background: white;
color: #8B5CF6;
font-size: 1.6rem;
cursor: pointer;
box-shadow: 0 4px 12px rgba(0,0,0,0.12);
z-index: 5;
display: flex;
align-items: center;
justify-content: center;
transition: 0.2s;
}

.coming-btn:hover { background: #8B5CF6; color: white; }
.coming-btn-left { left: -22px; }
.coming-btn-right { right: -22px; }

/* ================= FOOTER ================= */
.footer {
background: #ffffff;
border-top: 1px solid rgba(139,92,246,0.12);
box-shadow: 0 -2px 16px rgba(139,92,246,0.06);
padding: 48px 0 24px;
font-family: 'Nunito', sans-serif;
}

.footer-top {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 24px;
margin-bottom: 40px;
}

.footer-brand { display: flex; align-items: center; }
.footer-logo { font-size: 1.6rem; }
.footer-brand-desc { font-size: 0.85rem; color: #6b7280; line-height: 1.6; }

.footer-logo-akademi {
display: inline-flex;
align-items: baseline;
gap: 4px;
font-family: 'Nunito', sans-serif;
font-weight: 900;
font-size: 1.1rem;
letter-spacing: -0.5px;
}

.akademi-text {
background: linear-gradient(90deg, #4AABB8, #22C55E);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-weight: 900;
font-size: 1.1rem;
}

.footer-links {
display: flex;
flex-wrap: wrap;
gap: 12px 16px;
justify-content: flex-end;
align-items: center;
flex: 1;
}

.footer-links a { font-size: 0.8rem; color: #4b5563; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: #8B5CF6; }

.footer-bottom {
border-top: 1px solid rgba(139, 92, 246, 0.12);
padding-top: 24px;
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
}

.footer-socials { display: flex; gap: 12px; }

.social-icon {
width: 44px;
height: 44px;
border-radius: 50%;
border: 1px solid #d1d5db;
display: flex;
align-items: center;
justify-content: center;
color: #374151;
transition: 0.2s;
}

.social-icon:hover { border-color: #8B5CF6; color: #8B5CF6; }
.footer-copy { font-size: 0.85rem; color: #9ca3af; }

/* ================= MODAL ================= */
.modal-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.45);
z-index: 9999;
align-items: center;
justify-content: center;
padding: 16px;
}

.modal-overlay.active { display: flex; }

.modal {
  background: white;
  border-radius: 20px;
  padding: 40px;
  width: 90%;
  max-width: 480px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  max-height: 90vh;
  box-sizing: border-box;
}

.modal h2 { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.5rem; color: #2d1f66; margin-bottom: 4px; }

.modal input {
padding: 12px 16px;
border-radius: 10px;
border: 1px solid rgba(139, 92, 246, 0.3);
font-size: 0.95rem;
font-family: 'Nunito', sans-serif;
outline: none;
transition: 0.2s;
width: 100%;
box-sizing: border-box;
}

.modal input[type="checkbox"] {
  width: auto;
  padding: 0;
  border-radius: 0;
  flex: 0 0 16px;
}

.modal label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.modal label span {
  line-height: 1.35;
  word-break: normal;
}

.modal input:focus { border-color: #8B5CF6; }

.modal-btn {
padding: 13px;
border: none;
border-radius: 12px;
background: linear-gradient(90deg, #8B5CF6, #22C55E);
color: white;
font-size: 1rem;
font-weight: 700;
font-family: 'Nunito', sans-serif;
cursor: pointer;
transition: 0.3s;
margin-top: 4px;
}

.modal-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.modal-close {
position: absolute;
top: 16px;
right: 16px;
background: none;
border: none;
font-size: 1.1rem;
cursor: pointer;
color: #9ca3af;
}

.modal label {
  width: 100%;
}

.modal-close:hover { color: #374151; }
.modal-error { color: #e05555; font-size: 0.85rem; min-height: 16px; }
.modal-switch { text-align: center; font-size: 0.85rem; color: #6b7280; }
.modal-switch span { color: #8B5CF6; font-weight: 700; cursor: pointer; }
.modal-switch span:hover { text-decoration: underline; }

/* ================= STUDIO ================= */
.studio-section { background: transparent; padding: 48px 0 64px; }

.studio-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 8px;
flex-wrap: wrap;
gap: 12px;
}

.studio-note { font-size: 0.85rem; color: #6b7280; }
.studio-note a { color: #8B5CF6; font-weight: 700; text-decoration: none; }
.studio-note a:hover { text-decoration: underline; }

.studio-title { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.6rem; color: #2d1f66; margin: 8px 0 32px; }

.studio-grid {
display: flex;
gap: 20px;
overflow-x: auto;
scroll-snap-type: x mandatory;
padding-bottom: 16px;
cursor: grab;
}

.studio-grid::-webkit-scrollbar { height: 6px; }
.studio-grid::-webkit-scrollbar-track { background: rgba(139,92,246,0.08); border-radius: 10px; }
.studio-grid::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #8B5CF6, #22C55E); border-radius: 10px; }

.studio-card {
min-width: 300px;
max-width: 300px;
scroll-snap-align: start;
flex-shrink: 0;
border-radius: 18px;
overflow: hidden;
background: rgba(255,255,255,0.5);
backdrop-filter: blur(14px);
border: 1px solid rgba(139,92,246,0.2);
box-shadow: 0 4px 20px rgba(139,92,246,0.07);
cursor: pointer;
transition: 0.3s;
}

.studio-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(139,92,246,0.15); }

.studio-card-thumb {
width: 100%;
height: 200px;
position: relative;
border-radius: 18px 18px 0 0;
overflow: hidden;
background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(34,197,94,0.15));
display: flex;
align-items: center;
justify-content: center;
}

.studio-play-icon {
width: 100%;
height: 180px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(34,197,94,0.1));
font-size: 3rem;
}

.studio-card-body { padding: 16px 20px; }
.studio-card-title { font-size: 0.95rem; font-weight: 800; color: #2d1f66; }

.studio-card-overlay {
position: absolute;
inset: 0;
background: rgba(0,0,0,0.25);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: 0.3s;
}

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

.studio-play-btn {
width: 52px;
height: 52px;
border-radius: 50%;
background: rgba(255,255,255,0.9);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
color: #8B5CF6;
}

.studio-card-instructor { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.studio-instructor-name { font-size: 0.85rem; font-weight: 700; color: #4b5563; }
.studio-instructor-role { font-size: 0.75rem; color: #8B5CF6; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* ================= VIDEO MODAL ================= */
.video-modal-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,0.8);
z-index: 9999;
align-items: center;
justify-content: center;
}

.video-modal-overlay.active { display: flex; }

.video-modal {
position: relative;
width: 90%;
max-width: 800px;
background: #000;
border-radius: 16px;
overflow: hidden;
}

.video-modal video { width: 100%; max-height: 80vh; display: block; }

.video-modal-close {
position: absolute;
top: 12px;
right: 12px;
background: rgba(255,255,255,0.2);
border: none;
color: white;
font-size: 1.1rem;
width: 36px;
height: 36px;
border-radius: 50%;
cursor: pointer;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
transition: 0.2s;
}

.video-modal-close:hover { background: rgba(255,255,255,0.35); }

/* ================= DROPDOWN ================= */
.nav-item { position: relative; }

.dropdown-menu {
display: none;
position: absolute;
top: calc(100% + 14px);
left: 50%;
transform: translateX(-50%);
background: white;
border-radius: 14px;
box-shadow: 0 8px 32px rgba(0,0,0,0.12);
border: 1px solid rgba(139,92,246,0.15);
min-width: 200px;
overflow: hidden;
z-index: 999;
animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-item:hover .dropdown-menu { display: block; }
.dropdown-menu.open { display: block; }

.dropdown-menu a {
display: flex;
align-items: center;
gap: 10px;
padding: 14px 20px;
font-size: 0.9rem;
font-weight: 600;
color: #2d1f66;
text-decoration: none;
transition: background 0.2s;
border-bottom: 1px solid rgba(139,92,246,0.08);
letter-spacing: 0.5px;
}

.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: linear-gradient(90deg, rgba(139,92,246,0.08), rgba(34,197,94,0.06)); color: #8B5CF6; }
.dropdown-menu a::after { display: none !important; }

.chevron { display: inline-block; margin-left: 4px; font-size: 0.6rem; transition: transform 0.2s; vertical-align: middle; }
.nav-item:hover .chevron { transform: rotate(180deg); }

.nav-links a.active-nav { color: #8B5CF6; border-bottom: 2px solid #8B5CF6; padding-bottom: 2px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
.nav-links { gap: 20px; }
.hero-card { min-width: 360px; height: 220px; }
}

@media (max-width: 900px) {
.program-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { width: calc(100% - 24px); }
  
  /* NAVBAR */
  .hamburger { display: flex; }
  
  .navbar-content {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }
  
  .logo { font-size: 1.3rem; }
  
  .nav-right {
    gap: 6px;
  }
  
  .login-btn, .signup-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 9000;        /* hamburger'ın altında kalmasın ama 9998 yerine 9000 */
    font-size: 1.1rem;
    overflow-y: auto;
  }
  
  .nav-links.open { display: flex; }

/* HERO */
.hero { padding: 16px 0; }

.slider-track {
  gap: 12px;
  padding-left: 12px;
}

.hero-card {
  width: calc(100vw - 40px);
  height: 200px;
  border-radius: 20px;
}

.slider-btn { width: 36px; height: 36px; font-size: 1.2rem; }
.slider-btn-left { left: 4px; }
.slider-btn-right { right: 4px; }

.active-card h3 { font-size: 1.3rem; }
.active-card p { font-size: 0.85rem; }
.active-card .card-text { left: 16px; bottom: 16px; }

/* PROGRAMS */
.program-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
.program-box { min-height: 80px; font-size: 1rem; padding: 12px; border-radius: 14px; }

/* COMING SOON */
.coming-card { min-width: 75vw; }
.coming-title { font-size: 1.3rem; }
.coming-subtitle { font-size: 0.85rem; }

/* STUDIO */
.studio-card { min-width: 240px; max-width: 240px; }

/* FOOTER */
.footer-top { flex-direction: column; align-items: flex-start; }
.footer-links { flex-wrap: wrap; justify-content: flex-start; gap: 10px 12px; }
.footer-links a { font-size: 0.75rem; }
}

@media (max-width: 480px) {
.program-grid { grid-template-columns: 1fr; gap: 10px; }
.program-box { min-height: 72px; font-size: 0.95rem; }
.hero-card { height: 180px; }
.coming-card { min-width: 85vw; }
.modal { padding: 24px 16px; }
}

#programGrid,
#studioGrid,
#comingSlider {
  opacity: 0;
  transition: opacity 0.4s ease;
}

#programGrid.loaded,
#studioGrid.loaded,
#comingSlider.loaded {
  opacity: 1;
}

.slider-track {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.slider-track.loaded {
  opacity: 1;
}