/* ===============================
   DEĞİŞKENLER VE TEMEL AYARLAR
=============================== */
:root {
    /* Renk Paleti */
    --bg-dark: #050505;
    --bg-darker: #020202;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --accent-primary: #d4af37; /* Metalik Altın */
    --accent-secondary: #00e5ff; /* Neon Mavi */
    --accent-gradient: linear-gradient(135deg, #d4af37 0%, #ffdf73 100%);
    
    --text-main: #ffffff;
    --text-muted: #a0a0a0;

    /* Tipografi */
    --font-heading: 'Playfair Display', serif;
    --font-subheading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Geçişler ve Gölgeler */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --shadow-neon: 0 0 20px rgba(0, 229, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important; /* Özel imleç için varsayılanı gizle */
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Özel Kaydırma Çubuğu */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ===============================
   TİPOGRAFİ VE YARDIMCI SINIFLAR
=============================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
    position: relative;
}

.dark-section {
    background-color: var(--bg-darker);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
}

.section-header.center .section-description {
    margin: 0 auto;
}

.w-100 {
    width: 100%;
}

/* ===============================
   MİKRO ETKİLEŞİMLER & EFEKTLER
=============================== */
/* Yükleme Ekranı */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-darker);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out;
}

.loader-content {
    text-align: center;
    width: 300px;
}

.loader-text {
    font-family: var(--font-subheading);
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 20px;
}

.loader-bar-container {
    width: 100%;
    height: 2px;
    background: var(--border-glass);
    position: relative;
    overflow: hidden;
}

.loader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
}

/* Özel İmleç */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor.hover {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
}

.cursor-follower.hover {
    opacity: 0;
}

/* Kaydırma İlerlemesi */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-gradient);
    z-index: 9998;
}

/* Glassmorphism Panelleri */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--font-subheading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-glass);
    border-color: var(--accent-primary);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--bg-dark);
}

.magnetic {
    /* JS tarafından yönetilen transformlar için geçiş */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, color 0.3s;
}

/* ===============================
   GEZİNME ÇUBUĞU (HEADER)
=============================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-subheading);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
}

/* ===============================
   KAHRAMAN BÖLÜMÜ (HERO)
=============================== */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.4) 50%, rgba(5,5,5,0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--border-glass);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* ===============================
   HAKKIMIZDA BÖLÜMÜ
=============================== */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.stat-box {
    padding: 40px 20px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: inline-block;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-primary);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.instructors-timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.instructors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.instructor-card {
    padding: 30px;
    text-align: center;
    transform-style: preserve-3d; /* Tilt efekti için */
}

.instructor-image {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--accent-primary);
    transform: translateZ(30px);
}

.instructor-name {
    font-size: 1.25rem;
    margin-bottom: 5px;
    transform: translateZ(20px);
}

.instructor-role {
    color: var(--text-muted);
    font-size: 0.9rem;
    transform: translateZ(10px);
}

.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid var(--border-glass);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -37px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.timeline-content {
    padding: 20px;
}

.timeline-content h4 {
    color: var(--accent-primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* ===============================
   KURSLAR BÖLÜMÜ
=============================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.course-card {
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.course-icon {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.course-card:hover .course-icon {
    color: var(--accent-primary);
    transform: translateY(-5px);
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.course-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.course-features {
    list-style: none;
    margin-bottom: 30px;
}

.course-features li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-features i {
    color: var(--accent-primary);
}

/* ===============================
   KARŞILAŞTIRMA BÖLÜMÜ
=============================== */
.comparison-table-wrapper {
    overflow-x: auto;
    padding: 1px; /* border görünümü için */
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 25px;
    border-bottom: 1px solid var(--border-glass);
}

.comparison-table th {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-muted);
}

.comparison-table .highlight-col {
    background: rgba(212, 175, 55, 0.05);
    color: var(--text-main);
    font-weight: 600;
}

.comparison-table th.highlight-col {
    color: var(--accent-primary);
    font-size: 1.5rem;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===============================
   SÜREÇ BÖLÜMÜ
=============================== */
.process-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    counter-reset: process-counter;
}

.process-step {
    padding: 40px 30px;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-primary);
}

.step-content p {
    color: var(--text-muted);
}

/* ===============================
   REFERANSLAR BÖLÜMÜ
=============================== */
.testimonial-carousel {
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    /* JS ile hareket ettirilecek */
}

.testimonial-card {
    width: 400px;
    padding: 40px;
    flex-shrink: 0;
    white-space: normal;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.2);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    color: var(--accent-primary);
    font-family: var(--font-subheading);
}

/* ===============================
   GALERİ BÖLÜMÜ
=============================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 300px;
    overflow: hidden;
    cursor: none;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-size: 2rem;
    transition: transform 0.5s ease;
}

.img-placeholder span {
    font-size: 1rem;
    font-family: var(--font-subheading);
}

.gallery-item:hover .img-placeholder {
    transform: scale(1.05);
    color: var(--accent-primary);
}

/* ===============================
   SSS BÖLÜMÜ
=============================== */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 20px;
    overflow: hidden;
}

.accordion-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* cursor özel olacak */
}

.accordion-header h3 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 500;
}

.accordion-header i {
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    padding: 0 30px;
    opacity: 0;
    transition: all 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 0 30px 25px;
    opacity: 1;
}

.accordion-content p {
    color: var(--text-muted);
}

/* ===============================
   İLETİŞİM BÖLÜMÜ
=============================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info {
    padding: 50px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-primary);
}

.contact-form-container {
    padding: 50px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-main);
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-smooth);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group input:valid {
    border-bottom-color: var(--accent-primary);
}

.form-group input:focus + label, .form-group input:valid + label {
    top: -12px;
    font-size: 0.8rem;
    color: var(--accent-primary);
}

.form-group select option {
    background: var(--bg-darker);
    color: var(--text-main);
}

.map-container {
    height: 400px;
    overflow: hidden;
    padding: 0;
}

.map-container iframe {
    filter: invert(90%) hue-rotate(180deg) grayscale(100%) contrast(100%);
}

/* ===============================
   FOOTER VE EKSTRALAR
=============================== */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-glass);
    border-radius: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 8px;
    box-shadow: var(--shadow-neon);
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-main);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    /* JS ile hover cursor eventi eklenecek */
}

/* ===============================
   MEDYA SORGULARI (RESPONSIVE)
=============================== */
@media (max-width: 992px) {
    .instructors-timeline,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-darker);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cursor, .cursor-follower {
        display: none; /* Mobilde imleci gizle */
    }
    * {
        cursor: auto !important;
    }
}