/* Genel Stiller */
body { background-color: #121827; color: #E0E0E0; font-family: 'Nunito Sans', sans-serif; margin: 0; text-align: center; }
.hidden { display: none !important; }

/* Navigasyon Menüsü */
header { background-color: rgba(18, 24, 39, 0.85); backdrop-filter: blur(10px); padding: 15px 0; position: fixed; top: 0; width: 100%; z-index: 1000; transition: transform 0.3s; }
header.hidden { transform: translateY(-100%); }
nav a { color: #E0E0E0; text-decoration: none; margin: 0 15px; font-size: 1.1rem; transition: color 0.3s; cursor: pointer; }
nav a:hover, nav a.active { color: #4a90e2; }

/* Ana Bölümler */
.main-section { display: none; min-height: 100vh; width: 100%; box-sizing: border-box; padding: 100px 20px; align-items: center; justify-content: center; flex-direction: column; }
.main-section.active { display: flex; }

#ana-sayfa { text-align: center; }
#ana-sayfa h1 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 3.5rem; margin-bottom: 20px; }
#ana-sayfa p { font-family: 'Nunito Sans', sans-serif; font-weight: 300; font-size: 1.4rem; max-width: 800px; line-height: 1.7; color: #a0a0a0; }

/* Pratik Ekranları (Tam Ekran Modu) */
.practice-screen { display: none; width: 100%; position: fixed; top:0; left:0; z-index: 2000; background-color: #121827; }
.practice-screen.active { display: flex; flex-direction: column; justify-content: space-between; align-items: center; height: 100vh; width: 100vw; overflow: hidden; }
.practice-screen .container { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 0; }
#meditation-screen.active .container { justify-content: center; }


/* Video Arka Plan */
.background-video-shared { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -2; opacity: 0; transition: opacity 1s ease-in-out; object-fit: cover; }
.background-video-shared.visible { opacity: 1; }
#ana-sayfa .background-video-shared { z-index: -10; opacity: 1;}

/* Uygulamalar Bölümü */
.practice-menu { display: flex; flex-direction: column; gap: 25px; max-width: 500px; margin: 20px auto; width: 90%; }
.practice-item { text-align: center; }
.menu-button { background-color: rgba(255, 255, 255, 0.1); color: #E0E0E0; border: 1px solid rgba(255, 255, 255, 0.3); padding: 20px; font-size: 1.2rem; font-weight: 400; border-radius: 10px; cursor: pointer; transition: background-color 0.3s, box-shadow 0.3s; width: 100%; font-family: 'Nunito Sans', sans-serif; letter-spacing: 1px;}
.menu-button:hover { background-color: rgba(74, 144, 226, 0.2); box-shadow: 0 0 10px rgba(74, 144, 226, 0.5); }

/* Geri Bildirim Formu */
.feedback-form { max-width: 600px; width: 100%; display: flex; flex-direction: column; gap: 15px; text-align: left; }
.feedback-form input, .feedback-form select, .feedback-form textarea { width: 100%; box-sizing: border-box; padding: 12px; border-radius: 8px; border: 1px solid #333c4b; background-color: #1f2735; color: #E0E0E0; font-size: 1rem; font-family: 'Nunito Sans', sans-serif;}
.feedback-form textarea { resize: vertical; min-height: 120px; }
.feedback-form button { background-color: #4a90e2; color: white; border: none; padding: 15px; font-size: 1.1rem; border-radius: 8px; cursor: pointer; transition: background-color 0.3s; font-family: 'Nunito Sans', sans-serif; font-weight: bold;}
.feedback-form button:hover { background-color: #357ABD; }

/* Referanslar Bölümü Stil Düzeltmeleri */
#referanslar .content-box {
    max-width: 800px;
    width: 100%;
    text-align: left; /* Metinleri sola yasla */
    background-color: rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
#referanslar h1 {
    text-align: center; /* Ana başlığı ortada tut */
}
#referanslar .form-description {
    text-align: center; /* Açıklamayı ortada tut */
    margin-bottom: 40px;
}
#referanslar h2 {
    color: #4a90e2; /* Bölüm başlıklarını renklendir */
    border-bottom: 1px solid #333c4b;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
}
#referanslar ul {
    padding-left: 20px; /* Liste girintisi */
}
#referanslar li {
    margin-bottom: 12px; /* Liste elemanları arası boşluk */
    line-height: 1.6;
}
#referanslar a {
    color: #8bbfff;
    text-decoration: none;
}
#referanslar a:hover {
    text-decoration: underline;
}


/* --- PRATİK EKRANI İÇİNDEKİ STİLLER --- */
.timer-display-top { width: 100%; padding: 30px 0 50px 0; text-align: center; position: relative; z-index: 5; background: none; transition: opacity 0.5s, transform 0.5s; overflow-y: auto; }
.screen-title { font-size: 2.2rem; font-weight: 400; padding: 10px 20px; text-shadow: 1px 1px 8px rgba(0,0,0,0.7); font-family: 'Playfair Display', serif; }
.practice-info-note { font-size: 1.1rem; color: #a0a0a0; max-width: 700px; padding: 0 20px; margin: 15px auto 0 auto; line-height: 1.7; transition: opacity 0.5s, transform 0.5s, height 0.5s, margin 0.5s; text-shadow: 1px 1px 5px rgba(0,0,0,0.7); font-weight: 300; }
.practice-info-note.hidden { opacity: 0; transform: translateY(-20px); height: 0; margin: 0 auto; overflow: hidden; }
.timer { font-size: 5rem; font-weight: bold; color: #4a90e2; text-shadow: 2px 2px 10px rgba(0,0,0,0.6); }
.controls-bar { width: 100%; max-width: 600px; margin-bottom: 30px; padding: 30px 15px 15px 15px; background: none; border-radius: 15px; position: relative; z-index: 5; transition: opacity 0.5s, transform 0.5s;}
.controls-group { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.control-label { width: 100%; font-size: 0.9rem; color: #a0a0a0; margin-bottom: 5px; text-shadow: 1px 1px 5px rgba(0,0,0,0.7); }
.control-button { background-color: #333c4b; border: 1px solid rgba(255, 255, 255, 0.3); padding: 8px 10px; border-radius: 8px; cursor: pointer; transition: background-color 0.3s; font-size: 0.85rem; flex-grow: 1; }
.control-button:hover { background-color: #4a5464; }
.control-button.selected { background-color: #4a90e2; border-color: #357ABD; color: white; font-weight: 600; }
.action-group { display: flex; justify-content: center; align-items: center; margin-top: 20px; }
.action-button { background-color: #4a90e2; color: white; border: none; padding: 12px 30px; font-size: 1.1rem; border-radius: 50px; cursor: pointer; transition: background-color 0.3s; margin-right: 15px; }
.back-button { background: none; border: none; color: #a0a0a0; cursor: pointer; font-size: 1rem; }
.fullscreen-button { background-color: rgba(74, 144, 226, 0.2); color: #4a90e2; border: 1px solid #4a90e2; padding: 10px 15px; font-size: 0.95rem; border-radius: 8px; cursor: pointer; margin-left: 10px; }
input[type="range"] { -webkit-appearance: none; width: 100%; height: 8px; background: #333c4b; border-radius: 4px; cursor: pointer; margin-top: 10px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #4a90e2; cursor: pointer; }
#local-mirror-video { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scaleX(-1); width: auto; height: 100%; border-radius: 10px; z-index: -1; object-fit: cover; }
.practice-screen.active #local-mirror-video { display: block; }

#star-focus-element {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 15px 5px white, 0 0 30px 10px #f0f8ff, 0 0 50px 20px #4a90e2;
    z-index: 10;
    animation: pulse 4s infinite ease-in-out;
}
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.9); box-shadow: 0 0 15px 5px white, 0 0 30px 10px #f0f8ff, 0 0 50px 20px #4a90e2; }
    50% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 25px 10px white, 0 0 50px 20px #f0f8ff, 0 0 80px 30px #4a90e2; }
    100% { transform: translate(-50%, -50%) scale(0.9); box-shadow: 0 0 15px 5px white, 0 0 30px 10px #f0f8ff, 0 0 50px 20px #4a90e2; }
}

body.fullscreen-active .timer-display-top,
body.fullscreen-active .controls-bar { transform: translateY(150%); opacity: 0; pointer-events: none; }
body.fullscreen-active .timer-display-top { transform: translateY(-150%); }
body.fullscreen-active .controls-visible { transform: translateY(0); opacity: 1; pointer-events: all; }

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    nav a { margin: 0 5px; font-size: 0.85rem; }
    #ana-sayfa h1 { font-size: 2.5rem; }
    #ana-sayfa p { font-size: 1.1rem; }
    .practice-menu { max-width: 90%; }
    .menu-button { font-size: 1rem; padding: 15px; }
    .screen-title { font-size: 1.8rem; }
    .timer { font-size: 4rem; }
    .practice-info-note { font-size: 0.9rem; }
    .action-group { flex-wrap: wrap; justify-content: center; }
    .action-button { margin-bottom: 10px; }
    .fullscreen-button { margin-left: 0; }
}