/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #C5F542;
  --primary-hover: #B8E83D;
  --bg-dark: #1A1A1A;
  --text-dark: #111827;
  --text-light: #f8fafc;
  --border-light: #E5E7EB;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: "rlig" 1, "calt" 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: 0; background: none; font: inherit; color: inherit; }
input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

/* === Logo === */
.logo {
  display: inline-block;
  background-color: #C5F542;
  border: 4px solid #000;
  padding: 8px 14px;
  border-radius: 4px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-family: 'Arial Black', 'Helvetica Neue', sans-serif;
  font-weight: 900;
  color: #000;
  font-size: 14px;
  line-height: 1.2;
}
.logo span { display: block; }

.logo--sm { border-width: 3px; padding: 6px 10px; font-size: 10px; }
.logo--lg { border-width: 5px; padding: 12px 18px; font-size: 18px; }

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero-option2.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.7)
  );
}

.hero__container {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}
@media (min-width: 1024px) { .hero__container { padding: 0 2rem; } }

.hero__logo {
  position: absolute;
  top: 1.5rem;
  left: 0;
}
.hero__logo .logo {
  border-width: 3px;
  padding: 6px 10px;
  font-size: 10px;
}
@media (min-width: 768px) {
  .hero__logo { top: 2.5rem; }
  .hero__logo .logo {
    border-width: 5px;
    padding: 12px 18px;
    font-size: 18px;
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.hero__subtitle {
  display: block;
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 300;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.hero__tagline {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
  max-width: 36rem;
  font-weight: 300;
}

/* === Buttons === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background-color: var(--primary);
  color: #000;
  font-weight: 600;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-4px);
  background-color: var(--primary-hover);
  box-shadow: 0 30px 40px -10px rgba(0, 0, 0, 0.35);
}
.btn-primary svg { width: 1.25rem; height: 1.25rem; }

/* === Scroll indicator === */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  transform: translateX(-50%);
  animation: bob 2s ease-in-out infinite;
}
.scroll-indicator__dot {
  width: 0.25rem;
  height: 0.75rem;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  animation: dot-bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 10px); }
}
@keyframes dot-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(12px); }
}

/* === Footer === */
.footer { background-color: #000; padding: 3rem 1.5rem; }
.footer__container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer__container { flex-direction: row; justify-content: space-between; }
}
.footer__links { display: flex; gap: 2rem; font-size: 0.875rem; }
.footer__links a { color: #9CA3AF; transition: color 0.2s ease; }
.footer__links a:hover { color: #fff; }
.footer__copyright { color: #6B7280; font-size: 0.875rem; }

/* === Contact page === */
.contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.contact__card {
  width: 100%;
  max-width: 28rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
}
.contact__header { text-align: center; margin-bottom: 2rem; }
.contact__logo-wrap { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.contact__title { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }

/* Alerts */
.alert {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: alert-in 0.2s ease;
}
.alert--error   { background: #FEF2F2; border: 1px solid #FECACA; color: #DC2626; }
.alert--success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #16A34A; }
.alert svg      { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.alert--hidden  { display: none; }
@keyframes alert-in {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* Form */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-light);
  background: #fff;
  color: var(--text-dark);
  transition: border-color 0.2s ease;
}
.field--icon input { padding-left: 3rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: #9CA3AF; }
.field input::placeholder, .field textarea::placeholder { color: #9CA3AF; }
.field__icon {
  position: absolute;
  left: 1rem;
  top: 0.875rem;
  width: 1.25rem;
  height: 1.25rem;
  color: #9CA3AF;
  pointer-events: none;
}
.field textarea { resize: none; min-height: 6rem; }

.btn-submit {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  color: #000;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-submit svg { width: 1rem; height: 1rem; }

.contact__back {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #6B7280;
  display: block;
  transition: color 0.2s ease;
}
.contact__back:hover { color: #374151; }

/* === Entrance animations === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 1s ease-out forwards;
}
.fade-down {
  opacity: 0;
  transform: translateY(-20px);
  animation: fade-down 1s ease-out forwards;
}
.fade-up--delay-1 { animation-delay: 0.3s; }
.fade-up--delay-2 { animation-delay: 0.6s; }
.fade-up--delay-3 { animation-delay: 0.9s; }
@keyframes fade-up   { to { opacity: 1; transform: translateY(0); } }
@keyframes fade-down { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-down { opacity: 1; transform: none; animation: none; }
  .scroll-indicator, .scroll-indicator__dot { animation: none; }
}
