/* Practices Section - Futuristic Timeline Design */
#practices {
	background: linear-gradient(135deg, rgba(136, 176, 211, 0.05) 0%, rgba(152, 216, 200, 0.05) 100%);
	padding: 5rem 5%;
}

.practices-container {
	max-width: 1200px;
	margin: 0 auto;
}

.practice-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 3rem;
	margin-top: 3rem;
}

/* Futuristic Left Timeline */
.timeline-track {
	position: relative;
	padding: 2rem 0;
}

.timeline-progress {
	position: absolute;
	left: 50%;
	top: 2rem;
	bottom: 2rem;
	width: 2px;
	background: rgba(107, 91, 149, 0.1);
	transform: translateX(-50%);
}

.timeline-progress::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0;
	background: var(--gradient-1);
	animation: fillTimeline 3s ease forwards;
}

@keyframes fillTimeline {
	to {
		height: 100%;
	}
}

.timeline-points {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.timeline-point {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.futuristic-label {
	position: relative;
	padding: 1rem 2rem;
	background: white;
	border-radius: 50px;
	font-weight: 600;
	color: var(--dark);
	transition: all 0.3s ease;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	z-index: 5;
	min-width: 200px;
	text-align: center;
}

.futuristic-label::before {
	content: '';
	position: absolute;
	inset: -2px;
	border-radius: 50px;
	background: var(--gradient-1);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: -1;
}

.futuristic-label::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50px;
	background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
	transform: translateX(-100%);
	transition: transform 0.6s ease;
	z-index: -1;
}

.timeline-point:hover .futuristic-label,
.timeline-point.active .futuristic-label {
	animation: zoomPulse 0.6s ease-in-out;
}

@keyframes zoomPulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}

	100% {
		transform: scale(1);
	}
}


.timeline-point:hover .timeline-indicator,
.timeline-point.active .timeline-indicator {
	transform: translateX(-50%) scale(1.3);
	background: var(--primary);
	box-shadow: 0 0 15px rgba(45, 90, 135, 0.6);
}

.label-text {
	position: relative;
	z-index: 2;
	font-size: 1.1rem;
	letter-spacing: 0.5px;
}
/* Glowing dot indicator */
.timeline-indicator {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 12px;
	height: 12px;
	background: white;
	border: 2px solid var(--primary);
	border-radius: 50%;
	z-index: 2;
}

.timeline-point.active .timeline-indicator {
	background: var(--primary);
	box-shadow: 0 0 20px rgba(107, 91, 149, 0.5);
}

/* Right Content Area */
.practice-content-area {
	display: grid;
	gap: 2rem;
}

.practice-card-new {
	background: white;
	padding: 2.5rem;
	border-radius: 20px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.practice-card-new::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: var(--gradient-1);
}

.practice-card-new:hover {
	transform: translateX(10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.practice-header {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.practice-icon-new {
	width: 60px;
	height: 60px;
	background: var(--gradient-2);
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
}

.practice-info h3 {
	font-size: 1.5rem;
	color: var(--dark);
	margin-bottom: 0.3rem;
}

.practice-duration {
	font-size: 0.9rem;
	color: var(--primary);
	font-weight: 500;
}

.practice-description {
	color: #666;
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

.practice-benefits {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.benefit-tag {
	padding: 0.5rem 1rem;
	background: linear-gradient(135deg, rgba(45, 90, 135, 0.1) 0%, rgba(74, 124, 138, 0.1) 100%);
	border-radius: 20px;
	font-size: 0.85rem;
	color: var(--primary);
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.benefit-tag:hover {
	background: linear-gradient(135deg, #F1E5AC 0%, #4a90e2 100%);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}
/* Resources Section - New Structure */
#resources {
	padding: 5rem 5%;
	max-width: 1200px;
	margin: 0 auto;
}

.resource-tabs {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 3rem;
}

.tab-btn {
	padding: 0.8rem 2rem;
	background: white;
	border: 2px solid var(--primary);
	border-radius: 25px;
	color: var(--primary);
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
	background: var(--gradient-1);
	color: white;
	border-color: transparent;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
	animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.resource-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.resource-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
}

.resource-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.resource-image {
	height: auto;
	background: var(--gradient-2);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.resource-thumbnail {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
	color: transparent;
	position: relative;
	z-index: 1;
}

/* Real thumbnail images */
.morning-meditation {
	background-image: url('images/unsplash-mountain-cloud.avif');
}

.stress-relief {
	background-image: url('images/unsplash-blue-lakeside.avif');
}

.sleep-meditation {
	background-image: url('images/unsplash-mountain-top.avif');
}

.mbsr-course {
	background-image: url('images/unsplash-library-bookshelf.avif');
}

.leadership-course {
	background-image: url('images/unsplash-people-meeting-room.avif');
}

.beginner-course {
	background-image: url('images/unsplash-yoga-session.avif');
}

.timer-tool {
	background-image: url('images/unsplash-meditation-timer.avif');
}

.mood-tracker {
	background-image: url('images/unsplash-mood-tracker.avif');
}

.breathing-tool {
	background-image: url('images/unsplash-breathing-exercise.avif');
}

.resource-image::before {
	content: '';
	position: absolute;
	width: 200%;
	height: 200%;
	background: repeating-linear-gradient(45deg,
			transparent,
			transparent 10px,
			rgba(255, 255, 255, 0.1) 10px,
			rgba(255, 255, 255, 0.1) 20px);
	animation: slide 20s linear infinite;
}

@keyframes slide {
	0% {
		transform: translate(-50%, -50%);
	}

	100% {
		transform: translate(0, 0);
	}
}

.resource-body {
	padding: 1.5rem;
}
/* === MOBİL GÖRÜNÜM (max 768px) === */
@media (max-width: 768px) {
  /* Genel padding azalt */
  #practices {
    padding: 5rem 1.5rem 2rem 1.5rem; /* üst boşluğu artırdık */
  }

  /* 2 kolonlu yapıyı tek kolona çevir */
  .practice-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1rem;
  }

  /* Timeline çizgiyi gizle ama layout yüksekliğini koru */
  .timeline-track {
    visibility: hidden;   /* Görünmez yapıyoruz ama alanı koruyor */
    height: 60px;         /* Görsel yükseklik desteği */
  }

  /* Başlıklar ortalansın */
  .timeline-point,
  .futuristic-label {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .futuristic-label {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    margin: 0 auto;
  }

  /* İçerik kartları */
  .practice-content-area {
    gap: 1.5rem;
  }

  .practice-card-new {
    padding: 1.5rem;
  }

  .practice-header {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
  }

  .practice-icon-new {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    border-radius: 10px;
  }

  .practice-info h3 {
    font-size: 1.2rem;
  }

  .practice-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Etiketler (benefit-tag) daha sık dizilsin */
  .benefit-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}
