:root {
  --primary: #1e88e5;
  --primary-dark: #1976d2;
  --secondary: #43a047;
  --accent: #ff7043;
  --text: #333333;
  --text-light: #666666;
  --bg: #f9f9f9;
  --bg-light: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Header Stili */
.meditasyon-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.meditasyon-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.meditasyon-header p {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.meditasyon-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Ana içerik konteyner */
.meditasyon-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .meditasyon-container {
    grid-template-columns: 1fr;
  }
}

/* Meditasyon Bilgileri */
.meditasyon-info {
  background: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.info-section {
  margin-bottom: 2rem;
}

.info-section h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.info-section p {
  margin-bottom: 1rem;
}

.benefits-list {
  list-style-type: none;
}

.benefits-list li {
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.5rem;
}

.benefits-list li::before {
  content: "•";
  color: var(--secondary);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.3rem;
}

.references {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 1rem;
}

.references a {
  color: var(--primary);
  text-decoration: none;
}

/* Meditasyon Uygulama Kısmı */
.meditasyon-practice {
  position: relative;
}

.practice-card {
  background: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  position: sticky;
  top: 20px;
}

.practice-card h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.practice-card p {
  margin-bottom: 1.5rem;
}

/* Butonlar */
.btn-primary, .btn-secondary, .btn-accent {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: #e0e0e0;
  color: var(--text);
}

.btn-secondary:hover {
  background-color: #d0d0d0;
}

.btn-accent {
  background-color: var(--accent);
  color: white;
}

.btn-accent:hover {
  background-color: #e65100;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  overflow: auto;
}

.modal-content {
  background: var(--bg-light);
  margin: 5% auto;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
  animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

.close-modal:hover {
  color: var(--primary);
}

/* Animasyon */
.animation-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.breath-animation {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--secondary) 70%, var(--primary) 100%);
  border-radius: 50%;
  animation: breathe 6s infinite ease-in-out;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.5); opacity: 1; }
}

.guidance-text {
  text-align: center;
  font-size: 1.2rem;
  margin: 1.5rem 0;
  min-height: 60px;
  color: var(--primary);
  font-weight: 500;
}

.meditation-controls {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* İlerleme çubuğu */
.meditation-progress {
  margin-top: 1.5rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress {
  height: 100%;
  background: var(--primary);
  width: 0;
  transition: width 1s linear;
}

#meditation-time {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Uygulama Rehberi */
.practice-steps {
  margin-top: 1rem;
}

.practice-step {
  background: rgba(67, 160, 71, 0.1);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.practice-step h4 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.step-number {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: var(--secondary);
  color: white;
  text-align: center;
  border-radius: 50%;
  margin-right: 0.5rem;
  font-size: 0.9rem;
  line-height: 24px;
}

/* Uyarı mesajı stili */
.alert {
  padding: 12px 16px;
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
}

.alert-warning {
  background-color: #fff3e0;
  color: #e65100;
  border-left: 4px solid #ff9800;
}

.alert strong {
  font-weight: 600;
  margin-right: 5px;
}

/* Responsivite için */
@media (max-width: 768px) {
  .meditasyon-header {
    padding: 2rem 1rem;
  }
  
  .meditasyon-header h1 {
    font-size: 2rem;
  }
  
  .modal-content {
    width: 95%;
  }
  
  .meditation-controls {
    flex-direction: column;
  }
}