/* ── Yunuslar Su Arıtma Sistemleri — Custom Styles (Light Theme) ── */

/* Base */
body {
  background: #ffffff;
  color: #1f2937;
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* Nav */
.nav-link {
  position: relative;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(55, 65, 81, 0.8);
  border-radius: 0.5rem;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: #111827;
  background: rgba(0, 0, 0, 0.04);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: #132af7;
  border-radius: 2px;
}

/* Mobile nav */
.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(55, 65, 81, 0.8);
  border-radius: 0.5rem;
  transition: all 0.2s;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  color: #111827;
  background: rgba(0, 0, 0, 0.04);
}

/* Hamburger */
.hamburger-line {
  position: absolute;
  left: 4px;
  width: 24px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-btn.active .hamburger-line:nth-child(1) { top: 16px !important; transform: rotate(45deg); }
.menu-btn.active .hamburger-line:nth-child(2) { opacity: 0; }
.menu-btn.active .hamburger-line:nth-child(3) { top: 16px !important; transform: rotate(-45deg); }

/* Section styling */
.section-dark { background: #ffffff; }
.section-darker { background: #f9fafb; }
.section-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 50%, #ffffff 100%);
}

/* Glass Card */
.glass-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  backdrop-filter: blur(24px);
  transition: all 0.3s ease;
}
.glass-card:hover {
  background: #ffffff;
  border-color: rgba(19, 42, 247, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(19, 42, 247, 0.08);
}

/* Glow effect */
.glow-card {
  position: relative;
  overflow: hidden;
}
.glow-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, #132af7 10%, transparent 20%);
  opacity: 0;
  transition: opacity 0.5s;
  animation: glow-spin 4s linear infinite;
}
.glow-card:hover::before { opacity: 0.08; }
.glow-card > * { position: relative; z-index: 1; }

@keyframes glow-spin { to { transform: rotate(360deg); } }

/* Hero */
.hero-gradient {
  background: linear-gradient(135deg, #0d1245 0%, #111852 25%, #132af7 50%, #111852 75%, #0d1245 100%);
  position: relative;
  overflow: hidden;
}
.hero-gradient::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Stat card */
.stat-card {
  text-align: center;
  padding: 2rem;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #132af7, #0d1245);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Service icon */
.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(19, 42, 247, 0.08);
  border: 1px solid rgba(19, 42, 247, 0.15);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Form */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  color: #111827;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: #132af7;
  box-shadow: 0 0 0 3px rgba(19, 42, 247, 0.12);
  background: #ffffff;
}
.form-input::placeholder { color: #9ca3af; }

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 0.375rem;
}

/* FAQ */
details {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.2s;
}
details:hover {
  border-color: #d1d5db;
}
details[open] {
  background: #f9fafb;
  border-color: rgba(19, 42, 247, 0.3);
}
details summary {
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  color: #111827;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: #132af7;
  transition: transform 0.2s;
}
details[open] summary::after {
  content: '−';
}
details > div, details > p {
  padding: 0 1.25rem 1.125rem;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Status messages */
.alert-success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #15803d;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
}
.alert-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #b91c1c;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Branch badge */
.branch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(19, 42, 247, 0.06);
  border: 1px solid rgba(19, 42, 247, 0.15);
  border-radius: 999px;
  color: #374151;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 1.5rem;
  border-left: 2px solid rgba(19, 42, 247, 0.2);
}
.timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: #132af7;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

/* Feature check */
.feature-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #374151;
}
.feature-check::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(19, 42, 247, 0.1);
  color: #132af7;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Pulse dot */
@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
.pulse-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
}
.pulse-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-ring 2s ease-out infinite;
}

/* Page hero */
.page-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, #0d1245 0%, #132af7 50%, #0d1245 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Smooth scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f3f4f6; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* Selection */
::selection {
  background: rgba(19, 42, 247, 0.2);
  color: #111827;
}
