/* ========================================================
   Theme: STATED. Minimalist Landing Page
   1. Full Screen Hero Image (100vh) with Down Arrow
   2. Clean Form Section (Submit to Download Broucher)
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-orange: #f28b00;
  --primary-orange-hover: #d97706;
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-body: #f8fafc;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  font-family: var(--body-font);
  color: var(--text-dark);
  background-color: var(--bg-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ========================================================
   1. FLOATING HEADER (OVER FULL SCREEN IMAGE)
   ======================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.site-brand-logo {
  display: inline-block;
  text-decoration: none;
  background: transparent !important;
}

.site-logo-img {
  max-height: 80px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
  /* Dual drop-shadow provides 100% legibility on both dark night and bright daylight backgrounds without any container box */
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 2px rgba(0, 0, 0, 0.9));
  transition: all 0.3s ease;
}

.site-logo-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 3px rgba(0, 0, 0, 1));
}

.site-brand {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--body-font);
  display: inline-block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.site-brand span {
  color: var(--primary-orange);
}

/* ========================================================
   2. FULL SCREEN HERO CAROUSEL (STABLE HEIGHT - NO KEYBOARD JUMP)
   ======================================================== */
.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh; /* svh remains stable and does NOT resize when mobile keyboard opens */
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-color: #0f172a;
}

.hero-carousel {
  width: 100%;
  height: 100%;
}

.hero-carousel .carousel-inner {
  width: 100%;
  height: 100%;
}

.hero-carousel .carousel-item {
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  background-color: #0f172a;
  transition: transform 0.6s ease-in-out;
}

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

/* Subtle overlay so header, indicators and arrow pop cleanly */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.05) 45%, rgba(15, 23, 42, 0.6) 100%);
  z-index: 5;
  pointer-events: none; /* Allows swiping through overlay */
}

/* Carousel Indicators (Dots) */
.hero-carousel .carousel-indicators {
  bottom: 95px;
  z-index: 15;
  margin-bottom: 0;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators .active {
  background-color: var(--primary-orange);
  width: 26px;
  border-radius: 20px;
}

/* Navigation Arrow Controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 15;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
}

/* High-Visibility Bouncing Down Arrow */
.hero-down-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  color: #ffffff;
  font-size: 1.4rem;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-orange);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.25);
  animation: bounceArrow 1.8s infinite ease-in-out;
  transition: all 0.3s ease;
}

.hero-down-arrow:hover,
.hero-down-arrow:focus {
  background: var(--primary-orange-hover);
  color: #ffffff;
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(242, 139, 0, 0.5), 0 0 0 6px rgba(255, 255, 255, 0.35);
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -14px);
  }
  60% {
    transform: translate(-50%, -7px);
  }
}

/* ========================================================
   3. BROCHURE FORM SECTION + CONTACT INFO SIDEBAR
   ======================================================== */
.form-section {
  padding: 80px 16px 100px;
  background-color: var(--bg-body);
}

.brochure-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 42px 34px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  height: 100%;
}

.brochure-badge {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}

.brochure-title {
  font-family: var(--heading-font);
  color: #0f172a;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.brochure-subtext {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 30px;
}

.stated-form-group {
  margin-bottom: 22px;
}

.stated-form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 7px;
  display: block;
}

.stated-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 16px; /* Prevents auto-zoom in mobile Safari */
  background-color: #fafafa;
  color: #0f172a;
  outline: none;
  transition: all 0.25s ease;
  font-family: inherit;
  display: block;
}

.stated-input:focus {
  border-color: var(--primary-orange);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(242, 139, 0, 0.15);
}

/* WhatsApp Phone Input Group */
.phone-input-group {
  display: flex;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background-color: #fafafa;
  overflow: hidden;
  transition: all 0.25s ease;
}

.phone-input-group:focus-within {
  border-color: var(--primary-orange);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(242, 139, 0, 0.15);
}

.phone-prefix {
  background-color: #f1f5f9;
  color: #334155;
  font-weight: 600;
  padding: 13px 16px;
  font-size: 15px;
  display: flex;
  align-items: center;
  border-right: 1px solid #e2e8f0;
  user-select: none;
  white-space: nowrap;
}

.phone-input-field {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 13px 16px !important;
  border-radius: 0 !important;
  width: 100%;
  font-size: 16px;
  outline: none;
  color: #0f172a;
  font-family: inherit;
}

/* Submit Button */
.btn-submit {
  background: var(--primary-orange);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 15px 25px;
  border-radius: 12px;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 22px rgba(242, 139, 0, 0.28);
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 25px;
}

.btn-submit:hover {
  background: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(242, 139, 0, 0.35);
}

.btn-submit:active {
  transform: translateY(0);
}

/* ========================================================
   SIDEBAR CONTACT INFO CARD (Address, Phone, Email)
   ======================================================== */
.contact-sidebar-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 42px 34px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-block {
  margin-bottom: 34px;
}

.contact-info-block:last-child {
  margin-bottom: 0;
}

.contact-info-block h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 10px;
  font-family: var(--body-font);
}

.contact-info-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.contact-info-block .phone-link {
  color: var(--primary-orange);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s;
}

.contact-info-block .phone-link:hover {
  color: var(--primary-orange-hover);
}

.contact-info-block .email-link {
  color: var(--primary-orange);
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s;
}

.contact-info-block .email-link:hover {
  color: var(--primary-orange-hover);
  text-decoration: underline;
}

/* Form Alert message */
.form-alert {
  display: none;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 22px;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-alert.success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-alert.error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ========================================================
   RESPONSIVE (MOBILE & TABLET)
   ======================================================== */
@media (max-width: 768px) {
  .site-header {
    padding: 16px 0;
  }
  .site-logo-img {
    max-height: 56px;
    max-width: 220px;
  }
  .site-brand {
    font-size: 1.45rem;
    letter-spacing: 1px;
  }
  .hero-carousel .carousel-indicators {
    bottom: 85px;
  }
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 38px;
    height: 38px;
    margin: 0 8px;
  }
  .hero-down-arrow {
    bottom: 24px;
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  .form-section {
    padding: 40px 14px 60px;
  }
  .brochure-card,
  .contact-sidebar-card {
    padding: 26px 18px;
    border-radius: 16px;
  }
  .brochure-title {
    font-size: 1.55rem;
  }
  .brochure-subtext {
    font-size: 0.85rem;
    margin-bottom: 22px;
  }
}

@media (max-width: 420px) {
  .hero-carousel .carousel-indicators {
    bottom: 70px;
  }
  .hero-down-arrow {
    bottom: 15px;
    width: 44px;
    height: 44px;
  }
  .brochure-title {
    font-size: 1.4rem;
  }
}
