/* --- RESET & FONTS --- */
* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; } /* Varsayılan olarak mouse gizli */
html { scroll-behavior: smooth; }

:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #cfff04; /* Neon Lime */
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative; /* Kar efekti için */
}

/* --- KAR YAĞIŞI EFEKTİ (SNOWFLAKES) - BURASI KALIYOR --- */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(4px 4px at 100px 50px, #fff, transparent), 
        radial-gradient(6px 6px at 200px 150px, #fff, transparent), 
        radial-gradient(3px 3px at 300px 250px, #fff, transparent), 
        radial-gradient(4px 4px at 400px 350px, #fff, transparent), 
        radial-gradient(6px 6px at 500px 100px, #fff, transparent), 
        radial-gradient(3px 3px at 600px 400px, #fff, transparent), 
        radial-gradient(4px 4px at 800px 250px, #fff, transparent), 
        radial-gradient(4px 4px at 900px 150px, #fff, transparent);
    background-size: 650px 650px;
    opacity: 0.3; 
    animation: snow 10s linear infinite;
    pointer-events: none; 
    z-index: 9995;
}
@keyframes snow {
    0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 0 650px, 0 650px, 0 650px, 0 650px, 0 650px, 0 650px, 0 650px, 0 650px; }
}

/* (ŞAPKA KODU BURADAN SİLİNDİ) */

/* --- CUSTOM CURSOR --- */
.cursor {
    width: 10px; height: 10px; border-radius: 50%;
    background-color: var(--accent-color);
    position: fixed; pointer-events: none; z-index: 9999;
    transition: transform 0.1s;
}
.cursor-follower {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: fixed; pointer-events: none; z-index: 9998;
    transition: transform 0.15s ease-out;
}
@media (max-width: 768px) { .cursor, .cursor-follower { display: none; } * { cursor: auto; } }

/* --- PRELOADER --- */
.preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 10000;
    display: flex; justify-content: center; align-items: center;
}
.loader-text {
    font-family: var(--font-heading); font-weight: 700; font-size: 2rem;
    color: var(--accent-color); animation: blink 1s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* --- HEADER --- */
header {
    position: fixed; top: 0; width: 100%; padding: 30px 50px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 5000;
    transition: background 0.4s, padding 0.4s;
}
header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 15px 50px;
    border-bottom: 1px solid #222;
}

.logo img { height: 40px; transition: 0.3s; }
.menu-btn {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    background: rgba(0,0,0,0.5); padding: 10px 20px; border-radius: 30px; border: 1px solid #333;
}
.menu-btn span { font-weight: 700; letter-spacing: 2px; font-size: 0.8rem; color: #fff; }
.menu-lines { display: flex; flex-direction: column; gap: 5px; }
.line { width: 30px; height: 2px; background: #fff; transition: 0.3s; }

/* --- NAV OVERLAY (MENÜ) --- */
.nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #000; z-index: 4000;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transform: translateY(-100%); transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.nav-overlay.active { transform: translateY(0); }
.nav-links { list-style: none; text-align: center; }
.nav-links li { margin: 20px 0; overflow: hidden; }
.nav-item {
    font-family: var(--font-heading); font-size: 3rem; color: #fff; text-decoration: none;
    display: block; transform: translateY(100%); transition: 0.5s; text-transform: uppercase;
}
.nav-item:hover { color: var(--accent-color); font-style: italic; }
.nav-overlay.active .nav-item { transform: translateY(0); transition-delay: 0.2s; }

/* --- HERO --- */
.hero { height: 100vh; position: relative; overflow: hidden; }
.hero-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); }
.hero-text {
    height: 100%; display: flex; flex-direction: column; justify-content: center; padding-left: 5%;
}
.hero-text h1 {
    font-family: var(--font-heading); font-size: 6vw; line-height: 0.9;
    text-transform: uppercase; margin-bottom: 20px;
}
.subtitle { letter-spacing: 5px; font-size: 1rem; color: var(--accent-color); }
.scroll-indicator {
    position: absolute; bottom: 40px; right: 50px; display: flex; align-items: center; gap: 20px;
    transform: rotate(90deg); transform-origin: right;
}

/* --- HERO SLIDER --- */
.hero-slider {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
}
.hero-slider .slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease-in-out, transform 6s ease;
    transform: scale(1);
}
.hero-slider .slide.active {
    opacity: 1; transform: scale(1.1);
}
.overlay-gradient {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
    z-index: -1;
}

/* --- MARQUEE --- */
.marquee-container {
    background: var(--accent-color); color: #000; padding: 15px 0; overflow: hidden; white-space: nowrap;
}
.marquee-content {
    display: inline-block; font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem;
    animation: marquee 20s linear infinite;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- COLLECTION --- */
.collection { padding: 100px 5%; }
.section-title { margin-bottom: 100px; border-bottom: 1px solid #333; padding-bottom: 20px; }
.section-title h2 { font-family: var(--font-heading); font-size: 3rem; }
.collection-item { display: flex; align-items: center; gap: 50px; margin-bottom: 150px; }
.collection-item.reverse { flex-direction: row-reverse; }
.item-img { flex: 1; height: 500px; overflow: hidden; }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.item-img:hover img { transform: scale(1.1); }
.item-info { flex: 1; }
.item-info h3 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 20px; color: var(--accent-color); }
.item-info p { font-size: 1.2rem; color: #bbb; max-width: 400px; }

/* --- JOURNAL --- */
.journal { padding: 100px 5%; background: #0a0a0a; }
.journal-header { margin-bottom: 60px; display: flex; justify-content: space-between; align-items: flex-end; }
.journal-header h2 { font-family: var(--font-heading); font-size: 3rem; }
.journal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.journal-card { cursor: pointer; transition: 0.3s; }
.journal-card:hover { transform: translateY(-10px); }
.card-img { height: 300px; overflow: hidden; margin-bottom: 20px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: 0.5s; }
.journal-card:hover .card-img img { filter: grayscale(0%); transform: scale(1.05); }
.date { font-size: 0.8rem; color: var(--accent-color); letter-spacing: 2px; }
.card-content h4 { font-size: 1.5rem; margin: 10px 0; font-weight: 400; color: #fff; }
.read-more { font-size: 0.9rem; color: #fff; border-bottom: 1px solid #fff; padding-bottom: 5px; }

/* --- MODALS (POPUP) --- */
.modal {
    display: none; position: fixed; z-index: 6000; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9); backdrop-filter: blur(5px);
    justify-content: center; align-items: center;
    cursor: auto !important;
}
.modal-content {
    background-color: #111; padding: 40px; border: 1px solid var(--accent-color);
    width: 80%; max-width: 800px; max-height: 80vh; overflow-y: auto;
    position: relative; animation: slideUp 0.4s ease;
    cursor: auto !important;
}
.modal-content * { cursor: auto !important; }

@keyframes slideUp { from {transform: translateY(50px); opacity: 0;} to {transform: translateY(0); opacity: 1;} }
.close-modal {
    position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; font-weight: bold; 
    cursor: pointer !important;
}
.close-modal:hover { color: var(--accent-color); }
.modal-content h2 { font-family: var(--font-heading); color: var(--accent-color); margin-bottom: 20px; font-size: 2rem; }
.modal-content h3 { color: #fff; margin: 20px 0 10px; font-size: 1.3rem; }
.modal-content p, .modal-content li { color: #ccc; line-height: 1.8; font-size: 1.1rem; }
.modal-content ul { padding-left: 20px; }

/* --- FOOTER --- */
footer { padding: 100px 5%; background: #000; border-top: 1px solid #222; }
.footer-content h2 { font-family: var(--font-heading); font-size: 5vw; line-height: 1; margin-bottom: 80px; }
.footer-links { display: flex; gap: 100px; margin-bottom: 80px; }
.contact-block span { display: block; font-size: 0.8rem; color: #666; margin-bottom: 20px; letter-spacing: 2px; }
.contact-block p, .contact-block a { font-size: 1.2rem; color: #fff; text-decoration: none; line-height: 1.5; cursor: pointer !important; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 0.8rem; color: #444; text-transform: uppercase; }

/* --- ANIMATION CLASSES --- */
.reveal-text, .reveal-scroll, .reveal-img { opacity: 0; transform: translateY(50px); transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1); }
.active-reveal { opacity: 1; transform: translateY(0); }

/* --- SCHEDULE --- */
.schedule-section { padding: 150px 5% 100px; background: #050505; min-height: 100vh; }
.schedule-container { max-width: 1000px; margin: 0 auto; }
.schedule-table { width: 100%; border-collapse: collapse; margin-top: 50px; background: #111; border: 1px solid #333; }
.schedule-table th { background: var(--accent-color); color: #000; padding: 20px; text-align: left; font-family: var(--font-heading); font-size: 1.2rem; }
.schedule-table td { padding: 20px; border-bottom: 1px solid #222; color: #ddd; font-family: var(--font-body); }
.schedule-table tr:hover { background: #1a1a1a; }
.class-time { font-weight: 700; color: var(--accent-color); display: block; margin-bottom: 5px; }
.class-name { font-size: 1.1rem; font-weight: 500; }
.class-tag { font-size: 0.7rem; padding: 3px 8px; border-radius: 4px; background: #333; color: #fff; margin-left: 10px; text-transform: uppercase; }

/* --- GALERİ (MASONRY LAYOUT) --- */
.gallery-header { padding-top: 150px; padding-bottom: 50px; text-align: center; background: #050505; }
.gallery-header h1 { font-size: 4rem; font-family: var(--font-heading); color: #fff; }
.gallery-header p { font-size: 1rem; color: var(--accent-color); letter-spacing: 5px; margin-top: 10px; }

.gallery-section { padding: 0 5% 100px; background: #050505; }
.masonry-grid { column-count: 3; column-gap: 20px; }
.masonry-item { margin-bottom: 20px; overflow: hidden; break-inside: avoid; border: 1px solid #222; transition: 0.3s; }
.masonry-item img { width: 100%; display: block; filter: grayscale(100%); transition: 0.5s; cursor: pointer; }
.masonry-item:hover img { filter: grayscale(0%); transform: scale(1.05); }
.masonry-item:hover { border-color: var(--accent-color); }

/* --- LIGHTBOX (CURSOR FIX DAHİL) --- */
.lightbox { 
    display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.95); justify-content: center; align-items: center; animation: fadeIn 0.3s;
    cursor: auto !important;
}
.lightbox img { 
    max-width: 90%; max-height: 90vh; border: 2px solid var(--accent-color); 
    box-shadow: 0 0 30px rgba(207, 255, 4, 0.2); 
    cursor: auto !important;
}
.close-lightbox { 
    position: absolute; top: 30px; right: 40px; color: #fff; font-size: 3rem; 
    cursor: pointer !important; transition: 0.3s; 
}
.close-lightbox:hover { color: var(--accent-color); transform: rotate(90deg); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- WORKOUT SAYFASI --- */
.workout-section { padding: 150px 5% 50px; text-align: center; min-height: 100vh; background: #080808; }
.muscle-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px; margin-top: 50px;
}
.muscle-card {
    background: #111; border: 1px solid #333; padding: 30px 10px;
    border-radius: 10px; cursor: pointer; transition: 0.3s;
}
.muscle-card:hover {
    background: var(--accent-color); color: #000; transform: translateY(-5px);
}
.muscle-card i { font-size: 2.5rem; margin-bottom: 15px; }
.muscle-card h3 { font-family: var(--font-heading); font-size: 1rem; }

.workout-details { margin-top: 50px; text-align: left; max-width: 800px; margin-left: auto; margin-right: auto; }
.detail-box {
    background: #151515; padding: 40px; border-left: 5px solid var(--accent-color);
    animation: slideUp 0.5s ease;
}
.detail-box h2 { color: var(--accent-color); font-family: var(--font-heading); margin-bottom: 20px; }
.detail-desc { color: #ccc; margin-bottom: 30px; font-style: italic; }
.detail-list { list-style: none; }
.detail-list li { margin-bottom: 15px; font-size: 1.1rem; color: #fff; }
.detail-list i { color: var(--accent-color); margin-right: 10px; }
.cta-box { margin-top: 30px; padding-top: 20px; border-top: 1px solid #333; color: #888; font-size: 0.9rem; }

/* --- BLOG SAYFASI --- */
.blog-header { padding-top: 150px; text-align: center; background: #050505; padding-bottom: 50px; }
.blog-list { max-width: 800px; margin: 0 auto; padding: 0 20px 100px; }
.blog-item {
    background: #111; padding: 40px; margin-bottom: 40px;
    border-bottom: 2px solid var(--accent-color);
}
.blog-item h2 { color: #fff; font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 20px; }
.blog-item p { color: #bbb; line-height: 1.8; font-size: 1.1rem; }

/* --- TIKLANABİLİR HARİTA TASARIMI --- */
.map-wrapper { width: 100%; margin-top: 40px; margin-bottom: 20px; }
.map-link { display: block; text-decoration: none; position: relative; cursor: pointer; }
.map-container {
    position: relative; width: 100%; height: 400px;
    border: 1px solid #333; overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}
.map-wrapper:hover .map-container {
    border-color: var(--accent-color, #aeff00);
    box-shadow: 0 0 30px rgba(174, 255, 0, 0.15);
}
.map-container iframe {
    width: 100%; height: 100%; border: 0; display: block;
    pointer-events: none; /* Harita oynamasın, tıklayınca linke gitsin */
    filter: invert(90%) hue-rotate(180deg) grayscale(20%) contrast(90%); /* Dark Mode */
    transition: filter 0.5s ease;
}
.map-wrapper:hover iframe { filter: invert(90%) hue-rotate(180deg) grayscale(0%) contrast(100%); }

.map-overlay-content {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    display: flex; flex-direction: column; align-items: center; z-index: 10;
    pointer-events: none;
}
.map-pin-logo {
    width: 70px; height: auto; filter: drop-shadow(0 0 10px #000);
    margin-bottom: 10px; animation: bounce 2s infinite;
}
.direction-btn {
    background-color: var(--accent-color, #aeff00); color: #000; padding: 8px 16px;
    font-family: 'Syncopate', sans-serif; font-weight: 700; font-size: 0.8rem; letter-spacing: 1px;
    border-radius: 4px; opacity: 0; transform: translateY(10px);
    transition: all 0.3s ease; box-shadow: 0 0 15px rgba(174, 255, 0, 0.5);
}
.map-wrapper:hover .direction-btn { opacity: 1; transform: translateY(0); }

@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- CURSOR FIX (GENEL) --- */
body.modal-open .cursor, body.modal-open .cursor-follower { display: none !important; opacity: 0 !important; }
body.modal-open, .modal, .modal-dialog, .modal-content, .lightbox { cursor: auto !important; }
.modal a, .modal button, .close-modal, .read-more-btn { cursor: pointer !important; }

/* --- NEDEN BİZ (FEATURES) --- */
.features-section { padding: 100px 20px; background-color: #080808; border-bottom: 1px solid #222; }
.features-grid { max-width: 1200px; margin: 50px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { background: #111; padding: 40px 25px; border: 1px solid #333; text-align: center; transition: all 0.4s ease; position: relative; overflow: hidden; }
.feature-card:hover { transform: translateY(-10px); border-color: var(--accent-color, #aeff00); box-shadow: 0 10px 30px rgba(174, 255, 0, 0.1); }
.icon-box { font-size: 3rem; color: #666; margin-bottom: 25px; transition: 0.4s; }
.feature-card:hover .icon-box { color: var(--accent-color, #aeff00); transform: scale(1.1); text-shadow: 0 0 15px rgba(174, 255, 0, 0.5); }
.feature-card h3 { font-family: 'Syncopate', sans-serif; color: #fff; margin-bottom: 15px; font-size: 1.1rem; letter-spacing: 1px; }
.feature-card p { color: #999; font-size: 0.9rem; line-height: 1.6; font-family: 'Manrope', sans-serif; }

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    header { padding: 20px; }
    header.scrolled { padding: 15px 20px; }
    .hero-text h1 { font-size: 12vw; }
    .collection-item { flex-direction: column; gap: 30px; margin-bottom: 100px; }
    .collection-item.reverse { flex-direction: column; }
    .item-img { height: 300px; width: 100%; }
    .footer-links { flex-direction: column; gap: 40px; }
    .footer-content h2 { font-size: 12vw; }
    .modal-content { width: 95%; padding: 20px; }
    .masonry-grid { column-count: 1; }
    .gallery-header h1 { font-size: 2.5rem; }
    
    .map-container { height: 300px; }
    .direction-btn { opacity: 1; transform: translateY(0); }
    
    /* MOBİL MENÜ YAZI BOYUTU DÜZELTMESİ (YENİ) */
    .nav-item { font-size: 1.5rem !important; margin: 10px 0; }
    .feature-card { padding: 30px 20px; }
}