/* ========================================
   YASAL SAYFALAR - ORTAK CSS
   (KVKK, Gizlilik, Kullanım Koşulları)
   ======================================== */

.yasal-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0b132b 0%, #020617 100%);
}

/* Hero Section */
.yasal-hero {
  background: linear-gradient(135deg, rgba(193,18,31,0.1) 0%, rgba(252,163,17,0.05) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 0 3rem;
  text-align: center;
}

.yasal-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.yasal-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(193,18,31,0.15);
  border: 1px solid rgba(193,18,31,0.3);
  border-radius: 50px;
  color: #fca311;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.yasal-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.yasal-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.6;
}

/* Container */
.yasal-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

/* Content Area */
.yasal-content {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.yasal-section {
  margin-bottom: 3rem;
}

.yasal-section:last-of-type {
  margin-bottom: 2rem;
}

.yasal-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(252,163,17,0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.yasal-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fca311;
  margin: 2rem 0 1rem;
}

.yasal-section p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin: 0 0 1.2rem;
}

.yasal-section a {
  color: #fca311;
  text-decoration: none;
  border-bottom: 1px solid rgba(252,163,17,0.3);
  transition: border-color 0.3s ease;
}

.yasal-section a:hover {
  border-bottom-color: #fca311;
}

.yasal-section ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.yasal-section ul li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.yasal-section ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #fca311;
  font-weight: 700;
}

.yasal-section ul li strong {
  color: #fff;
  font-weight: 600;
}

/* Contact Box */
.yasal-contact {
  background: rgba(252,163,17,0.05);
  border: 1px solid rgba(252,163,17,0.15);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.yasal-contact p {
  margin: 0.5rem 0;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
}

.yasal-contact strong {
  color: #fca311;
  font-weight: 600;
}

/* Footer */
.yasal-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.yasal-footer p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
}

.yasal-note {
  font-size: 0.85rem !important;
  font-style: italic;
  color: rgba(255,255,255,0.5) !important;
}

/* Sidebar */
.yasal-sidebar {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Navigation Card */
.yasal-nav-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 1.8rem;
  backdrop-filter: blur(10px);
}

.yasal-nav-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.2rem;
}

.yasal-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.yasal-nav-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.yasal-nav-link:hover {
  background: rgba(252,163,17,0.1);
  border-color: rgba(252,163,17,0.3);
  color: #fca311;
  transform: translateX(4px);
}

.yasal-nav-link.active {
  background: linear-gradient(135deg, rgba(193,18,31,0.2) 0%, rgba(252,163,17,0.15) 100%);
  border-color: rgba(252,163,17,0.4);
  color: #fca311;
}

.yasal-nav-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Info Card */
.yasal-info-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 1.8rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.yasal-info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.yasal-info-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.8rem;
}

.yasal-info-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0 0 1.2rem;
}

.yasal-info-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, #c1121f 0%, #a00f1a 100%);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(193,18,31,0.3);
}

.yasal-info-btn:hover {
  background: linear-gradient(135deg, #a00f1a 0%, #c1121f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193,18,31,0.4);
}

/* Responsive */
@media (max-width: 1024px) {
  .yasal-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .yasal-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .yasal-hero {
    padding: 3rem 0 2rem;
  }

  .yasal-hero h1 {
    font-size: 2.2rem;
  }

  .yasal-subtitle {
    font-size: 1rem;
  }

  .yasal-container {
    padding: 2rem 1rem;
  }

  .yasal-content {
    padding: 2rem 1.5rem;
  }

  .yasal-section h2 {
    font-size: 1.5rem;
  }

  .yasal-section h3 {
    font-size: 1.2rem;
  }

  .yasal-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .yasal-hero h1 {
    font-size: 1.8rem;
  }

  .yasal-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .yasal-content {
    padding: 1.5rem 1rem;
  }

  .yasal-section h2 {
    font-size: 1.3rem;
  }

  .yasal-section p,
  .yasal-section ul li {
    font-size: 0.95rem;
  }
}
