/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: #1f2937;
  padding-top: 80px;
  overflow-x: hidden;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1.5rem;
}

/* ================= HEADER ================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  font-weight: 600;
  font-size: 1.5rem;
  color: #e2c90c;
  text-shadow: 1.5px 1.5px 0 #000;
  white-space: nowrap;
}

/* ================= NAV ================= */
nav {
  display: flex;
  align-items: center;
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #374151;
  font-size: 0.95rem;
}

.btn-outline {
  border: 1px solid #bf2105;
  color: #e2c90c;
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

/* ================= BURGER ================= */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 3px;
  background: hsl(56, 92%, 35%);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* OVERLAY */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.35)
  );
  z-index: 1;
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
}

.hero span {
  color: #f87171;
}

.hero p {
  margin-top: 1rem;
  font-size: 1.05rem;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

/* BUTTONS */
.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: #f1f41b;
  color: rgb(255, 17, 17);
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
}

.btn-secondary {
  color: white;
  text-decoration: underline;
}

/* ================= SECTIONS ================= */
.section {
  padding: 5rem 0;
}

.section.light {
  background: #f9fafb;
}

.section.dark {
  background: #1e3a8a;
  color: white;
}

/* SPLIT */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 20px;
}

/* ================= CARDS ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
}

/* ================= STATS ================= */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.stat h3 {
  font-size: 2rem;
  font-weight: 700;
}

/* ================= CONTACT FORM ================= */
.contact-form {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row.full {
  grid-template-columns: 1fr;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-send {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 0.75rem 2.2rem;
  border-radius: 999px;
  cursor: pointer;
}

/* ================= FOOTER ================= */
footer {
  background: #111827;
  color: #9ca3af;
  text-align: center;
  padding: 2rem 1rem;
}

/* ================= ANIMATIONS ================= */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.animate.show {
  opacity: 1;
  transform: translate(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

  nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    display: none;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
  }

  nav.active {
    display: flex;
  }

  nav a {
    margin: 0.8rem 0;
    font-size: 1.05rem;
  }

  .burger {
    display: flex;
  }

  .split {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 600px) {

  .container {
    padding: 0 1.2rem;
  }

  .hero-content {
    padding: 1.5rem 1.2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary,
  .btn-send {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 3.5rem 0;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  footer {
    font-size: 0.85rem;
  }
}

/* Burger animation */
.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
