﻿/* ========================================
   Home Page Styles
   ======================================== */

/* Fade-in Animation */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 3.2s cubic-bezier(0.22, 1, 0.36, 1), transform 3.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for section contents */
.fade-in-section .intro-title,
.fade-in-section .intro-card,
.fade-in-section .stat-item,
.fade-in-section .section-title,
.fade-in-section .section-subtitle,
.fade-in-section .goal-card,
.fade-in-section .news-card,
.fade-in-section .social-link {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1), transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-section.visible .intro-title,
.fade-in-section.visible .intro-card,
.fade-in-section.visible .stat-item,
.fade-in-section.visible .section-title,
.fade-in-section.visible .section-subtitle,
.fade-in-section.visible .goal-card,
.fade-in-section.visible .news-card,
.fade-in-section.visible .social-link {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-section.visible .intro-title { transition-delay: 0.18s; }
.fade-in-section.visible .intro-card { transition-delay: 0.36s; }
.fade-in-section.visible .intro-stats .stat-item:nth-child(1) { transition-delay: 0.6s; }
.fade-in-section.visible .intro-stats .stat-item:nth-child(2) { transition-delay: 0.84s; }

.fade-in-section.visible.goals-section .section-title,
.fade-in-section.visible.news-section .section-title,
.fade-in-section.visible.press-section .section-title {
  transition-delay: 0.24s;
}

.fade-in-section.visible.goals-section .section-subtitle,
.fade-in-section.visible.news-section .section-subtitle,
.fade-in-section.visible.press-section .section-subtitle {
  transition-delay: 0.38s;
}

.fade-in-section.visible .goals-grid .goal-card:nth-child(1) { transition-delay: 0.52s; }
.fade-in-section.visible .goals-grid .goal-card:nth-child(2) { transition-delay: 0.72s; }
.fade-in-section.visible .goals-grid .goal-card:nth-child(3) { transition-delay: 0.92s; }
.fade-in-section.visible .goals-grid .goal-card:nth-child(4) { transition-delay: 1.12s; }

.fade-in-section.visible .news-grid .news-card:nth-child(1) { transition-delay: 0.52s; }
.fade-in-section.visible .news-grid .news-card:nth-child(2) { transition-delay: 0.72s; }
.fade-in-section.visible .news-grid .news-card:nth-child(3) { transition-delay: 0.92s; }
.fade-in-section.visible .news-grid .news-card:nth-child(4) { transition-delay: 1.12s; }

.fade-in-section.visible .social-links .social-link:nth-child(1) { transition-delay: 0.52s; }
.fade-in-section.visible .social-links .social-link:nth-child(2) { transition-delay: 0.72s; }
.fade-in-section.visible .social-links .social-link:nth-child(3) { transition-delay: 0.92s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in-section,
  .fade-in-section.visible,
  .fade-in-section .intro-title,
  .fade-in-section .intro-card,
  .fade-in-section .stat-item,
  .fade-in-section .section-title,
  .fade-in-section .section-subtitle,
  .fade-in-section .goal-card,
  .fade-in-section .news-card,
  .fade-in-section .social-link {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Intro Section */
.intro-section {
  min-height: 100vh;
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, #eaf4ff 0%, #d6e9ff 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.intro-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.intro-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 168, 225, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.intro-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  color: #14497c;
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  position: relative;
  z-index: 1;
  text-shadow: none;
}

.intro-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--spacing-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.intro-card {
  background: linear-gradient(135deg, #14497c 0%, #1a5590 50%, #00a8e1 100%);
  border-radius: 20px;
  padding: var(--spacing-2xl);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-base);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.intro-card:hover {
  transform: translateX(8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.intro-text {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--spacing-lg);
  text-align: justify;
}

.intro-text:last-child {
  margin-bottom: 0;
}

/* Stats Section */
.intro-stats {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.stat-item {
  background: linear-gradient(135deg, #14497c 0%, #1a5590 50%, #00a8e1 100%);
  border-radius: 16px;
  padding: var(--spacing-xl);
  text-align: center;
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.stat-item:hover {
  transform: translateX(-8px) scale(1.05);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.25) 100%);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
}

.stat-item:hover::before {
  left: 100%;
}

.stat-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.stat-link:hover {
  text-decoration: none;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .intro-section {
    min-height: 100vh;
    padding: var(--spacing-2xl) 0;
  }

  .intro-content-wrapper {
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-xl);
  }
  
  .intro-card {
    padding: var(--spacing-xl);
  }
  
  .stat-item {
    padding: var(--spacing-lg);
  }

  .goals-section {
    min-height: 100vh;
  }

  .news-section {
    min-height: 100vh;
  }
}

@media (max-width: 768px) {
  .intro-section {
    min-height: 100vh;
    padding: var(--spacing-xl) 0;
  }
  
  .intro-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: var(--spacing-xl);
  }

  .intro-content-wrapper {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .intro-card {
    padding: var(--spacing-lg);
    border-radius: 16px;
  }

  .intro-card:hover {
    transform: translateY(-4px);
  }
  
  .intro-text {
    font-size: var(--font-size-sm);
  }
  
  .intro-stats {
    flex-direction: row;
    justify-content: center;
    gap: var(--spacing-md);
  }
  
  .stat-item {
    flex: 1;
    min-width: 140px;
    padding: var(--spacing-lg);
  }

  .stat-item:hover {
    transform: translateY(-4px) scale(1.05);
  }
  
  .stat-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
  }
  
  .stat-label {
    font-size: var(--font-size-base);
  }

  .goals-section {
    min-height: 100vh;
  }

  .news-section {
    min-height: 100vh;
  }
}

@media (max-width: 480px) {
  .intro-section {
    min-height: 100vh;
  }

  .intro-section::before,
  .intro-section::after {
    display: none;
  }
  
  .intro-card {
    padding: var(--spacing-md);
    border-radius: 12px;
  }
  
  .intro-stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .stat-item {
    width: 100%;
    min-width: unset;
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .goals-section {
    min-height: 100vh;
  }

  .news-section {
    min-height: 100vh;
  }
}


/* ========================================
   Home Hero Section
   ======================================== */

.home-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* İçeriği dikeyde sona yasla */
  overflow: hidden;
  background: transparent !important;
  padding-bottom: clamp(6rem, 12vh, 9rem); /* Alttan boşluk ekle */
}

.home-hero::before,
.home-hero::after {
  content: none !important;
  display: none !important;
}

.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-background iframe,
.hero-video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%) scale(1.1);
  transform-origin: center;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
  .hero-video-background iframe,
  .hero-video-background video {
    height: 56.25vw;
  }
}

@media (max-aspect-ratio: 16/9) {
  .hero-video-background iframe,
  .hero-video-background video {
    width: 177.78vh;
  }
}

.home-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: var(--hero-text-max-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hero-gap); /* transform kaldırıldı */
}

.home-hero__title {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: var(--hero-title-weight);
  color: #ffffff;
  line-height: var(--hero-title-line-height);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: var(--hero-letter-spacing);
}

.home-hero__subtitle {
  font-size: var(--hero-subtitle-size);
  font-weight: var(--hero-subtitle-weight);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--hero-subtitle-line-height);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
  letter-spacing: 0;
}

.home-hero__nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2rem);
  flex-wrap: nowrap;
  justify-content: center;
  overflow-x: hidden; /* Masaüstünde kaydırma çubuğunu gizle */
  padding: 0 clamp(0.5rem, 2vw, 1.25rem);
  -webkit-overflow-scrolling: touch;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
}

.contents-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: clamp(1.05rem, 3vw, 1.35rem);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  min-width: 130px;
  height: auto;
  flex: 0 1 170px;
}

.contents-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.contents-icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contents-item:hover .contents-icon {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.nav-target-highlight {
  animation: navTargetFadeIn 2s ease-out forwards;
}

@keyframes navTargetFadeIn {
  0% {
    opacity: 0.25;
    filter: blur(3px);
  }

  60% {
    opacity: 0.7;
    filter: blur(1px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.contents-icon i {
  font-size: 1.3rem;
  color: #ffffff;
}

.contents-text {
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
}

/* ========================================
   Goals Section
   ======================================== */

.goals-section {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.goals-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.goals-video-background iframe,
.goals-video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
  .goals-video-background iframe,
  .goals-video-background video {
    height: 56.25vw;
  }
}

@media (max-aspect-ratio: 16/9) {
  .goals-video-background iframe,
  .goals-video-background video {
    width: 177.78vh;
  }
}

.goals-section .container {
  position: relative;
  z-index: 2;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 4rem);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
}

@media (min-width: 1280px) {
  .goals-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.goal-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.goal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.goal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #1ab2f5, #14497c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.goal-icon i {
  font-size: 2rem;
}

.goal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #14497c;
  margin-bottom: 1rem;
}

.goal-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  text-align: center;
}

/* ========================================
   News Section
   ======================================== */

.news-section {
  min-height: 100vh;
  padding: 4rem 0;
  background: white;
  display: flex;
  align-items: center;
}

.news-section .section-title {
  color: #14497c;
  text-shadow: none;
}

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

.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.news-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card__content {
  padding: 1.5rem;
}

.news-card__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #1ab2f5;
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.news-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #14497c;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.news-card__date {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.news-card__excerpt {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* News Modal */
.news-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.news-modal.active {
  display: flex;
}

.news-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.news-modal__content {
  position: relative;
  background: white;
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.news-modal__close:hover {
  background: white;
  transform: rotate(90deg);
}

.news-modal__close svg {
  width: 20px;
  height: 20px;
  color: #14497c;
}

.news-modal__body {
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.news-modal__body::-webkit-scrollbar {
  width: 8px;
}

.news-modal__body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.news-modal__body::-webkit-scrollbar-thumb {
  background: #1ab2f5;
  border-radius: 10px;
}

.news-modal__body::-webkit-scrollbar-thumb:hover {
  background: #14497c;
}

.news-modal__image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.news-modal__info {
  margin-bottom: 1.5rem;
}

.news-modal__badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #1ab2f5;
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.news-modal__title {
  font-size: 2rem;
  font-weight: 700;
  color: #14497c;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.news-modal__date {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.news-modal__description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
}

.news-modal__description p {
  margin-bottom: 1rem;
}

.news-modal__description p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Press Section
   ======================================== */

.press-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.press-section .section-title {
  color: #14497c;
  text-shadow: none;
}

.press-section .section-subtitle {
  color: #666;
  text-shadow: none;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-link {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.social-link.twitter {
  background: #000000;
  color: white;
}

.social-link.twitter svg {
  fill: white;
}

.social-link.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

/* Instagram ikonu artık fill="currentColor" kullandığı için bu kurala gerek yok */

.social-link.linkedin {
  background: #0077B5;
  color: white;
}

.social-link.linkedin svg {
  fill: white;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Responsive Design - Mobile
   ======================================== */

@media (max-width: 768px) {
  .home-hero {
    height: auto;
    min-height: 100vh; /* Mobil için tam ekran yüksekliği */
    padding: 0 clamp(1rem, 5vw, 1.75rem); /* Dikey padding'i kaldır */
  }

  .home-hero__content {
    transform: translateY(0); /* Mobil için dikey kaydırmayı sıfırla */
    gap: clamp(0.7rem, 2.5vw, 1rem); /* Başlık ve navigasyon arası boşluğu azalt */
    padding: clamp(1rem, 3vw, 1.5rem);
  }

  .home-hero__title {
    font-size: clamp(1rem, 4.5vw, 1.3rem); /* Başlık font boyutunu küçült */
    margin-bottom: 0;
    line-height: 1.25;
  }

  .home-hero__subtitle {
    font-size: clamp(0.85rem, 3.5vw, 0.95rem); /* Alt başlık font boyutunu küçült */
    margin-bottom: clamp(0.4rem, 1.2vw, 0.7rem);
  }

  .home-hero__nav {
    gap: clamp(0.75rem, 2.5vw, 1rem); /* Navigasyon elemanları arası boşluğu ayarla */
    margin-top: clamp(0.5rem, 1.5vw, 1rem); /* Navigasyonun üst boşluğunu azalt */
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    overflow-x: auto;
    padding: 0 clamp(0.65rem, 4vw, 1.1rem) clamp(0.35rem, 2vw, 0.6rem);
    -webkit-overflow-scrolling: touch;
    width: 100%;
    scroll-snap-type: x mandatory;
  }

  .contents-item {
    min-width: 120px; /* Kartların minimum genişliğini ayarla */
    height: auto;
    padding: 0.8rem 0.65rem; /* Kartların iç boşluğunu ayarla */
    font-size: 0.82rem; /* Kart içindeki metin boyutunu küçült */
    scroll-snap-align: start;
  }

  .contents-icon {
    width: 32px; /* İkon boyutunu küçült */
    height: 32px;
    margin-bottom: 0;
  }

  .contents-icon i {
    font-size: 1rem; /* İkon font boyutunu küçült */
  }

  .contents-text {
    font-size: 0.8rem; /* Kart metin boyutunu küçült */
  }

  .news-modal {
    padding: 1rem;
  }

  .news-modal__content {
    max-height: 95vh;
  }

  .news-modal__body {
    padding: 1.5rem;
  }

  .news-modal__image {
    height: 200px;
  }

  .news-modal__title {
    font-size: 1.5rem;
  }

  .news-modal__description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .home-hero__content {
    gap: clamp(0.7rem, 3vw, 1rem);
    padding: clamp(1rem, 4vw, 1.5rem);
  }

  .home-hero__title {
    font-size: clamp(1rem, 6.5vw, 1.3rem);
  }

  .home-hero__subtitle {
    font-size: clamp(0.9rem, 4vw, 1rem);
  }

  .home-hero__nav {
    gap: clamp(0.75rem, 3vw, 1rem);
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    overflow-x: auto;
    padding: 0 clamp(0.65rem, 4vw, 1rem) clamp(0.35rem, 2vw, 0.55rem);
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .contents-item {
    min-width: 120px;
    height: auto;
    padding: 0.8rem 0.65rem;
    font-size: 0.82rem;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .contents-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0;
    margin-right: 0.5rem;
    flex-shrink: 0;
  }

  .contents-icon i {
    font-size: 14px;
  }

  .contents-text {
    font-size: 0.8rem;
    text-align: left;
  }
}
