/* Modern Foundations - Enhanced Design System */
:root {
  /* Sophisticated Color Palette - Less Blue, More Warmth */
  --primary-deep: #1e2b34;      /* Rich charcoal - replaces harsh blue */
  --primary-warm: #b45f4b;       /* Warm terracotta - signature accent */
  --accent-sage: #6b7f6b;         /* Muted sage - secondary accent */
  --accent-light: #f0e7e0;        /* Warm neutral background */
  --accent-dusty: #d9c5ba;        /* Dusty rose neutral */
  
  /* Neutral Palette */
  --bg-white: #ffffff;
  --bg-warm: #fdf9f7;             /* Warm white background */
  --text-primary: #1e2b34;
  --text-secondary: #4f5b66;
  --text-tertiary: #7f8b95;
  
  /* Accent Colors */
  --gold-light: rgba(180, 95, 75, 0.08);  /* Terracotta with opacity */
  --gold-medium: rgba(180, 95, 75, 0.15);
  --shadow-color: rgba(30, 43, 52, 0.06);
  
  /* UI Elements */
  --border-light: rgba(30, 43, 52, 0.08);
  --border-medium: rgba(30, 43, 52, 0.15);
  --shadow-sm: 0 4px 20px rgba(30, 43, 52, 0.02), 0 2px 4px rgba(30, 43, 52, 0.02);
  --shadow-md: 0 20px 40px -12px rgba(30, 43, 52, 0.08), 0 8px 24px -8px rgba(30, 43, 52, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(30, 43, 52, 0.15), 0 12px 30px -10px rgba(30, 43, 52, 0.1);
  --shadow-glow: 0 20px 40px -12px rgba(180, 95, 75, 0.2);
  
  /* Spacing */
  --site-gutter: clamp(1.5rem, 5vw, 5rem);
  --section-spacing: clamp(4rem, 10vw, 8rem);
  
  /* Typography */
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 1024px) {
  html {
    font-size: 15px;
  }
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-warm);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-warm) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-warm), var(--accent-sage));
  border-radius: 4px;
  transition: width 0.6s ease;
}

h2:hover::after {
  width: 120px;
}

/* Gutters */
.hata-gutter {
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* ===== MAGICAL HEADER ===== */
.hata-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 249, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.hata-header.scrolled {
  padding: 0.5rem 0;
  background: rgba(253, 249, 247, 0.95);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--site-gutter);
  max-width: 1440px;
  margin: 0 auto;
  transition: padding 0.3s ease;
}

/* Logo */
.hata-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
  position: relative;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-warm));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: var(--transition-smooth);
}

.logo-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-tertiary);
  font-weight: 400;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: -1;
}

.hata-logo:hover .logo-glow {
  opacity: 1;
}

/* Navigation */
.hata-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-warm), var(--accent-sage));
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-link:hover {
  color: var(--primary-warm);
}

.nav-link:hover::before {
  width: 100%;
}

/* Donate Button */
.donate-button {
  background: linear-gradient(135deg, var(--primary-warm), #c47a68);
  color:#fff;
  border: none;
  padding: 0.75rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: 0 8px 20px rgba(180, 95, 75, 0.25);
  position: relative;
  overflow: hidden;
}

.donate-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.donate-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(180, 95, 75, 0.35);
}

.donate-button:hover::before {
  width: 300px;
  height: 300px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 200;
}

.mobile-menu-btn span {
  width: 28px;
  height: 2px;
  background: var(--primary-deep);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ===== MAGICAL HERO SECTION ===== */
.hata-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: var(--section-spacing) 0;
  overflow: hidden;
}

/* Magical Background */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 30%, var(--gold-light) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 70%, rgba(107, 127, 107, 0.05) 0%, transparent 50%),
              linear-gradient(135deg, var(--bg-warm) 0%, #f5f0eb 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-warm);
  border-radius: 50%;
  opacity: 0.15;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.2; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

/* Hero Content */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

/* Left Column */
.hero-main {
  animation: fadeSlideUp 1s ease forwards;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(180, 95, 75, 0.08);
  border-radius: 40px;
  color: var(--primary-warm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(180, 95, 75, 0.15);
}

.location-badge svg {
  width: 16px;
  height: 16px;
}

.hero-description {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 85%;
  line-height: 1.5;
}

/* Stats Container */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin: 3rem 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-warm);
  line-height: 1;
  position: relative;
  display: inline-block;
}

.stat-number::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-sage);
  opacity: 0.3;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.btn-primary {
  background: var(--primary-deep);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: 0 8px 20px rgba(30, 43, 52, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::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.6s ease;
}

.btn-primary:hover {
  background: #25323d;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(30, 43, 52, 0.3);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-deep);
  border: 2px solid var(--border-medium);
  padding: 1rem 2.5rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  border-color: var(--primary-warm);
  color: var(--primary-warm);
  transform: translateX(5px);
}

.btn-secondary svg {
  transition: transform 0.3s ease;
}

.btn-secondary:hover svg {
  transform: translateX(5px);
}

/* Right Column - Visual Element */
.hero-visual {
  position: relative;
  animation: fadeSlideUp 1s ease 0.2s forwards;
  opacity: 0;
}

.visual-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 40px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, var(--gold-light) 0%, transparent 70%);
  pointer-events: none;
}

.update-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.update-item:last-child {
  border-bottom: none;
}

.update-item:hover {
  transform: translateX(8px);
  color: var(--primary-warm);
}

.update-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-warm);
  transition: var(--transition-smooth);
}

.update-item:hover .update-icon {
  background: var(--primary-warm);
  color: white;
  transform: scale(1.1);
}

.update-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.update-content p {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.update-badge {
  background: var(--primary-warm);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: auto;
}

/* Podcast Section */
.hata-podcast {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-light);
}

.hata-podcast:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.podcast-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.podcast-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-warm), var(--accent-sage));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.podcast-title {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--primary-deep);
}

.podcast-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-warm);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: var(--transition-smooth);
}

.podcast-link:hover {
  gap: 1rem;
  color: var(--primary-deep);
}

/* Footer */
.hata-footer {
  margin-top: var(--section-spacing);
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-warm);
}

/* Animations */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-description {
    max-width: 100%;
  }
  
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    padding: 4rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: right 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 150;
  }
  
  .nav-list.active {
    right: 0;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .hata-footer {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Utility Classes */
.hata-section {
  padding: var(--section-spacing) 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-warm));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}