/* TatilNokta — Global Design System */

:root {
  --color-primary: #00B5D8;
  --color-primary-dark: #0095B0;
  --color-primary-light: #E0F7FA;
  --color-accent: #FF6B35;
  --color-accent-dark: #E55A2B;
  --color-success: #38A169;
  --color-warning: #F6AD55;
  --color-danger: #E53E3E;

  --color-bg: #FFFFFF;
  --color-bg-soft: #F7FAFC;
  --color-bg-muted: #EDF2F7;
  --color-border: #E2E8F0;
  --color-border-strong: #CBD5E0;

  --color-text: #1A202C;
  --color-text-secondary: #4A5568;
  --color-text-muted: #718096;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.2s ease;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ========== HEADER ========== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 24px; font-weight: 800; letter-spacing: -0.5px;
  color: var(--color-text);
}
.logo-dot { color: var(--color-accent); font-size: 28px; line-height: 0; }
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 20px;
}
.nav { display: flex; gap: 8px; align-items: center; }
/* .nav-link kaldırıldı — layout.js header Tailwind kullanıyor */
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-login {
  padding: 10px 20px;
  border-radius: var(--radius);
  color: var(--color-text);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}
.btn-login:hover { background: var(--color-bg-soft); }
.btn-signup {
  padding: 10px 20px;
  background: var(--color-text);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}
.btn-signup:hover { background: #000; transform: translateY(-1px); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: white;
}
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: var(--color-primary);
  color: white;
}
.btn-secondary:hover { background: var(--color-primary-dark); }
.btn-outline {
  background: white;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}
.btn-outline:hover { border-color: var(--color-text); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ========== CARDS ========== */
.card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ========== BADGES ========== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.badge-success { background: #C6F6D5; color: #22543D; }
.badge-warning { background: #FEEBC8; color: #7C4A1A; }
.badge-info { background: var(--color-primary-light); color: var(--color-primary-dark); }
.badge-accent { background: #FED7C7; color: #9C3C0F; }

/* ========== RATING ========== */
.rating-badge {
  display: inline-flex; align-items: center;
  background: var(--color-primary);
  color: white;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}
.rating-text {
  font-weight: 600;
  color: var(--color-text);
  font-size: 13px;
}
.rating-reviews {
  color: var(--color-text-muted);
  font-size: 12px;
}

/* ========== FOOTER ========== */
.footer {
  background: #1A202C;
  color: #CBD5E0;
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  color: white;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}
.footer-brand p {
  color: #A0AEC0;
  font-size: 14px;
  line-height: 1.6;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: #2D3748;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--color-primary); }
.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: #A0AEC0;
  font-size: 14px;
  transition: var(--transition);
}
.footer-col a:hover { color: white; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #2D3748;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #718096;
}

/* ========== UTILS ========== */
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; } .mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 40px; } .mb-6 { margin-bottom: 64px; }
.mt-3 { margin-top: 16px; } .mt-4 { margin-top: 24px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  color: var(--color-text);
}
.section-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

/* ========== PRICE COMPARISON TABLE ========== */
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}
.price-row:hover { background: var(--color-bg-soft); }
.price-row:last-child { border-bottom: none; }
.price-source {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600;
  font-size: 14px;
}
.price-source-logo {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  color: white;
  font-size: 13px;
}
.price-amount {
  font-weight: 800;
  font-size: 16px;
  color: var(--color-text);
}
.price-cheapest {
  background: linear-gradient(135deg, #F0FFF4 0%, #C6F6D5 100%);
  border-left: 3px solid var(--color-success);
}
.price-cheapest .price-amount { color: var(--color-success); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section-title { font-size: 24px; }
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease-out; }
