/* KVKK Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.kvkk-page {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #0f172a;
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  padding: 10px 0;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* iOS Style Navbar Brand */
.ios-navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.ios-navbar-brand:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ios-navbar-brand:active {
  transform: translateY(0);
  transition: all 0.1s ease;
}

.ios-app-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #007AFF, #5856D6);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
  transition: all 0.3s ease;
}

.ios-navbar-brand:hover .ios-app-icon {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}

.ios-app-icon i {
  font-size: 18px;
  color: white;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.ios-app-title {
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-items: center;
  text-align: center;
}

.ios-app-name {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ios-app-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: #86868b;
  line-height: 1.2;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.red-dot {
  color: #ff3b30;
  font-size: 14px;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Dropdown Styles */
.dropdown-container {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  font-size: 0.8rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.dropdown-trigger::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 0.3s ease;
}

.dropdown-trigger:hover::before {
  left: 100%;
}

.dropdown-trigger:hover {
  color: white;
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.dropdown-trigger.active {
  color: white;
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1002;
  overflow: hidden;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  background: none;
  border: none;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.3s ease;
}

.dropdown-item:hover::before {
  left: 100%;
}

.dropdown-item:first-child {
  border-radius: 16px 16px 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 16px 16px;
}

.dropdown-item:hover {
  background: rgba(59, 130, 246, 0.08);
  color: #1e40af;
  transform: translateX(4px);
}

.dropdown-item i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.dropdown-item:hover i {
  transform: scale(1.1);
}

/* İkon renkleri */
.dropdown-item i:first-child {
  color: #3b82f6; /* Mavi - Giriş Yap */
}

.dropdown-item:nth-child(2) i:first-child {
  color: #10b981; /* Yeşil - Kayıt Ol */
}

.dropdown-item:nth-child(4) i:first-child {
  color: #f59e0b; /* Turuncu - Ana Sayfa */
}

.dropdown-item:nth-child(5) i:first-child {
  color: #ef4444; /* Kırmızı - KVKK */
}

.dropdown-item:nth-child(6) i:first-child {
  color: #8b5cf6; /* Mor - Gizlilik Politikası */
}

.dropdown-item:nth-child(7) i:first-child {
  color: #059669; /* Koyu Yeşil - Kullanım Şartları */
}

.dropdown-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  margin: 8px 20px;
  border-radius: 1px;
  box-shadow: 0 0 4px rgba(59, 130, 246, 0.3);
}

/* Hero Section */
.kvkk-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 0;
  text-align: center;
}

.kvkk-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.kvkk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  margin-top: 25px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.kvkk-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kvkk-hero p {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #0f172a;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(251, 191, 36, 0.3) 10%, 
    #fbbf24 20%, 
    #f59e0b 50%, 
    #fbbf24 80%, 
    rgba(251, 191, 36, 0.3) 90%, 
    transparent 100%
  );
  border-radius: 2px;
  box-shadow: 0 0 4px rgba(251, 191, 36, 0.3);
}

.section-header p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* KVKK Principles */
.kvkk-principles {
  padding: 80px 0;
  background: white;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.principle-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.principle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #059669, #10b981);
}

.principle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.principle-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #059669, #10b981);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.principle-card:hover .principle-icon {
  transform: scale(1.1);
}

.principle-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0f172a;
}

.principle-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Data Processing */
.data-processing {
  padding: 80px 0;
  background: #f8fafc;
}

.processing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.processing-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.processing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e40af, #3b82f6);
}

.processing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.processing-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #0f172a;
}

.processing-card ul {
  list-style: none;
}

.processing-card ul li {
  padding: 8px 0;
  color: #64748b;
  position: relative;
  padding-left: 20px;
}

.processing-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-weight: bold;
}

/* Security Measures */
.security-measures {
  padding: 80px 0;
  background: white;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.security-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.security-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #dc2626, #ef4444);
}

.security-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.security-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.security-card:hover .security-icon {
  transform: scale(1.1);
}

.security-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0f172a;
}

.security-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Data Rights */
.data-rights {
  padding: 80px 0;
  background: #f8fafc;
}

.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.right-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.right-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
}

.right-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.right-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0f172a;
}

.right-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Footer */
.kvkk-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.kvkk-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-logo i {
  font-size: 1.8rem;
  color: white;
}

.footer-description {
  color: #cbd5e1;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-section ul li a:hover {
  color: #3b82f6;
}

.footer-section ul li:not(:has(a)) {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright p {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #3b82f6;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.3);
  z-index: 1000;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(30, 64, 175, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .kvkk-badge {
    margin-top: 25px;
  }

  .ios-navbar-brand {
    padding: 6px 10px;
    gap: 8px;
  }

  .ios-app-icon {
    width: 32px;
    height: 32px;
  }

  .ios-app-icon i {
    font-size: 16px;
  }

  .ios-app-name {
    font-size: 14px;
  }

  .ios-app-subtitle {
    font-size: 11px;
  }

  .nav-actions {
    gap: 8px;
  }

  .dropdown-trigger {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .dropdown-menu {
    min-width: 140px;
  }

  .dropdown-item {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .kvkk-hero h1 {
    font-size: 2.2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .principles-grid,
  .processing-grid,
  .security-grid,
  .rights-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .kvkk-badge {
    margin-top: 25px;
  }

  .kvkk-hero h1 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .principle-card,
  .processing-card,
  .security-card,
  .right-card {
    padding: 20px;
  }

  .kvkk-badge {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}
