@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Poppins:wght@400;500;600&family=League+Spartan:wght@600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #ff0000;
  --black: #111111;
  --white: #ffffff;
  --muted: #cccccc;
  --radius: 16px;
}

/* ================= BASE ================= */
.offline-page {
  font-family: "Poppins", sans-serif;
  margin-top: 6rem;
  overflow-x: hidden;
}
.offline-page * {
  color: #fff;
}

body.offline-page-active #smooth-wrapper {
  height: auto;
  overflow: visible;
}

body.offline-page-active #smooth-content {
  transform: none !important;
}

footer {
  color: #111;
}

/* ================= HERO ================= */
.offline-hero {
  margin: 0 6rem;
  overflow: visible;
}

/* IMAGE AREA */
.offline-hero-visual {
  height: 80vh;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

/* SLIDE TRACK */
.offline-hero-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.8s ease-in-out;
}

/* INDIVIDUAL SLIDE */
.offline-hero-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  flex-shrink: 0;
}

.offline-hero-header {
  padding: 10px 20px;
  text-align: center;
  margin-bottom: 5px;
}

.offline-hero-header h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #111;
  line-height: 1;
}

/* ================= FORM ================= */
.offline-form-section {
  margin: 0.5rem 0;
  padding: 40px 20px;
  background-color: #eee;
}

.offline-form-card {
  max-width: 720px;
  margin: auto;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
}

.offline-form-card h2 {
  font-family: "Montserrat", sans-serif;
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #111;
}

.offline-form-subtext {
  text-align: center;
  color: var(--black);
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #333;
  display: block;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #333;
  color: #000;
}

.form-group .error {
  color: var(--red);
}

.form-group input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.25);
}

.offline-form-pair {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.radio-group {
  display: flex;
  gap: 20px;
}

.radio-group label {
  font-size: 0.9rem;
}

.offline-submit-btn {
  width: 100%;
  background: var(--red);
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  border: none;
  font-family: "League Spartan", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 10px;
}

.offline-submit-btn:hover {
  background: #e60000;
  transform: scale(1.05);
  box-shadow: 1px 1px 10px black;
}

/* Disable theme smooth scroll safely */
#smooth-wrapper {
  position: static !important;
  height: auto !important;
  overflow: visible !important;
}

#smooth-content {
  transform: translate3d(0, 0, 0) !important;
  will-change: auto !important;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .offline-hero-content h1 {
    font-size: 4.5rem;
  }
}

@media (max-width: 900px) {
  .offline-hero-visual {
    height: 60vh;
  }

  .offline-hero-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .offline-page {
    margin-top: 4.5rem;
  }

  .offline-hero {
    margin: 0px;
  }

  .offline-hero-visual {
    height: 60vh;
    border-radius: 0px;
  }

  .offline-hero-slide1 {
    background-position: 22% center;
  }

  .offline-hero-header {
    padding: 10px 20px;
  }

  .offline-hero-header h1 {
    font-size: 1.3rem;
  }
  .offline-form-section {
    padding: 0;
    margin-top: 0;
    margin-bottom: 45px;
  }

  .offline-form-card {
    box-shadow: none;
  }

  .offline-hero-content p {
    font-size: 1rem;
  }
  .offline-form-pair {
    flex-direction: column;
    align-items: start;
  }
}
