/* CSS Variables for Consistent Theming */
:root {
  /* Dark theme (default) */
  --bg-color: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-element: #222;
  --text-primary: #e0e0e0;
  --text-secondary: #ccc;
  --text-muted: #888;
  --accent-color: #ff6f61;
  --accent-hover: #e65a50;
  --border-color: #333;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --header-bg: #111;
  --footer-bg: #111;
}
:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}
html {
  scroll-behavior: smooth;
}


/* Genel Stil */
body {
  font-family: 'Roboto Mono', monospace;
  background-color: var(--bg-color);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Light Theme */
body.light-theme {
  --bg-color: #f5f5f5;
  --bg-secondary: #fff;
  --bg-element: #f0f0f0;
  --text-primary: #333;
  --text-secondary: #666;
  --text-muted: #888;
  --accent-color: #ff6f61;
  --accent-hover: #e65a50;
  --border-color: #ddd;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --header-bg: #fff;
  --footer-bg: #fff;
}

body.light-theme header,
body.light-theme footer {
  background-color: var(--header-bg);
  color: #555;
  border-color: var(--border-color);
}

body.light-theme .container {
  background-color: var(--bg-secondary);
  box-shadow: 0 0 20px var(--shadow-color);
}

body.light-theme .post {
  background-color: var(--bg-element);
}

body.light-theme h2 {
  color: var(--accent-hover);
}

body.light-theme nav a {
  color: var(--text-primary);
}

body.light-theme nav a:hover {
  color: var(--accent-color);
}

body.light-theme .intro p,
body.light-theme .about-content p {
  color: var(--text-secondary);
}

header {
  background-color: var(--header-bg);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  border-bottom: 2px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
nav a.active {
  color: var(--accent-color);
  font-weight: bold;
  position: relative;
}

nav a.active::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background-color: var(--accent-color);
  transition: width 0.3s;
}



header h1 {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  margin: 0;
  letter-spacing: 2px;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

header .tagline {
  font-size: 1.2rem;
  margin: 10px 0 0;
  color: var(--text-muted);
}

nav {
  margin-top: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--accent-color);
}

/* Add underline effect on hover */
nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.container {
  max-width: 1200px; /* Daha geniş içerik için artırıldı */
  margin: 40px auto;
  padding: 20px;
  background-color: var(--bg-secondary);
  border-radius: 8px;
  box-shadow: 0 0 20px var(--shadow-color);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

h2 {
  font-family: 'Cinzel', serif;
  color: var(--accent-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.intro p,
.about-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Action Buttons */
.action-buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn {
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.btn:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover:after {
  opacity: 1;
}

.btn:active {
  transform: translateY(1px);
}

.primary-btn {
  background-color: var(--accent-color);
  color: #fff;
}

.primary-btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.secondary-btn {
  background-color: #333;
  color: #fff;
}

body.light-theme .secondary-btn {
  background-color: #555;
}

.secondary-btn:hover {
  background-color: #444;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Featured Post ve Recent Posts */
.featured-post,
.recent-posts {
  margin-bottom: 40px;
}

.post {
  background-color: var(--bg-element);
  padding: 15px;
  border-left: 5px solid var(--accent-color);
  margin-bottom: 10px;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.post:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px var(--shadow-color);
}

.post img,
.post video,
.post audio {
  max-width: 100%;
  margin-top: 10px;
  border-radius: 4px;
}

.filter-options,
.filter-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-btn {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

.pagination {
  text-align: center;
  margin-top: 20px;
}

/* Skeleton loading for content */
.skeleton-loader {
  background: linear-gradient(90deg, var(--bg-element) 25%, var(--bg-secondary) 50%, var(--bg-element) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
  height: 16px;
  margin-bottom: 8px;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.loading-spinner {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
}

/* Newsletter */
.newsletter form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.newsletter input[type="email"] {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--bg-element);
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2);
}

.message {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* About Sayfası */
.values-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.value-item,
.team-member {
  text-align: center;
  padding: 20px;
  background-color: var(--bg-element);
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.value-item:hover,
.team-member:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px var(--shadow-color);
}

.value-item i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.team-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit: cover;
  border: 2px solid var(--accent-color);
}

.about-img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--bg-element);
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2);
}


/* FAQ Section Styles */
.faq-section {
  margin-top: 30px;
}

.faq-item {
  background-color: var(--background-alt);
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
}

.faq-item:hover {
  box-shadow: var(--shadow-strong);
}

.faq-question {
  padding: 18px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child .faq-question {
  border-bottom: none;
}


.faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: var(--text-primary);
}

.faq-question i.fas {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 25px; /* Padding'i sadece yanlara ver, dikey padding max-height ile kontrol edilecek */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* padding için de transition ekle */
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer.active {
  max-height: 500px; /* İçeriğe göre ayarlanacak, JavaScript ile scrollHeight kullanılır */
  padding: 18px 25px; /* Aktif olduğunda dikey padding'i geri ekle */
}

.faq-answer p {
  margin: 0 0 15px 0;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}


/* Light Theme Specific FAQ Styles if needed */
body.light-theme .faq-item {
  background-color: #fff; /* Light theme için farklı arka plan */
  border: 1px solid #e0e0e0;
}

body.light-theme .faq-question {
  border-bottom: 1px solid #e7e7e7;
}
body.light-theme .faq-item:last-child .faq-question {
  border-bottom: none;
}

body.light-theme .faq-question h3 {
  color: #333;
}

body.light-theme .faq-answer {
  color: #555;
}

/* Community Sayfası */
.event-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.event-card {
  display: flex;
  background-color: var(--bg-element);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px var(--shadow-color);
}

.event-date {
  background-color: var(--accent-color);
  color: #fff;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-date .day {
  font-size: 1.5rem;
  font-weight: bold;
}

.event-date .month {
  font-size: 1rem;
}

.event-info {
  padding: 15px;
  flex: 1;
}

.event-btn {
  display: inline-block;
  margin-top: 10px;
}
/* Community Forum */
.forum-container {
  margin-bottom: 30px;
  background-color: var(--bg-secondary);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px var(--shadow-color);
}

.forum-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  overflow-x: auto;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border-color);
}

.forum-tab {
  background-color: transparent;
  color: var(--text-primary);
  border: none;
  padding: 10px 20px;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-weight: 500;
  position: relative;
}

.forum-tab:hover {
  color: var(--accent-color);
}

.forum-tab.active {
  color: var(--accent-color);
  background-color: transparent;
  transform: translateY(0);
}

.forum-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 3px 3px 0 0;
}

.forum-post {
  display: flex;
  gap: 15px;
  background-color: var(--bg-element);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  border-left: 4px solid transparent;
}

.forum-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px var(--shadow-color);
  border-left-color: var(--accent-color);
}

body.light-theme .forum-post:hover {
  background-color: #e8e8e8;
}

.post-votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background-color: rgba(0,0,0,0.05);
  border-radius: 6px;
  min-width: 40px;
}

body.light-theme .post-votes {
  background-color: rgba(0,0,0,0.03);
}

.vote-up, .vote-down {
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 5px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vote-up:hover, .vote-down:hover {
  color: var(--accent-color);
  transform: scale(1.2);
  background-color: rgba(255,255,255,0.1);
}

.vote-count {
  font-weight: bold;
  font-size: 1.1rem;
}

.vote-up.voted {
  color: #4CAF50;
  background-color: rgba(76, 175, 80, 0.1);
}

.vote-down.voted {
  color: #F44336;
  background-color: rgba(244, 67, 54, 0.1);
}

.post-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.post-meta span {
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
}

.post-meta i {
  margin-right: 5px;
}

.post-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.post-content h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-content h3 a:hover {
  color: var(--accent-color);
}

.post-excerpt {
  margin-bottom: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  background-color: rgba(255,111,97,0.15);
  color: var(--accent-color);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.tag:hover {
  background-color: rgba(255,111,97,0.25);
  transform: translateY(-2px);
}

.forum-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}
/* Modal for forum posts */
.modal-content .post-body {
  margin: 25px 0;
  line-height: 1.8;
}

.post-content-full {
  margin-bottom: 30px;
}

.post-content-full h2 {
  margin-top: 0;
  color: var(--text-primary);
  border-bottom: none;
  padding-bottom: 0;
}

.post-voting {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  padding: 10px;
  border-radius: 8px;
  background-color: rgba(0,0,0,0.05);
  width: fit-content;
}

body.light-theme .post-voting {
  background-color: rgba(0,0,0,0.03);
}

.comments-container {
  margin-bottom: 30px;
}

.members-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.member-card {
  text-align: center;
  padding: 15px;
  background-color: var(--bg-element);
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.member-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px var(--shadow-color);
}

.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit: cover;
  border: 2px solid var(--accent-color);
}

.member-stats {
  font-size: 0.9rem;
  color: var(--accent-color);
}

/* Share Sayfası */
.upload-section {
  margin-bottom: 20px;
}

.upload-section .form-group {
  margin-bottom: 20px;
}

.upload-section label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.upload-section textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  resize: vertical;
  background-color: var(--bg-element);
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  min-height: 100px;
}

.upload-section textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2);
}

.file-upload-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-upload-input {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload-button {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload-button:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

.selected-files {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.file-types {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.char-counter {
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.register-content {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
}

.register-section input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--bg-element);
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.register-section input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2);
}

.login-link {
  text-align: center;
  margin-top: 20px;
}

.login-link a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.login-link a:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

.delete-btn {
  background-color: #ff4444;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.delete-btn:hover {
  background-color: #cc3333;
  transform: translateY(-2px);
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.share-guidelines .guidelines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.guideline-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background-color: var(--bg-element);
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.guideline-item:hover {
  transform: translateY(-2px);
}

.guideline-item i {
  font-size: 1.2rem;
  color: var(--accent-color);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: var(--footer-bg);
  color: var(--text-muted);
  margin-top: 40px;
  border-top: 2px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  margin: 5px 0;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-color);
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: #fff;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

/* Tema Değiştirme Butonu */
.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #333;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.theme-toggle:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Bildirim */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--accent-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  display: none;
  z-index: 1000;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header içindeki kullanıcı menüsü için stiller */
.auth-nav {
  display: inline-block;
  margin-left: 10px;
}

.user-profile {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.user-profile:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 8px;
  object-fit: cover;
  border: 2px solid #fff;
}

#userName {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  margin-right: 5px;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
  min-width: 180px;
  z-index: 1000;
  display: none;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.user-profile:hover .user-dropdown {
  display: block;
}

.user-dropdown a {
  display: block;
  padding: 8px 15px;
  color: var(--text-primary);
  transition: background-color 0.3s;
  text-decoration: none;
  font-size: 14px;
}

.user-dropdown a:hover {
  background-color: var(--bg-element);
  color: var(--accent-color);
}

.login-required-message {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px var(--shadow-color);
  animation: fadeIn 0.5s ease;
}

.login-required-message i {
  font-size: 48px;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.login-required-message p {
  font-size: 18px;
  margin-bottom: 20px;
}

.login-required-message .action-buttons {
  margin-top: 20px;
}

/* Profil sayfası için CSS */
.profile-content {
  padding: 20px 0;
}

.profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  animation: fadeIn 0.5s ease;
}

.profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
  margin-right: 20px;
  box-shadow: 0 3px 10px var(--shadow-color);
}

.profile-info h2 {
  margin-bottom: 5px;
  border-bottom: none;
}

.profile-stats {
  display: flex;
  justify-content: space-between;
  max-width: 500px;
  margin-bottom: 30px;
}

.stat-item {
  text-align: center;
  padding: 15px;
  background-color: var(--bg-element);
  border-radius: 8px;
  flex: 1;
  margin: 0 5px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px var(--shadow-color);
}

.stat-item i {
  font-size: 24px;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.stat-item span {
  display: block;
  font-size: 20px;
  font-weight: bold;
}

.profile-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
}

.profile-tab {
  padding: 10px 20px;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 16px;
  position: relative;
  transition: color 0.3s;
}

.profile-tab.active {
  color: var(--accent-color);
}

.profile-tab.active:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
}

.profile-tab:hover:not(.active):after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  opacity: 0.5;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

/* profil için ek css*/

.event-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.event-card {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.event-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 80px;
  background: var(--accent-color);
  color: #fff;
  padding: 10px 0;
}

.event-date .day {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
}

.event-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.event-info {
  padding: 15px;
  flex: 1;
}

.event-info h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.event-time, .event-location {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #aaa;
}

.event-time i, .event-location i {
  margin-right: 8px;
  width: 16px;
}

.event-description {
  font-size: 0.9rem;
  margin-top: 10px;
  color: #ccc;
}

/* Yorumlar stili */
.comments-container .comment {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.comments-container .comment:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9em;
  color: #888;
}

.comment-topic {
  font-weight: bold;
  color: var(--primary-color);
}

.comment-content {
  margin-bottom: 10px;
  line-height: 1.5;
}

.comment-actions {
  text-align: right;
}

.view-context {
  display: inline-block;
  font-size: 0.9em;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.view-context:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Light theme adjustments */
body.light-theme .comments-container .comment {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
}

body.light-theme .comment-meta {
  color: #666;
}

body.light-theme .comment-topic {
  color: var(--secondary-color);
}

body.light-theme .event-card {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
}

body.light-theme .event-description {
  color: #555;
}

body.light-theme .event-time, 
body.light-theme .event-location {
  color: #777;
}

/* Basic Notification Styling */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 5px;
  color: #fff;
  font-size: 1em;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  min-width: 250px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Active (Visible) State */
.notification.active {
  opacity: 1;
  transform: translateY(0);
}

/* Type-specific styles */
.notification.info {
  background-color: #3498db; /* Blue */
}

.notification.success {
  background-color: #2ecc71; /* Green */
}

.notification.error {
  background-color: #e74c3c; /* Red */
}

.notification.warning {
  background-color: #f39c12; /* Orange */
}

/* Ayarlar sayfası için CSS */
.settings-content {
  padding: 20px 0;
}

.settings-section {
  background-color: var(--bg-element);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.settings-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px var(--shadow-color);
}

.settings-form {
  max-width: 600px;
}

.settings-form .form-group {
  margin-bottom: 20px;
}

.settings-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.settings-form input[type="text"],
.settings-form input[type="email"],
.settings-form input[type="password"] {
  width: 100%;
  padding: 12px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.settings-form input[type="text"]:focus,
.settings-form input[type="email"]:focus,
.settings-form input[type="password"]:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2);
}

.settings-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 2px solid var(--accent-color);
}

.avatar-upload {
  display: flex;
  align-items: center;
}

.form-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.form-checkbox input[type="checkbox"] {
  margin-right: 10px;
}

.settings-status {
  margin-top: 10px;
  font-size: 14px;
}

.danger-zone {
  border: 1px solid #ff4444;
}

.danger-btn {
  background-color: #ff4444;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.danger-btn:hover {
  background-color: #cc3333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Community */
.vote-up, .vote-down {
  cursor: pointer;
  transition: color 0.2s;
}

.vote-up:hover, .vote-down:hover {
  color: var(--accent-color);
  transform: scale(1.2);
}

.vote-up.voted {
  color: #4CAF50;
}

.vote-down.voted {
  color: #F44336;
}

/* Modal overlay for post/comment views */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: auto;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: var(--bg-secondary);
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  animation: modalSlideIn 0.3s ease;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close-btn {
  color: var(--text-muted);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  margin-top: -10px;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: var(--accent-color);
}

/* Comments styling */
.post-content-full {
  margin: 20px 0;
}

.post-comments {
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.comment {
  background: var(--bg-element);
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.comment:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow-color);
}

.comment-meta {
  color: var(--text-muted);
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.comment-author {
  margin-right: 15px;
  color: var(--accent-color);
}

.add-comment {
  margin-top: 30px;
}

/* Chat Design*/
.messages-container {
  display: flex;
  height: 600px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.conversation-list {
  width: 30%;
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
}

.conversation-item {
  display: flex;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.conversation-item:hover, .conversation-item.active {
  background-color: var(--bg-element);
}

.conversation-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
  border: 2px solid var(--accent-color);
}

.conversation-info {
  flex-grow: 1;
  overflow: hidden;
}

.conversation-name {
  font-weight: bold;
  margin-bottom: 5px;
}

.conversation-preview {
  font-size: 0.9em;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-meta {
  text-align: right;
  min-width: 50px;
}

.conversation-time {
  font-size: 0.8em;
  color: var(--text-muted);
}

.unread-badge {
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  padding: 3px 8px;
  font-size: 0.8em;
  margin-top: 5px;
  display: inline-block;
}

.chat-container {
  width: 70%;
  display: flex;
  flex-direction: column;
}

.chat-header {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 15px;
  border: 2px solid var(--accent-color);
}

.chat-name {
  font-weight: bold;
  font-size: 1.2em;
}

.chat-messages {
  flex-grow: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-secondary);
}

.message-bubble {
  max-width: 70%;
  padding: 12px 18px;
  border-radius: 18px;
  margin-bottom: 12px;
  position: relative;
  word-wrap: break-word;
  animation: fadeIn 0.3s ease;
}

.message-outgoing {
  background-color: var(--accent-color);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
  margin-left: auto;
}

.message-incoming {
  background-color: var(--bg-element);
  align-self: flex-start;
  border-bottom-left-radius: 5px;
  margin-right: auto;
}

.message-time {
  font-size: 0.7em;
  color: rgba(255,255,255,0.7);
  position: absolute;
  bottom: 3px;
  right: 10px;
}

.message-incoming .message-time {
  color: rgba(255,255,255,0.7);
}

body.light-theme .message-incoming .message-time {
  color: rgba(0,0,0,0.5);
}

.chat-input {
  padding: 15px;
  border-top: 1px solid var(--border-color);
  display: flex;
  background-color: var(--bg-secondary);
}

.chat-input input {
  flex-grow: 1;
  padding: 12px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-element);
  color: var(--text-primary);
  border-radius: 4px;
  margin-right: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.chat-input input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  animation: fadeIn 0.5s ease;
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--text-muted);
}
  
.messages-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* Modal styles */
.modal-header {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.close-modal {
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--accent-color);
}

.modal-body {
  padding: 15px;
}

.search-container {
  display: flex;
  margin-bottom: 15px;
}

.search-container input {
  flex-grow: 1;
  padding: 12px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-element);
  color: var(--text-primary);
  border-radius: 4px;
  margin-right: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-container input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.2);
}

.search-results {
  max-height: 300px;
  overflow-y: auto;
}

.user-result-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.user-result-item:hover {
  background-color: var(--bg-element);
  transform: translateY(-2px);
}

.user-result-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 15px;
  border: 1px solid var(--accent-color);
}

/* Accessibility improvements */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 100;
  padding: 8px;
  background-color: var(--accent-color);
  color: white;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Focus styles for keyboard navigation */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}
      
/* Add print styles */
@media print {
  .theme-toggle, .action-buttons, .filter-options, nav, footer {
    display: none !important;
  }
  
  body {
    background-color: white;
    color: black;
  }
  
  .container {
    box-shadow: none;
    margin: 0;
    padding: 0;
  }
}

/* Improve loading state animations */
@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.loading-spinner i {
  animation: pulse 1.5s infinite ease-in-out;
}


/* Responsive Design */
@media (max-width: 768px) {
  .messages-container {
    flex-direction: column;
    height: 800px;
  }
  
  .conversation-list,
  .chat-container {
    width: 100%;
    height: 50%;
  }
  
  header h1 {
    font-size: 2rem;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .container {
    margin: 20px;
    padding: 15px;
  }

  .action-buttons,
  .form-actions,
  .forum-actions,
  .newsletter form {
    flex-direction: column;
    align-items: center;
  }

  .event-card {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-avatar {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .profile-stats {
    flex-wrap: wrap;
  }
  
  .stat-item {
    flex-basis: 45%;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 20px 10px;
  }

  h2 {
    font-size: 1.5rem;
  }

  .filter-options,
  .filter-controls,
  .forum-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  
  .modal-content {
    width: 95%;
    margin: 5% auto;
  }
  
  .forum-post {
    flex-direction: column;
    padding: 15px;
  }
  
  .post-votes {
    flex-direction: row;
    justify-content: center;
    margin-bottom: 15px;
    width: fit-content;
  }

  .forum-tabs {
    padding-bottom: 0;
  }
  
  .forum-tab {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    font-size: 0.9rem;
  }
}


