/* custom.css — custom styles, animations, and overrides for AUR Tineret static site */

/* ─── CSS Variables (matching original design) ─── */
:root {
  --background: 220 20% 7%;
  --foreground: 45 100% 95%;
  --card: 220 18% 12%;
  --card-foreground: 45 100% 95%;
  --primary: 43 85% 55%;
  --primary-foreground: 220 20% 7%;
  --secondary: 220 60% 25%;
  --accent: 0 75% 50%;
  --border: 220 15% 20%;
  --muted: 220 15% 18%;
  --muted-foreground: 220 10% 60%;
  --radius: .5rem;
  --gold: #eeb72b;
  --gold-light: #ffd466;
  --gold-bright: #ffcc4d;
  --navy: #0a0e1a;
  --navy-deep: #070b16;
  --ro-blue: #003DA5;
  --ro-yellow: #FFCD00;
  --ro-red: #CE1126;
}

body {
  background-color: #0a0e1a;
  color: #fdf8e7;
  font-family: 'Inter', sans-serif;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
}

/* ─── Gold Gradient Text ─── */
.text-gradient-gold {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-image: linear-gradient(135deg, #eeb72b, #ffd466, #eeb72b);
}

/* ─── Gold Background Gradient ─── */
.bg-gradient-gold {
  background: linear-gradient(135deg, #eeb72b, #ffcc4d);
}

/* ─── Romanian Tricolor strip ─── */
.tricolor-strip {
  height: 4px;
  background: linear-gradient(to right, #003DA5 33.33%, #FFCD00 33.33% 66.66%, #CE1126 66.66%);
}

/* ─── Card styles ─── */
.card-dark {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(238,183,43,0.12);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-dark:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(238,183,43,0.12);
  border-color: rgba(238,183,43,0.3);
}

/* ─── Section styles ─── */
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-subtitle {
  color: #9ca3af;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ─── Hero styles ─── */
.hero-bg {
  background: radial-gradient(ellipse at 20% 50%, rgba(0,61,165,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(238,183,43,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 60% 80%, rgba(206,17,38,0.06) 0%, transparent 40%),
              linear-gradient(180deg, #070b16 0%, #0a0e1a 100%);
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ─── Buttons ─── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #eeb72b, #ffcc4d);
  color: #0a0e1a;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(238,183,43,0.35);
  opacity: 0.95;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 27px;
  background: transparent;
  color: #fdf8e7;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid rgba(238,183,43,0.4);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: rgba(238,183,43,0.8);
  background: rgba(238,183,43,0.08);
  color: #ffd466;
}

/* ─── Stat counter boxes ─── */
.stat-box {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(238,183,43,0.15);
  border-radius: 10px;
}

.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #eeb72b, #ffd466);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat-label {
  color: #9ca3af;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ─── Tag / Badge ─── */
.tag-gold {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(238,183,43,0.12);
  border: 1px solid rgba(238,183,43,0.3);
  border-radius: 20px;
  color: #eeb72b;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-red {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(206,17,38,0.12);
  border: 1px solid rgba(206,17,38,0.3);
  border-radius: 20px;
  color: #e61919;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── News card ─── */
.news-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.news-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, #0f1729 0%, #1a2a4a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Event card ─── */
.event-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(238,183,43,0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.event-card:hover {
  border-color: rgba(238,183,43,0.3);
  box-shadow: 0 8px 30px rgba(238,183,43,0.08);
}

/* ─── Form styles ─── */
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fdf8e7;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: rgba(238,183,43,0.5);
  box-shadow: 0 0 0 3px rgba(238,183,43,0.1);
}

.form-input::placeholder {
  color: #6b7280;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #9ca3af;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}

/* ─── Section divider ─── */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(238,183,43,0.3), transparent);
  margin: 0 auto;
  width: 80%;
}

/* ─── Scroll Animations ─── */
.anim-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-on-scroll.anim-visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }

/* ─── Glowing gold separator ─── */
.gold-line {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #eeb72b, #ffcc4d);
  border-radius: 2px;
  margin: 12px auto;
}

/* ─── Responsive grid ─── */
.grid-auto-fill {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ─── Pulse animation for live badges ─── */
@keyframes pulse-gold {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #eeb72b;
  border-radius: 50%;
  animation: pulse-gold 2s infinite;
}

/* ─── Background patterns ─── */
.pattern-dots {
  background-image: radial-gradient(rgba(238,183,43,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ─── Page hero with gradient ─── */
.page-hero {
  padding: 80px 0 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(238,183,43,0.08) 0%, transparent 60%),
              linear-gradient(180deg, #070b16 0%, #0a0e1a 100%);
  text-align: center;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(238,183,43,0.2), transparent);
}

/* ─── Link styles ─── */
a {
  text-decoration: none;
  color: inherit;
}

/* ─── Utility overrides ─── */
.text-gold { color: #eeb72b; }
.text-gold-light { color: #ffd466; }
.border-gold { border-color: rgba(238,183,43,0.3); }
.bg-navy { background-color: #0a0e1a; }
.bg-card { background: rgba(255,255,255,0.03); }
