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

html { font-size: 16px; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F5A500;
  color: #000;
  overflow-x: hidden;
}

/* =============================================
   HEADER
============================================= */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 200;
  padding: 10px 18px;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background-color: #ffffff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}

.header-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.header.scrolled .header-title {
  color: #F5A500;
}

/* =============================================
   HERO
   - Fixed height to show content below without scrolling
   - object-fit: contain so the full image is visible (no crop)
   - background matches page so no gaps
============================================= */
.hero {
  width: 100%;
  height: 480px;
  overflow: hidden;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* =============================================
   CONFIRMATION SECTION
============================================= */
.confirmation-section {
  background-color: #F5A500;
  padding: 34px 20px 64px;
}

.confirmation-title {
  text-align: center;
  font-size: 3.45rem;
  font-weight: 700;
  color: #FFE600;
  background-color: #D4820A;
  display: block;
  width: fit-content;
  margin: 0 auto 45px;
  padding: 4px 38px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.confirmation-text {
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.75;
  color: #000;
  max-width: 1120px;
  margin: 0 auto 70px;
}
/* .confirmation-text{
    max-width: 1120px;
    margin: 40px auto 0;
    font-size: 26px;
    line-height: 1.75;
    font-weight: 400;
    color: #000;
} */

/* =============================================
   FORM CONTAINER
   Desktop: no scroll — shows full form
   Mobile: scrollable with visible scrollbar
============================================= */
.form-container {
  max-width: 540px;
  margin: 0 auto;
  overflow: visible;
}

.form-inner {
  background-color: #FFE600;
  border-radius: 12px;
  padding: 28px 32px 32px;
}

/* =============================================
   FORM ELEMENTS
============================================= */
.confirm-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 5px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.93rem;
  color: #555;
  background-color: #fff;
  outline: none;
  transition: box-shadow 0.2s;
}

.form-group input:focus {
  box-shadow: 0 0 0 2px #C07800;
}

.form-group input::placeholder { color: #bbb; }

.form-notice {
  border: 2px solid #C07800;
  background-color: #FFE600;
  color: #000;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 12px 14px;
  line-height: 1.55;
  margin-bottom: 18px;
  border-radius: 4px;
}

.btn-confirm {
  width: 100%;
  padding: 14px;
  background-color: #E8950A;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background-color 0.2s;
}

.btn-confirm:hover { background-color: #C07800; }

/* =============================================
   SUCCESS MESSAGE
============================================= */
.success-message {
  display: none;
  max-width: 540px;
  margin: 0 auto;
  background-color: #FFE600;
  border-radius: 10px;
  padding: 52px 48px;
  text-align: center;
}


.success-message p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  font-style: normal;
  color: #000;
  line-height: 1.65;
}

.success-message.visible {
  display: block;
}

.success-box{
    width: 540px;
    min-height: 110px;
    padding: 20px 30px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    margin: 60px auto 0;
}

/* =============================================
   CONFIRMATION IMAGE
============================================= */
.confirmation-image-section {
  background-color: #F5A500;
  padding: 400px 60px 0;
  display: flex;
  justify-content: center;
}

.confirmation-img {
  width: 100%;
  max-width: 1160px;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

/* =============================================
   FOOTER
============================================= */
.footer {
  background-color: #F5A500;
  text-align: center;
  padding: 42px 20px 60px;
}

.footer-copyright {
  font-size: 1rem;
  font-weight: 200;
  letter-spacing: 0;
  margin-bottom: 20px;

  color: #000;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.footer-trademark {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: 1100px;
  margin: 0 auto;
  color: #000;
  margin: 0 auto;
}

/* =============================================
   FLOATING INFO BUTTON — Google Sites style
============================================= */
.floating-info {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.floating-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(40, 40, 40, 0.85);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  padding: 0;
}

.floating-btn:hover { background-color: rgba(20,20,20,0.95); }

.floating-btn .material-icons {
  font-size: 18px;
}

/* Popup — DESKTOP: horizontal pill above button */
.floating-popup {
  display: none;
  background-color: #3a3a3a;
  border-radius: 24px;
  padding: 9px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  white-space: nowrap;
  order: -1; /* above button */
}

.floating-popup.open { display: block; }

.popup-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.popup-text,
.popup-link {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.82rem;
  color: #fff;
  font-weight: 400;
  text-decoration: none;
}

.popup-sep {
  color: #aaa;
  font-size: 0.82rem;
}

.popup-link:hover { text-decoration: underline; }

/* =============================================
   TABLET (max 900px)
============================================= */
@media (max-width: 900px) {
  /* hero auto height on tablet */

  .confirmation-title { font-size: 2.3rem; }

  .confirmation-text { font-size: 1.05rem; }

  .confirmation-image-section { padding: 0 20px; }
}

/* =============================================
   MOBILE (max 600px)
   - Hero: show full image, shorter height
   - Header: hide title, show logo only
   - Form: scrollable with visible scrollbar
   - Floating popup: vertical list
============================================= */
@media (max-width: 600px) {

  /* Header */
  .header { padding: 7px 12px; }

  .header-logo { width: 38px; height: 38px; }

  /* Hide title on mobile, keep logo */
  .header-title { display: none; }

  /* Hero — shorter, full image */
  .hero {
    height: auto;
    max-height: 380px;
    background-color: transparent;
    
  }

  .hero-img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    object-position: center top;
  }

  /* Confirmation section */
  .confirmation-section { padding: 36px 14px 40px; }

  .confirmation-title {
    font-size: 2.1rem;
    padding: 6px 18px;
    margin-bottom: 28px;
  }

  .confirmation-text {
    font-size: 1.7rem;
    line-height: 1.50;
    margin-bottom: 32px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 35px;
  }

  /* Form: scrollable on mobile with visible scrollbar */
  .form-container {
    max-width: 92%;
    height: 380px;
    overflow-y: scroll;
    border-radius: 10px;
    /* Always show scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #C07800 #FFE600;
  }

  /* Webkit scrollbar — always visible */
  .form-container::-webkit-scrollbar {
    width: 8px;
    display: block;
  }
  .form-container::-webkit-scrollbar-track {
    background: #FFE600;
    border-radius: 0 10px 10px 0;
  }
  .form-container::-webkit-scrollbar-thumb {
    background-color: #C07800;
    border-radius: 4px;
    border: 2px solid #FFE600;
  }

  .form-inner {
    padding: 20px 14px 24px;
    border-radius: 10px;
  }

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

  .form-group label { font-size: 0.88rem; }

  .form-group input {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .form-notice { font-size: 0.76rem; }

  .btn-confirm { padding: 12px; font-size: 0.93rem; }

  /* Image */
  .confirmation-image-section { padding: 0 12px;margin-bottom: 14px; }
  .confirmation-img { border-radius: 3px; }

  /* Footer */
  .footer { padding: 34px 18px 46px; }
  .footer-copyright { 
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 18px;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto; 
  }
  .footer-trademark {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 260px;
    margin: 0 auto;
}

  /* Floating popup: vertical on mobile */
  .floating-popup {
    border-radius: 12px;
    padding: 10px 16px;
    white-space: normal;
    min-width: 180px;
  }

  .popup-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .popup-sep { display: none; }
}