/* ===============================
   Enhanced Estimate Page Styles
   =============================== */

body {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  min-height: 100vh;
  background: var(--white);
  background-size: cover;
}

/* ===============================
   FORM AREA — REWORKED (scoped)
   =============================== */

/* Section container: modern two-column layout, centered, capped.
   In landscape it will never exceed 70% of the viewport width. */
.estimate-section {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 4rem 2rem;
  margin: 0 auto;
  width: 100%;
}

/* Hard cap for landscape so side floaters have space */
@media (orientation: landscape) {
  .estimate-section {
    max-width: 70vw;
  }
}

/* Single column on narrower screens */
@media (max-width: 980px) {
  .estimate-section {
    max-width: 90vw;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }
}

/* FORM SHELL */
.estimate-form {
  gap: 1.25rem;
  background: linear-gradient(180deg, rgba(11, 61, 46, 0.04), rgba(11, 61, 46, 0.02));
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(11, 61, 46, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .06);
  backdrop-filter: blur(4px);
}

/* GRID OF CARDS */
.form-grid {
  display: compact;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* CARD */
.form-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(11, 61, 46, 0.12);
  border-radius: 16px;
  padding: 1.25rem;
  margin-top: 2rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}

/* subtle gold accent top edge */
.form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--gold) 65%, var(--white)));
  opacity: .8;
}

.form-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .10);
  border-color: color-mix(in srgb, var(--dark-green) 35%, #ffffff);
}

.form-card h2 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .65rem 0;
  font-size: 1.05rem;
  color: var(--dark-green);
  font-weight: 700;
}

.form-card h2 i {
  color: var(--gold);
}

/* LABELS */
.form-card > label {
  display: block;
  font-weight: 600;
  color: #4a4f56;
  margin-bottom: .35rem;
}

/* INPUTS & SELECTS */
.form-card input[type="number"],
.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card input[type="date"],
.form-card input[type="time"],
.form-card select {
  width: 100%;
  padding: .8rem .9rem;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid #e3e6e8;
  background: #f7f9f8;
  color: #111;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, .02);
}

.form-card select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #7a828a 50%),
  linear-gradient(135deg, #7a828a 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(1.05em),
  calc(100% - 16px) calc(1.05em);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-card input:focus,
.form-card select:focus {
  border-color: color-mix(in srgb, var(--gold) 70%, #ffffff);
  background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 25%, transparent);
}

/* RADIO/CHECKBOX OPTION GROUP — chip style */
.option-group {
  display: grid;
  gap: .6rem;
}

@media (min-width: 560px) {
  .option-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* label wraps input + text */
.option-group label {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem .9rem;
  border: 1px solid #e3e6e8;
  border-radius: 12px;
  background: #f7f9f8;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .08s ease;
  user-select: none;
}

.option-group label:hover {
  background: #fff;
  border-color: color-mix(in srgb, var(--dark-green) 22%, #e3e6e8);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
}

.option-group input[type="radio"],
.option-group input[type="checkbox"] {
  margin: 0;
  accent-color: var(--dark-green);
}

/* Highlight when checked (modern :has support) */
.option-group label:has(input:checked) {
  border-color: color-mix(in srgb, var(--gold) 65%, #ffffff);
  background: linear-gradient(180deg, #fff, #faf7ee);
  box-shadow: 0 10px 26px rgba(212, 175, 55, .18);
  transform: translateY(-1px);
}

/* FULL-WIDTH CARD SPAN */
.full-width {
  grid-column: 1 / -1;
}

/* SUBMIT BUTTONS */
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  padding: .9rem 1.1rem;
  font-weight: 800;
  letter-spacing: .2px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--gold);
  color: var(--dark-green);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .06s ease, box-shadow .18s ease;
  box-shadow: 0 14px 28px rgba(212, 175, 55, .18);
}

.submit-btn:hover {
  background: color-mix(in srgb, var(--gold) 86%, #ffffff);
  box-shadow: 0 12px 26px rgba(212, 175, 55, .22);
}

.submit-btn:active {
  transform: translateY(1px);
}

.secondary-btn {
  background: #fff;
  color: var(--dark-green);
  border-color: var(--dark-green);
  box-shadow: none;
}

.secondary-btn:hover {
  background: color-mix(in srgb, var(--dark-green) 10%, #ffffff);
}

.summary-box-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* SUMMARY BOX (sticky) */
.summary-box {
  margin-bottom: 3rem;
  max-width: 40%;
  text-align: center;
  position: sticky;
  top: 1.25rem;
  align-self: start;
  background: linear-gradient(180deg, var(--dark-green), color-mix(in srgb, var(--dark-green) 86%, #000));
  color: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.summary-box h3 {
  margin: 0 0 .75rem 0;
  font-size: 1.15rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: .45rem;
}

#summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: grid;
  gap: .45rem;
}

#summary-list li {
  line-height: 1.45;
}

.total {
  font-weight: 800;
  color: var(--gold);
  font-size: 1.15rem;
}

/* Booking form inside summary box */
.send-request-container {
  margin-top: .75rem;
}

#booking-form {
  display: grid;
  gap: .6rem;
  margin-top: .5rem;
}

#booking-form.hidden {
  display: none;
}

#booking-form input {
  padding: .65rem .8rem;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  border-radius: 10px;
  color: #fff;
}

#booking-form input::placeholder {
  color: rgba(255, 255, 255, .75);
}

#booking-form button {
  background: var(--gold);
  color: var(--dark-green);
  border-radius: 12px;
  padding: .7rem .9rem;
  border: none;
  cursor: pointer;
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeSlide .5s ease forwards;
}

@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE ADAPTATIONS */
@media (max-width: 980px) {
  .summary-box {
    position: relative;
    top: 0;
  }
}

/* Hero section same style as other pages */
.estimate-hero {
  width: 100%;
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(rgba(1, 68, 33, 0.7), rgba(1, 68, 33, 0.7)),
  image-set(
    url('../img/avif/background.avif') 1x,
    url('../img/webp/background.webp') 1x,
    url('../img/fallback/background.png') 1x
  ) no-repeat center;
  background-size: cover;
  color: var(--gold);
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.2);
}

.estimate-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: var(--gold);
}

.estimate-hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--white);
}


@media (orientation: portrait) {
  .contact-mobile-bar {
    display: block;
  }
}

/* Keep your existing booking form button overrides */
.send-request-container {
  margin-top: 1rem;
}

#booking-form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#booking-form input {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

#booking-form button {
  background-color: var(--dark-green);
  color: white;
  padding: 0.6rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#booking-form.hidden {
  display: none;
}

/* Reuse button styles with slight variation */
.secondary-btn {
  background-color: var(--gold);
  color: var(--dark-green);
  border: 2px solid var(--gold-dark);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.secondary-btn:hover {
  background-color: var(--white);
  color: var(--gold-dark);
}

@media (orientation: portrait) {
  .summary-box {
    max-width: 90vw;
    padding: 10vw;
  }
}

/* Container for stacked left floating boxes */
.left-float-stack {
  position: fixed;
  top: 500px; /* adjust so they don't overlap navbar */
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px; /* space between the two boxes */
  z-index: 900;
}

/* Keep existing look of left-tip-box */
.left-float-stack .left-tip-box {
  background: var(--gold, #fff);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Price box still uses your previous style */
.left-float-stack .price-float-box {
  width: 240px;
  background: var(--gold, #fff);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
}

.left-float-stack .price-float-box h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.left-float-stack .price-float-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.left-float-stack .price-float-box ul li {
  margin-bottom: 0.35rem;
  color: var(--black);
}

/* Hide on small screens */
@media (orientation: portrait) {
  .left-float-stack {
    display: none;
  }
}

/* Container for stacked right floating boxes */
.right-float-stack {
  position: fixed;
  top: 500px; /* same as left for symmetry */
  right: 20px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}

/* Price box */
.right-float-stack .price-float-box {
  width: 240px;
  background: var(--gold, #fff);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
}

.right-float-stack .price-float-box h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.right-float-stack .price-float-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.right-float-stack .price-float-box ul li {
  margin-bottom: 0.35rem;
  color: var(--black);
}

/* Contact box */
.right-float-stack .contact-float-box {
  background: var(--gold, #fff);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.left-float-stack a {
  color: var(--dark-green);
  font-weight: bold;
}

.right-float-stack a {
  color: var(--dark-green);
  font-weight: bold;
}

.mobile-price-section-btn {
  display: none;
}

/* Hide on small screens */
@media (orientation: portrait) {
  .right-float-stack {
    display: none;
  }
}

/* Mobile price section - hidden on desktop */
.mobile-price-section {
  display: none;
  padding: 1.5rem 1rem;
  background: var(--white, #fff);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-price-card {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--dark-green);
  background: var(--gold, #fff);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mobile-price-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.mobile-price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-price-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
}

.mobile-price-card ul li:last-child {
  border-bottom: none;
}

/* Show on small screens only */
@media (max-width: 900px) {
  .mobile-price-section {
    display: block;
  }

  /* Hide floating boxes on mobile */
  .left-float-stack,
  .right-float-stack {
    display: none !important;
  }
}
.quick-helper{
  display: flex;          /* make it a flex container */
  align-items: center;
  justify-content: center;
}

.top-mobile-btn{
  margin-top: 1rem;
}

.btm-mobile-btn {
  margin-bottom: 1rem;
}

  /* Mobile scroll buttons */
.mobile-scroll-btn {
  max-width: 80vw;
  display: inline-block;
  background: var(--dark-green);
  color: var(--gold);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s ease;
}

.mobile-scroll-btn:hover {
  background: var(--dark-green);
}

/* Only show on mobile */
.mobile-only {
  display: none;
}

@media (max-width: 900px) {
  .mobile-only {
    display: inline-block;
  }
}
