       :root {
            --bg-color: #ffffff;
            --section-bg: #fff;
            --card-bg: #fff;
            --text-primary: #1f2937;
            --text-secondary: #6b7280;
            --accent-1: #4f46e5;
            --accent-2: #14b8a6;
            --accent-3: #f59e0b;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
            --radius-xl: 24px;
            --radius-lg: 16px;
            --menu-gradient: linear-gradient(135deg, #efeeef, #fdf8f9);
            --menu-gradient-2: linear-gradient(135deg, #42e695, #3bb2b8);
            --menu-gradient-3: linear-gradient(135deg, #fad961, #f76b1c);
            --text-muted: #5e6878;
            --text-dark: #2c2e43;
            --radius: 20px;
        }
        html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

        body {
            font-family: 'Poppins', sans-serif;
            margin: 0;
            background-color: var(--bg-color);
            color: var(--text-primary);
            line-height: 1.6;
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }

        /* Canvas background */
        #web-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        .main-content-wrapper {
            max-width: 1600px;
            margin: 0px auto;
             width: 95%; 
            padding: 20px;
            position: relative;
            z-index: 1;
        }

        /* HEADER */
    .header {
  width: 100%;              /* tam genişlik */
  background-image: url('./assets/duvar.png');  background-size: cover;   /* orijinal oranı koruyarak ekranı kaplar */
  background-position: center;
  color: white;
  padding: 120px 20px;
  text-align: center;
  position: relative;
  min-height: 300px;
}


.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Yazıların daha net görünmesi için koyu overlay */
  z-index: 0;
}

.header-hero {
  position: relative;
  z-index: 1;
}

.header h1,
.header p {
  color: #fff;
}


     


        .header .subtitle {
            font-size: 1rem;
            color: var(--text-secondary);
            margin-bottom: 30px;
        }

        /* MENU */
        .menu-toggle {
            display: none;
            cursor: pointer;
            font-size: 1.8rem;
            color: var(--text-primary);
            background: none;
            border: none;
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1001;
        }

        
        /* NEW SECTIONS */
        .section {
            margin-bottom: 40px;
        }
        
        .section-title {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--text-primary);
            position: relative;
            padding-bottom: 8px;
        }
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--accent-1);
            border-radius: 2px;
        }



.category-content-container,
.trending-cards-wrapper {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: auto; /* smooth yerine auto */
    -webkit-overflow-scrolling: touch;
    padding-left: 0;        /* baştan başlasın */
}

.category-content-container::-webkit-scrollbar,
.trending-cards-wrapper::-webkit-scrollbar {
    display: none;
}

.category-content-container > *,
.trending-cards-wrapper > * {
    scroll-snap-align: start;
    flex: 0 0 auto;
}

.feature-cards-container {
  display: flex;              /* grid yerine flex kullanıyoruz */
  flex-direction: row;
  gap: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-left: 0;
  padding-left: 0;
}

/* Kart */
.feature-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.1));
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: cardSlideUp 0.6s ease-out forwards;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg, 0 8px 20px rgba(0, 0, 0, 0.15));
}

/* Kart içeriği */
.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-1, #007bff);
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary, #555);
}

/* Yorumlar Modalı - Küçük ve Modern */
.comments-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
/* Modal içeriği scroll olsun */
.comments-content {
    background-color: #fff;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 60vh; /* Daha küçük yükseklik */
    padding: 16px;
    position: relative;
    overflow-y: auto; /* İçerik scroll olsun */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Yorum listesi */
.comments-list {
    max-height: none; /* Sınırlama kaldırıldı */
    overflow-y: visible;
}

/* Comment items */
.comment-item {
    border-bottom: 1px solid #f8f8f8;
    padding: 10px 0;
}

.comments-close-x {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.comments-close-x:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.itiraf-header {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.itiraf-header h3 {
    margin: 0 0 6px 0;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.itiraf-header p {
    margin: 0 0 6px 0;
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: 0.85rem;
}

.itiraf-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.comments-section h4 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.comment-item {
    border-bottom: 1px solid #f8f8f8;
    padding: 10px 0;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.comment-header strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.8rem;
}

.comment-header span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.comment-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: 0.8rem;
}

/* Yükleniyor ve hata mesajları */
.loading-message,
.no-comments,
.error-message {
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.error-message {
    color: #ef4444;
}

/* Mobil için daha da küçük */
@media (max-width: 768px) {
    .comments-content {
        max-width: 400px;
        padding: 14px;
        max-height: 65vh;
    }
    
    .itiraf-header h3 {
        font-size: 0.9rem;
    }
    
    .itiraf-header p {
        font-size: 0.8rem;
    }
    
    .itiraf-meta {
        font-size: 0.7rem;
    }
    
    .comments-section h4 {
        font-size: 0.85rem;
    }
    
    .comment-header strong {
        font-size: 0.75rem;
    }
    
    .comment-header span {
        font-size: 0.65rem;
    }
    
    .comment-item p {
        font-size: 0.75rem;
    }
}

/* Çok küçük ekranlar */
@media (max-width: 480px) {
    .comments-content {
        max-width: 350px;
        padding: 12px;
        max-height: 60vh;
    }
    
    .comments-close-x {
        top: 8px;
        right: 8px;
        font-size: 18px;
    }
}
        /* CATEGORIES */
        .categories-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .category-list {
            display: flex;
            background: #e2e8f0;
            border-radius: var(--radius-lg);
            padding: 6px;
            gap: 6px;
        }
        .category-item {
            flex: 1;
            text-align: center;
            padding: 10px 14px;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-secondary);
            border-radius: var(--radius-lg);
            cursor: pointer;
        }
        .category-item.active {
            background: var(--accent-1);
            color: #fff;
            box-shadow: var(--shadow-md);
        }
.category-content-container {
    display: flex;
    flex-direction: row; /* Yan yana */
    align-items: center;
        overflow-x: auto;
    scroll-padding-left: 0;

    justify-content: center;
    gap: 40px;
    text-align: center;
    padding-left: 0; 
}

   
        /* COMMUNITY CARD BUTTON */
        .login-btn {
            margin-top: 15px;
            padding: 12px 0;
            width: 100%;
            max-width: 320px;
            border: none;
            border-radius: var(--radius-lg);
            background-color: var(--accent-1);
            color: #fff;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }
        .login-btn:hover {
            background-color: var(--accent-2);
            transform: translateY(-2px);
        }

        /* ALL CARDS */
        .cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 20px;
        }
        .card {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(5px);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }
        .card-image img {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }
        .card-content { padding: 15px; }
        .card-content h3 { font-size: 1.1rem; margin-bottom: 4px; }
        .card-content .meta { font-size: 0.8rem; margin-bottom: 10px; color: var(--text-secondary); }
        .card-content p { font-size: 0.9rem; color: var(--text-secondary); }
        .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
            border-top: 1px solid #e5e7eb;
            background: rgba(250, 250, 250, 0.7);
        }
        .card-footer button {
            background: none;
            border: none;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-secondary);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .card-footer button:hover {
            color: var(--accent-1);
        }
        .card-footer button i { font-size: 1rem; }

        /* Etkinlikler listesi */
#etkinlik-listesi {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 10px 0;
}

/* Etkinlik kartı */
.etkinlik-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Hover efekti */
.etkinlik-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Kart resmi */
.etkinlik-card-image img {
  width: 100%;
  height: 180px; /* itiraf kartlarından daha büyük */
  object-fit: cover;
}

/* Kart içeriği */
.etkinlik-card-content {
  padding: 15px;
}

.etkinlik-card-content h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.etkinlik-card-content p {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* gösterilecek satır sayısı */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Kart footer */
.etkinlik-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.etkinlik-card-footer span {
  font-size: 0.85rem;
  color: #777;
}

.etkinlik-card-footer .detay-btn {
  background-color: #4f46e5;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.etkinlik-card-footer .detay-btn:hover {
  background-color: #4338ca;
}


.etkinlik-card-footer .detay-btn {
  background-color: #4f46e5;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.etkinlik-card-footer .detay-btn:hover {
  background-color: #4338ca;
}

/* Modal için stil */
.detay-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.menu.hidden {
    display: none !important;
}

.detay-content {
  background-color: #fff;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  padding: 20px;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
}

.detay-content img {
  width: 100%;
  margin-top: 15px;
  border-radius: 8px;
}

.detay-close-x {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}


.category-image-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    text-shadow: 0 0 6px rgba(0,0,0,0.7);
}


       .category-image-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-image-card img.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.category-image-card:hover img.event-image {
  transform: scale(1.05);
}

.category-image-card .category-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    justify-content: flex-end; /* Kartın alt kısmına yerleştir */
  align-items: center;   
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-image-card .category-image-overlay .top-label {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0.8;
}

.category-image-card .category-image-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.category-image-card .category-image-overlay .discover-btn {
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  border: none;
  background-color: var(--accent-1);
  color: #fff;
  font-weight: 600;
    width: auto;          /* Otomatik genişlik */
  max-width: 280px;     /* Maksimum genişlik belirledik */
  text-align: center;   /* Yazıyı ortala */
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
}

.category-image-card .category-image-overlay .discover-btn:hover {
  background-color: var(--accent-2);
  transform: scale(1.02);
}
        .popular-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            padding: 30px;
            width: 100%;
  max-width: 500px;
  height: 340px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .popular-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, #ff6b6b, #ff8e53, #ffd166, #06d6a0, #118ab2, #073b4c);
        }

        .popular-card h3 {
            font-size: 1.2rem;
            color: #333;
            margin-bottom: 10px;
        }

        .popular-card p {
            color: #666;
            margin-bottom: 25px;
            line-height: 1.1;
        }

        .trending-cards-wrapper {
            position: relative;
            width: 100%;
            height: 220px;
            margin-bottom: 25px;
            overflow: hidden;
        }

        .trending-cards {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .trending-card {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 15px;
            background: white;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            cursor: grab;
            z-index: 3;
        }

        .trending-card:nth-child(1) {
            background: linear-gradient(135deg, #ff9a9e, #fad0c4);
            color: #333;
            z-index: 3;
        }

        .trending-card:nth-child(2) {
            background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
            color: #333;
            z-index: 2;
            transform: translateX(-50%) scale(0.95) translateY(10px);
            opacity: 0.9;
        }

        .trending-card:nth-child(3) {
            background: linear-gradient(135deg, #d4fc79, #96e6a1);
            color: #333;
            z-index: 1;
            transform: translateX(-50%) scale(0.9) translateY(20px);
            opacity: 0.8;
        }

        .trending-card.swiped {
            transform: translateX(150%) rotate(20deg);
            opacity: 0;
            z-index: 0;
        }

        .trending-card-content {
            text-align: center;
            width: 100%;
        }

        .trending-card i {
            font-size: 40px;
            margin-bottom: 15px;
            color: rgba(0, 0, 0, 0.7);
        }

        .trending-card h4 {
            font-size: 1.3rem;
            margin-bottom: 10px;
        }

        .trending-card p {
            font-size: 0.9rem;
            font-weight: normal;
            color: #555;
        }

        .scroll-indicator-container {
            width: 100%;
            height: 6px;
            background: #eee;
            border-radius: 3px;
            margin-bottom: 25px;
            overflow: hidden;
        }

        .scroll-indicator {
            height: 100%;
            width: 33.33%;
            background: linear-gradient(90deg, #ff6b6b, #ff8e53);
            border-radius: 3px;
            transition: transform 0.3s ease;
        }

        .see-all-btn {
            background: linear-gradient(135deg, #118ab2, #073b4c);
            color: white;
            border: none;
            padding: 12px 30px;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(17, 138, 178, 0.3);
            letter-spacing: 0.5px;
            width: 100%;
        }

        .see-all-btn:hover {
            background: linear-gradient(135deg, #0d7599, #052a38);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(17, 138, 178, 0.4);
        }

        .see-all-btn:active {
            transform: translateY(0);
        }

        .swipe-hint {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 10px;
            color: #888;
            font-size: 0.9rem;
        }

        .swipe-hint i {
            margin: 0 8px;
            animation: swipeHint 2s infinite;
        }

        @keyframes swipeHint {
            0%, 100% { transform: translateX(0); }
            50% { transform: translateX(10px); }
        }

        /* Responsive tasarım */
        @media (max-width: 480px) {
            .popular-card {
                padding: 20px;
            }
            
            .popular-card h3 {
                font-size: 1.5rem;
            }
            
            .trending-cards-wrapper {
                height: 200px;
            }
            
            .trending-card h4 {
                font-size: 1.1rem;
            }
        }
/* Feature Cards Animations */
.feature-cards-container {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.feature-card {
    opacity: 0;
    transform: translateY(30px);
    animation: cardSlideUp 0.6s ease-out forwards;
}

/* Kartların sırayla gelmesi */
.feature-card:nth-child(1) {
  animation-delay: 1s;
}
.feature-card:nth-child(2) {
  animation-delay: 1.3s;
}
.feature-card:nth-child(3) {
  animation-delay: 1.6s;
}


/* Animasyon tanımları */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes cardSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Hover efektleri */
.feature-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Section title animasyonu */
.section-title {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

/* MOBİL TASARIM - YATAY KAYDIRMA */
@media (max-width: 768px) {
    
.feature-cards-container {
    display: flex !important;
    flex-direction: row;
    overflow-x: auto;
    gap: 16px;
    padding: 0 0 10px 0 !important;
    margin: 0 !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
     margin-left: 0 !important;
    padding-left: 0 !important;
    box-sizing: border-box;
  }

  .feature-cards-container::-webkit-scrollbar {
    display: none;
  }



  .feature-card:first-child {
    margin-left: 0 !important;
  }

  .main-content-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
 .header {
    background-size: contain;  /* ← Mobilde contain */
    background-color: #2c2e43; /* Resimle uyumlu koyu renk */
    min-height: 150px;
    padding: 60px 15px;
  }
    .header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  .header.cover-contain {
  background-size: contain;
      padding: 60px 15px;

}

/* Tam ekran kaplama için */
.header.full-screen {
  min-height: 50vh;
  height: auto;
}
  .header .subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
    /* Feature Cards - Yatay Kaydırma */
 

   .feature-cards-container,
  .category-content-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .feature-cards-container::-webkit-scrollbar,
  .category-content-container::-webkit-scrollbar {
    display: none;
  }

    /* Category Content - Yatay Kaydırma */
    .category-content-container {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 20px;
        padding: 10px 0;
        scroll-snap-type: x mandatory;
    }

    .category-image-card,
    .popular-card {
        flex: 0 0 300px;  /* Kart genişliği */
    }


  .category-list {
    padding: 3px;
    gap: 3px;
    border-radius: 12px;
  }
  
  .category-item {
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 10px;
    min-width: auto;
  }
  .category-item:nth-child(1) { flex: 0 0 50px; }  /* Tümü */
  .category-item:nth-child(2) { flex: 0 0 80px; }  /* İş İlanları */
  .category-item:nth-child(3) { flex: 0 0 70px; }  /* İlanı aşk */
  .category-item:nth-child(4) { flex: 0 0 100px; } /* Kayıp Eşyalar */


    /* Cards - Yatay Kaydırma */
    .cards,
    #etkinlik-listesi {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 15px;
        padding: 10px 0;
        scroll-snap-type: x mandatory;
    }

    .card,
    .etkinlik-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }

    /* Header düzenlemeleri */
    .header {
        padding: 100px 20px;
        min-height: 250px;
    }

    /* Section title düzenlemeleri */
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    /* Swipe hint görünürlüğü */
    .swipe-hint {
        display: flex;
    }
}

/* Daha küçük ekranlar için ek düzenlemeler */
@media (max-width: 480px) {
    .feature-card {
        flex: 0 0 260px;
    }

    .category-image-card,
    .popular-card {
        flex: 0 0 300px;
    }

    .category-image-card {
        height: 280px;
    }

    .popular-card {
        height: 300px;
    }

    .card,
    .etkinlik-card {
        flex: 0 0 260px;
    }

    .header {
        padding: 80px 15px;
        min-height: 200px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .header .subtitle {
        font-size: 0.9rem;
    }
}

/* Yatay kaydırma container'ları için genel stiller */
.scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

/* Kaydırma ipucu animasyonu */
@keyframes scrollHint {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

.scroll-hint {
    display: none;
}

@media (max-width: 768px) {
    .scroll-hint {
        display: block;
        text-align: center;
        color: var(--text-secondary);
        font-size: 0.8rem;
        margin-top: 5px;
        animation: scrollHint 2s infinite;
    }
}
@media (max-width: 768px) {
    .comments-modal {
        padding: 12px;
    }
    
    .comments-content {
        padding: 14px;
        border-radius: 14px;
    }
    
    .comments-list.scrollable {
        max-height: 180px; /* Mobilde biraz daha küçük */
    }
    
    .itiraf-header h3 {
        font-size: 0.9rem;
    }
    
    .itiraf-header p {
        font-size: 0.8rem;
    }
    
    .itiraf-meta {
        font-size: 0.7rem;
    }
    
    .comments-section h4 {
        font-size: 0.85rem;
    }
    
    .comment-header strong {
        font-size: 0.75rem;
    }
    
    .comment-header span {
        font-size: 0.65rem;
    }
    
    .comment-item p {
        font-size: 0.75rem;
    }
}

/* Çok küçük ekranlar */
@media (max-width: 375px) {
    .comments-modal {
        padding: 8px;
    }
    
    .comments-content {
        padding: 12px;
        border-radius: 12px;
    }
    
    .comments-list.scrollable {
        max-height: 160px; /* Çok küçük ekranlarda daha küçük */
    }
    
    .comments-close-x {
        top: 8px;
        right: 8px;
        font-size: 18px;
    }
}

/* Yatay mod için */
@media (max-height: 500px) {
    .comments-content {
        max-height: 90vh; /* Yatay modda daha fazla alan */
    }
}