/* ============================================
   Melbourne Landing Page - Custom Overrides
   ============================================ */

/* ── 1. Success Stories / Testimonial Scroller ── */
.testimonial-scroller {
  padding: 60px 0 40px;
  background: #F7F6F3;
}
.testimonial-scroller__header {
  text-align: center;
  margin-bottom: 12px;
}
.testimonial-scroller__header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 8px;
}
.testimonial-scroller__header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}
.testimonial-scroller__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 40px 30px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testimonial-scroller__track::-webkit-scrollbar {
  display: none;
}
.testimonial-scroller__track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.testimonial-card {
  flex: 0 0 340px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.testimonial-card__video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: #222;
  overflow: hidden;
}
.testimonial-card__video-wrap img,
.testimonial-card__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-card__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 2;
}
.testimonial-card__play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
}
.testimonial-card__play-btn svg {
  margin-left: 3px;
}
.testimonial-card__play-btn.is-playing {
  opacity: 0;
  pointer-events: none;
}
.testimonial-card__body {
  padding: 20px 24px 24px;
}
.testimonial-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}
.testimonial-card__quote {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.55;
  font-style: italic;
}
.testimonial-scroller__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
}
.testimonial-scroller__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.testimonial-scroller__dot.is-active {
  background: #43B47C;
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 290px;
  }
  .testimonial-scroller__track {
    padding: 16px 20px 24px;
    gap: 16px;
  }
  .testimonial-scroller {
    padding: 40px 0 24px;
  }
}

/* ── 2. Brand Ticker / Marquee ── */
.brand-ticker {
  padding: 28px 0 24px;
  background: #fff;
  overflow: hidden;
  position: relative;
}
.brand-ticker__label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #999;
  margin-bottom: 16px;
  font-weight: 600;
}
.brand-ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}
.brand-ticker__track:hover {
  animation-play-state: paused;
}
.brand-ticker__set {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 24px;
}
.brand-ticker__logo {
  height: 32px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s;
  flex-shrink: 0;
}
.brand-ticker__logo:hover {
  opacity: 0.85;
  filter: grayscale(0%);
}
.brand-ticker::before,
.brand-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.brand-ticker::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}
.brand-ticker::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .brand-ticker__set {
    gap: 32px;
  }
  .brand-ticker__logo {
    height: 24px;
  }
}

/* ── 3. Page Breaker Image Section ── */
.page-breaker {
  width: 100%;
  height: 360px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-breaker::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(67,180,124,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(181,120,254,0.12) 0%, transparent 60%);
}
.page-breaker__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 700px;
}
.page-breaker__quote {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 12px;
}
.page-breaker__attr {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .page-breaker {
    height: 280px;
  }
  .page-breaker__quote {
    font-size: 1.35rem;
  }
}

/* ── 4. Minimal Footer ── */
.footer-minimal {
  background: #1a1a1a;
  color: #ccc;
  padding: 48px 0 24px;
}
.footer-minimal .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-minimal__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-minimal__brand {
  flex: 0 0 auto;
}
.footer-minimal__brand svg {
  height: 50px;
  width: auto;
}
.footer-minimal__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-minimal__links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-minimal__links a:hover {
  color: #43B47C;
}
.footer-minimal__social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-minimal__social a {
  color: #aaa;
  transition: color 0.2s;
  display: flex;
}
.footer-minimal__social a:hover {
  color: #43B47C;
}
.footer-minimal__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-minimal__copyright {
  font-size: 0.8rem;
  color: #666;
}
.footer-minimal__back-to-top {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #aaa;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.footer-minimal__back-to-top:hover {
  border-color: #43B47C;
  color: #43B47C;
}

@media (max-width: 768px) {
  .footer-minimal__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-minimal__links {
    justify-content: center;
  }
  .footer-minimal__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ── 5. Why Melbourne Locals Choose Us ── */
.why-choose-us {
  padding: 60px 0;
  background: linear-gradient(180deg, #f0f7f3 0%, #F7F6F3 100%);
}
.why-choose-us .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.why-choose-us__header {
  text-align: center;
  margin-bottom: 40px;
}
.why-choose-us__header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 8px;
}
.why-choose-us__header p {
  font-size: 1.05rem;
  color: #666;
}
.why-choose-us__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-choose-us__card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.why-choose-us__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}
.why-choose-us__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f9f0 0%, #d4f0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.why-choose-us__stat {
  font-size: 1.65rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 4px;
}
.why-choose-us__label {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .why-choose-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .why-choose-us__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .why-choose-us__card {
    padding: 20px 14px;
  }
  .why-choose-us__stat {
    font-size: 1.35rem;
  }
}

/* ── 6. Conversion Optimizations ── */

/* 6a. Hero CTA - More prominent */
.melbourne-landing__hero-quick-cta-btn {
  font-size: 1.1rem !important;
  padding: 14px 28px !important;
  box-shadow: 0 4px 15px rgba(67,180,124,0.35) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.melbourne-landing__hero-quick-cta-btn:hover {
  transform: scale(1.04) !important;
  box-shadow: 0 6px 25px rgba(67,180,124,0.45) !important;
}

/* 6b. Trust signals - more visible */
.melbourne-landing__hero-trust {
  font-weight: 600 !important;
}
.melbourne-landing__hero-trust span {
  position: relative;
}

/* 6c. Phone number styling */
a[href^="tel:"] {
  white-space: nowrap;
}

/* 6d. CTA button consistency */
.melbourne-landing__mid-cta-btn,
.melbourne-landing__final-cta-btn {
  box-shadow: 0 4px 15px rgba(67,180,124,0.3) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.melbourne-landing__mid-cta-btn:hover,
.melbourne-landing__final-cta-btn:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 6px 22px rgba(67,180,124,0.4) !important;
}

/* 6e. Mobile sticky CTA enhancement */
.sticky-cta {
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15) !important;
}
.sticky-cta__button {
  box-shadow: 0 2px 10px rgba(67,180,124,0.3) !important;
}

/* 6g. Urgency text near CTAs */
.cta-urgency {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  color: #888;
  margin-top: 10px;
  letter-spacing: 0.3px;
}
.cta-urgency strong {
  color: #B578FE;
  font-weight: 700;
}

/* 6h. Modal polish */
.modal-form__submit {
  font-size: 1.1rem !important;
  padding: 1rem 2rem !important;
}
.modal-step p {
  font-size: 0.95rem;
}

/* Hide old footer, old success stories, old brands */
/* These are handled by the Python replacement */

/* Ensure testimonial videos are responsive */
.testimonial-card__video-wrap video {
  background: #000;
}
