/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  overflow-x: hidden;
  color: #fff;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../images/Next space-image-03.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* ===========================
   LOGO (EXACT FIGMA SPECS)
   =========================== */
.logo {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 139px;
  height: 128.22px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* ===========================
   HERO CONTENT
   =========================== */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main Heading (MERRIWEATHER 900 ITALIC - ONE LINE) */
.hero-content h1 {
  /* Merriweather Black Italic */
  font-family: "Merriweather", Georgia, serif;
  font-size: 48px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: 0%;

  /* Styling */
  color: #ffffff;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.6);

  /* Keep on one line */
  white-space: nowrap;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
}

/* Subtitle (LATO REGULAR) */
.hero-subtitle {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  line-height: 28px;
  letter-spacing: 0.3px;

  color: #ffffff;
  margin-bottom: 40px;
  text-align: center;
  text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.5);
}

/* ===========================
   CTA BUTTON (EXACT FIGMA SPECS)
   =========================== */
.cta-button {
  /* Exact Figma dimensions */
  width: 346px;
  height: 60px;

  /* Background color from Figma */
  background: #baa170;

  /* Border from Figma */
  border: 1px solid #ffffff;
  border-radius: 48px;

  /* Text styling */
  color: #000000;
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;

  /* Layout - as link */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0;
  cursor: pointer;

  /* Effects */
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(186, 161, 112, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(186, 161, 112, 0.5);
  background: #c9af7f;
}

.cta-button:active {
  transform: translateY(0);
}

/* ===========================
   DURATION TEXT (LATO)
   =========================== */
.duration {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.duration .icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Large Desktop */
@media (min-width: 1400px) {
  .hero-content h1 {
    font-size: 56px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .logo {
    width: 110px;
    height: auto;
    top: 40px;
  }

  .hero-content h1 {
    font-size: 36px;
    /* Allow wrapping on smaller screens */
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 35px;
  }

  .cta-button {
    width: 300px;
    height: 55px;
    font-size: 18px;
  }

  .duration {
    font-size: 14px;
  }

  .duration .icon {
    width: 16px;
    height: 16px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .logo {
    width: 90px;
    top: 30px;
  }

  .hero-content {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 30px;
  }

  .cta-button {
    width: 280px;
    height: 50px;
    font-size: 16px;
    letter-spacing: 1.5px;
  }

  .duration {
    font-size: 13px;
    margin-top: 15px;
  }

  .duration .icon {
    width: 15px;
    height: 15px;
  }
}
