/* ============================================================
   Union Ardor LLC — Shared Stylesheet
   Brand Red: #F10103
   ============================================================ */

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

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--black);
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Visible focus indicators for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 2px;
}

/* Required field note */
.required-note {
  font-size: 0.82rem;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.req {
  color: var(--red);
  margin-left: 2px;
  aria-hidden: true;
}

:root {
  --red: #F10103;
  --black: #111111;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --text-gray: #444444;
  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@keyframes ua-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#main-content {
  animation: ua-fadeIn 0.3s ease-out both;
}

body {
  font-family: var(--font);
  font-weight: 500; /* Montserrat Medium as base */
  color: var(--black);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   SITE TOP (header + nav, sticky together)
   ============================================================ */

.site-top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
}

.site-header {
  display: flex;
  align-items: flex-end;
  padding: 16px 40px 12px;
  width: 100%;
}

.header-logo {
  height: 90px;
  width: auto;
  display: block;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
  display: flex;
  justify-content: center;
  background: linear-gradient(
    180deg,
    rgba(255, 40, 40, 0.97) 0%,
    rgba(200, 0, 2, 1) 45%,
    rgba(150, 0, 1, 1) 100%
  );
  box-shadow:
    0 4px 24px rgba(160, 0, 0, 0.55),
    0 1px 6px rgba(255, 80, 80, 0.2),
    inset 0 1px 0 rgba(255, 180, 180, 0.35);
  width: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  padding: 0 40px;
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 20px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate hamburger → X when open */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-inner a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav-inner a:hover {
  background: var(--white);
  color: var(--red);
}

.nav-inner a.active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   MAIN CONTENT WRAPPER
   ============================================================ */

main {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 40px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  text-align: center;
  padding: 24px 16px;
  font-size: 0.85rem;
  color: #999;
  border-top: 1px solid #eee;
}

/* ============================================================
   HOME PAGE — HERO SLIDER
   ============================================================ */

.hero-slider {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
  background: #000;
}

.slider-track {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.slide.active {
  opacity: 1;
}

.slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Prev / Next arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  width: 48px;
  height: 64px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: rgba(241, 1, 3, 0.75);
}

.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

/* Dot indicators */
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 56px;
  align-items: center;
}

.about-text h1 {
  font-size: 2.2rem;
  font-weight: 400; /* Montserrat Regular */
  color: var(--red);
  margin-bottom: 32px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 28px;
  max-width: 660px;
}

.about-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-icon img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}

/* ============================================================
   CONSULT PAGE
   ============================================================ */

.consult-wrap {
  max-width: 680px;
  position: relative;
  margin: 0 auto;
}

.consult-wrap h1 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
}

.consult-wrap .consult-subtext {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 36px;
  line-height: 1.6;
}

.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.consult-form {
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group label,
.form-row .form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}

.form-group label .req,
.form-row .form-group label .req {
  color: var(--red);
  margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select,
.form-row .form-group input {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #ccc;
  background: transparent;
  padding: 8px 0;
  font-size: 1rem;
  font-family: var(--font);
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.form-row .form-group input:focus {
  border-bottom-color: var(--red);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.phone-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.phone-flag {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 8px;
  font-size: 1.1rem;
}

.char-counter {
  text-align: right;
  font-size: 0.78rem;
  color: #888;
  margin-top: 4px;
}

textarea {
  resize: none;
  overflow: hidden;
  min-height: 2.4rem;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--red);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.1s;
  margin-top: 12px;
}

.btn-submit:hover {
  background: #c80002;
}

.btn-submit:active {
  transform: scale(0.99);
}

/* ============================================================
   SUCCESS PAGE
   ============================================================ */

.success-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 55vh;
  max-width: 560px;
  margin: 0 auto;
  gap: 16px;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #28a745;
  color: var(--white);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.success-wrap h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.success-wrap p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-gray);
  margin: 0;
}

.btn-home {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 32px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.25s ease;
}

.btn-home:hover {
  background: #c80002;
}

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

@media (max-width: 768px) {

  /* Header */
  .site-header {
    padding: 12px 20px 10px;
  }

  .header-logo {
    height: 64px;
  }

  /* Nav — hamburger mode */
  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-inner.open {
    max-height: 300px;
  }

  .nav-inner a {
    padding: 14px 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 1rem;
  }

  /* Main content */
  main {
    padding: 24px 20px;
  }

  /* About page */
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-icon {
    display: flex;
    justify-content: center;
  }

  .about-icon img {
    width: 60%;
    max-width: 240px;
  }

  /* Consult form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .watermark {
    display: none;
  }

  /* Home hero */
  .home-hero .logo-wrap img {
    max-width: 90vw;
  }
}
