/* ==========================================================================
   FIVE OAKS OAKVILLE - LUXURY PRE-CONSTRUCTION LANDING PAGE STYLESHEET
   High-Performance, Mobile-First, Blazing Fast (<0.3s load time)
   ========================================================================== */

:root {
  --primary-forest: #071f1c;
  --primary-dark: #041210;
  --primary-teal: #0e3833;
  --primary-teal-light: #16534c;
  --accent-gold: #c5a059;
  --accent-gold-hover: #b08d48;
  --accent-emerald: #10b981;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.12), 0 8px 10px -6px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 35px -5px rgba(0,0,0,0.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --container-max: 1200px;
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   NAVIGATION / STICKY HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(7, 31, 28, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  flex-direction: column;
}

.header-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
}

.header-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-phone:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #041210;
  background: linear-gradient(135deg, #d4af37 0%, #c5a059 100%);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.35);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e5c068 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.45);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(7, 31, 28, 0.88) 0%, rgba(4, 18, 16, 0.95) 100%),
              url('images/hero_aerial.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 80px 0 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.badge-vip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-tagline {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 22px;
  max-width: 620px;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: #f1f5f9;
}

.feature-pill svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-cta {
  padding: 15px 32px;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.btn-hero-phone {
  padding: 14px 24px;
  font-size: 1rem;
}

/* Hero Visual Card */
.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-xl);
}

.hero-card-img {
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.hero-card-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  text-align: center;
}

.card-stat-box {
  background: rgba(7, 31, 28, 0.7);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.card-stat-label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* ==========================================================================
   WHY FIVE OAKS SECTION (6 PILLARS)
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-teal);
  background: rgba(14, 56, 51, 0.1);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--primary-forest);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(14, 56, 51, 0.1);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-forest);
  margin-bottom: 10px;
}

.feature-box-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   COLLECTIONS SECTION (TOWNHOMES & SINGLES)
   ========================================================================== */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.collection-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.collection-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-gold);
}

.collection-img-wrap {
  position: relative;
  overflow: hidden;
  height: 270px;
  background-color: #0b1f1c;
}

.collection-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.collection-card:hover .collection-img-wrap img {
  transform: scale(1.04);
}

.collection-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary-forest);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.collection-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.collection-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary-forest);
  margin-bottom: 8px;
}

.collection-types {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-gold-hover);
  margin-bottom: 16px;
}

.collection-specs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0 24px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.collection-spec-item {
  display: flex;
  flex-direction: column;
}

.spec-item-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.spec-item-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-forest);
  margin-top: 2px;
}

/* ==========================================================================
   CONNECTIVITY & LOCATION
   ========================================================================== */
.connectivity-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.transit-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.transit-card:hover {
  border-color: var(--primary-teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.transit-time {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-teal);
  line-height: 1;
}

.transit-time span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

.transit-destination {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-forest);
  margin-top: 10px;
  line-height: 1.35;
}

/* ==========================================================================
   BUILDER SECTION
   ========================================================================== */
.builder-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 40px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.builder-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.builder-logo-wrap img {
  max-width: 180px;
}

.builder-body h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--primary-forest);
  margin-bottom: 12px;
}

.builder-body p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

/* ==========================================================================
   CONTACT & FORM SECTION
   ========================================================================== */
.contact-section {
  background: linear-gradient(180deg, #071f1c 0%, #041210 100%);
  color: #ffffff;
  padding: 85px 0;
}

.contact-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  max-width: 740px;
  margin: 0 auto;
}

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

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

.form-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(14, 56, 51, 0.12);
}

.realtor-options {
  margin: 16px 0 20px;
  padding: 14px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.realtor-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.radio-group {
  display: flex;
  gap: 20px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #041210;
  background: linear-gradient(135deg, #d4af37 0%, #c5a059 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #e5c068 0%, #d4af37 100%);
}

.form-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.form-privacy-note a {
  color: var(--accent-gold-hover);
  text-decoration: underline;
  font-weight: 600;
}

.form-success-card {
  text-align: center;
  padding: 30px 20px;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #020b0a;
  color: #94a3b8;
  padding: 50px 0 110px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-inner {
  text-align: center;
  max-width: 820px;
}

.footer-links {
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 24px;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

/* ==========================================================================
   FLOATING WHATSAPP (DESKTOP)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   STICKY MOBILE BOTTOM BAR
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background-color: rgba(7, 31, 28, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(197, 160, 89, 0.3);
  padding: 10px 14px;
}

.mobile-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 10px;
}

.mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.mobile-btn-call {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-btn-vip {
  background: linear-gradient(135deg, #d4af37 0%, #c5a059 100%);
  color: #041210;
  box-shadow: 0 2px 10px rgba(197, 160, 89, 0.4);
}

.mobile-btn-wa {
  background-color: #25d366;
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (IPHONE 16 PRO MAX & MOBILE OPTIMIZATIONS)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .connectivity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .builder-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .builder-logo-wrap {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-actions .btn-phone {
    display: none;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .collections-grid {
    grid-template-columns: 1fr;
  }
  .connectivity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-features-list {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .floating-whatsapp {
    display: none;
  }
  .mobile-bottom-bar {
    display: block;
  }
  .contact-card {
    padding: 28px 20px;
  }
  .section {
    padding: 60px 0;
  }
}
