/*
Theme Name:   Villas on Church
Theme URI:    https://netwavemarketing.com
Description:  Divi Child Theme — The Villas on Church luxury townhome coming-soon landing page.
Author:       Netwave Solutions
Author URI:   https://netwavemarketing.com
Template:     Divi
Version:      1.0.0
Tags:         real-estate, luxury, divi-child, responsive, coming-soon
Text Domain:  villas-on-church
*/

/* =============================================================
   VILLAS ON CHURCH — DIVI CHILD THEME
   Style: Light & Airy | Accents: Black & Gold
   Fonts: Cormorant Garamond (headings) + Montserrat (body)
   ============================================================= */

:root {
  -voc-cream:      #FAF8F4;
  -voc-white:      #FFFFFF;
  -voc-stone:      #EDE8E0;
  -voc-taupe:      #B0A898;
  -voc-black:      #0D0D0D;
  -voc-gold:       #C9A84C;
  -voc-gold-light: #E2C97E;
  -font-heading:   'Cormorant Garamond', Georgia, serif;
  -font-body:      'Montserrat', 'Open Sans', sans-serif;
}

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

body {
  font-family:  var(--font-body);
  font-size:    15px;
  font-weight:  300;
  line-height:  1.85;
  color:        var(--voc-text);
  background:   var(--voc-cream);
}

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

a { color: var(--voc-black); transition: color 0.3s ease; }
a:hover { color: var(--voc-gold); text-decoration: none; }

/* Typography */
h1, h2, h3, h4, h5, h6,
.et_pb_text h1, .et_pb_text h2,
.et_pb_text h3, .et_pb_text h4 {
  font-family:  var(--font-heading);
  font-weight:  300;
  line-height:  1.15;
  color:        var(--voc-black);
  margin-top:   0;
  margin-bottom: 0.6em;
}
h1, .et_pb_text h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2, .et_pb_text h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3, .et_pb_text h3 { font-size: 1.5rem; }
h4, .et_pb_text h4 {
  font-family:    var(--font-body);
  font-size:      0.85rem;
  font-weight:    600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color:          var(--voc-gold);
}
p { margin: 0 0 1.2em; color: var(--voc-text); }

/* Divi Header */
#main-header,
.et_header_style_centered #main-header {
  background-color: rgba(250,248,244,0.96);
  backdrop-filter:  blur(8px);
  border-bottom:    1px solid rgba(176,168,152,0.25);
  box-shadow:       none;
}
#et-top-navigation nav > ul > li > a {
  font-family:    var(--font-body);
  font-size:      0.72rem;
  font-weight:    500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color:          var(--voc-text);
}
#et-top-navigation nav > ul > li > a:hover,
#et-top-navigation nav > ul > li.current-menu-item > a { color: var(--voc-gold); }

/* ── HERO ── */
.voc-hero {
  position:            relative;
  height:              100vh;
  min-height:          640px;
  display:             flex;
  align-items:         center;
  justify-content:     center;
  text-align:          center;
  overflow:            hidden;
  background-color:    var(--voc-stone);
  background-size:     cover;
  background-position: center center;
  background-repeat:   no-repeat;
}
.voc-hero::before {
  content:    '';
  position:   absolute;
  inset:      0;
  background: linear-gradient(to bottom, rgba(250,248,244,0.20) 0%, rgba(250,248,244,0.60) 100%);
  z-index:    1;
}
.voc-hero__inner {
  position: relative;
  z-index:  2;
  max-width: 780px;
  padding:   0 24px;
}
.voc-hero__eyebrow {
  font-family:    var(--font-body);
  font-size:      0.7rem;
  font-weight:    500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color:          var(--voc-gold);
  margin-bottom:  20px;
}
.voc-hero__title {
  font-family: var(--font-heading);
  font-size:   clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 1.0;
  color:       var(--voc-black);
  margin-bottom: 0;
}
.voc-hero__rule {
  width: 60px; height: 1px;
  background: var(--voc-gold);
  margin: 28px auto;
}
.voc-hero__tagline {
  font-family:   var(--font-heading);
  font-style:    italic;
  font-size:     clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight:   300;
  color:         var(--voc-text);
  margin-bottom: 32px;
}
.voc-hero__coming-soon {
  font-family:    var(--font-heading);
  font-style:     italic;
  font-size:      clamp(1rem, 2vw, 1.25rem);
  font-weight:    300;
  color:          var(--voc-gold);
  letter-spacing: 1px;
  margin-bottom:  36px;
}

/* Buttons */
.voc-btn {
  display:         inline-block;
  padding:         14px 40px;
  font-family:     var(--font-body);
  font-size:       0.68rem;
  font-weight:     600;
  letter-spacing:  4px;
  text-transform:  uppercase;
  text-decoration: none;
  border:          1px solid var(--voc-black);
  color:           var(--voc-black);
  background:      transparent;
  transition:      all 0.35s ease;
  cursor:          pointer;
}
.voc-btn:hover { background: var(--voc-black); color: var(--voc-cream); }

/* Section commons */
.voc-section-label {
  font-family:    var(--font-body);
  font-size:      0.875rem;
  font-weight:    600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color:          var(--voc-gold);
  margin-bottom:  14px;
}
.voc-section-title {
  font-family:   var(--font-heading);
  font-size:     clamp(2.2rem, 4vw, 3.2rem);
  font-weight:   300;
  color:         var(--voc-black);
  line-height:   1.15;
  margin-bottom: 20px;
}
.voc-section-title em { font-style: italic; color: var(--voc-text); }
.voc-gold-rule { width: 50px; height: 1px; background: var(--voc-gold); margin-bottom: 32px; }

/* Sections */
.voc-about   { background-color: var(--voc-white); }
.voc-gallery { background-color: var(--voc-cream); }
.voc-team    { background-color: var(--voc-stone); }
.voc-contact { background-color: var(--voc-white); }

/* Gallery grid */
.voc-gallery-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   16px;
  margin-top:            50px;
}
.voc-gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: opacity 0.4s; }
.voc-gallery-grid img:hover { opacity: 0.85; }

/* Builder cards */
.voc-builder-card { background: var(--voc-white); padding: 48px 40px; }
.voc-builder-card h3 { font-family: var(--font-heading); font-size: 1.65rem; font-weight: 400; color: var(--voc-black); margin-bottom: 4px; }
.voc-builder-role { font-size: 0.68rem; letter-spacing: 3px; text-transform: uppercase; color: var(--voc-gold); margin-bottom: 24px; font-weight: 600; }
.voc-card-rule { width: 36px; height: 1px; background: var(--voc-gold-light); margin-bottom: 24px; }

/* Realtor card */
.voc-realtor-card { display: flex; align-items: flex-start; gap: 28px; padding: 40px; background: var(--voc-cream); border-top: 2px solid var(--voc-gold); }
.voc-realtor-info h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 400; color: var(--voc-black); margin-bottom: 2px; }
.voc-realtor-company { font-size: 0.68rem; letter-spacing: 3px; text-transform: uppercase; color: var(--voc-gold); margin-bottom: 10px; font-weight: 600; }
.voc-realtor-location { font-size: 0.875rem; color: var(--voc-text); margin-bottom: 14px; }
.voc-contact-detail { font-size: 0.875rem; color: var(--voc-black); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.voc-contact-detail a { color: var(--voc-black); }
.voc-contact-detail a:hover { color: var(--voc-gold); }
.voc-contact-icon { color: var(--voc-gold); min-width: 16px; }

/* Register / CTA */
.voc-register { background-color: var(--voc-black); text-align: center; }
.voc-register .voc-section-label { color: var(--voc-gold-light); }
.voc-register .voc-section-title { color: var(--voc-cream); }
.voc-register .voc-section-title em { color: var(--voc-gold-light); }
.voc-register p { color: rgba(250,248,244,0.65); max-width: 520px; margin: 0 auto 36px; }
.voc-register-form { display: flex; max-width: 460px; margin: 0 auto; }
.voc-register-form input[type="email"] {
  flex: 1; padding: 15px 18px;
  border: 1px solid rgba(176,168,152,0.35);
  background: rgba(255,255,255,0.05);
  color: var(--voc-cream);
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 300;
  outline: none; border-radius: 0; transition: border-color 0.3s;
}
.voc-register-form input[type="email"]::placeholder { color: rgba(250,248,244,0.35); }
.voc-register-form input[type="email"]:focus { border-color: var(--voc-gold); }
.voc-register-form button {
  padding: 15px 24px; background: var(--voc-gold); border: 1px solid var(--voc-gold);
  color: var(--voc-white); font-family: var(--font-body); font-size: 0.68rem;
  font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  cursor: pointer; border-radius: 0; transition: background 0.3s;
}
.voc-register-form button:hover { background: var(--voc-gold-light); border-color: var(--voc-gold-light); }

/* Footer */
#main-footer { background-color: #111110; color: rgba(250,248,244,0.55); }
#main-footer a { color: rgba(250,248,244,0.55); transition: color 0.25s; }
#main-footer a:hover { color: var(--voc-gold); }
.voc-footer-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--voc-cream); }
.voc-footer-sub { font-size: 0.6rem; letter-spacing: 4px; text-transform: uppercase; color: var(--voc-taupe); margin-top: 4px; }
.voc-footer-credit { font-size: 0.72rem; color: var(--voc-taupe); margin: 4px 0 0; }

/* Utility classes */
.bg-cream   { background-color: var(--voc-cream)  !important; }
.bg-white   { background-color: var(--voc-white)  !important; }
.bg-stone   { background-color: var(--voc-stone)  !important; }
.bg-black   { background-color: var(--voc-black)  !important; }
.text-gold  { color: var(--voc-gold)  !important; }
.text-cream { color: var(--voc-cream) !important; }
.no-pad     { padding: 0 !important; }

/* =============================================================
   DIVI BUILDER OVERRIDES — v2.1
   ============================================================= */

/* ── Sticky Navigation ── */
#voc-nav.et_pb_section {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
}

/* ── Realtor card column — gold top border ── */
.voc-realtor-col.et_pb_column {
  border-top: 2px solid var(--voc-gold) !important;
}

/* ── Blurb modules in realtor column ── */
.voc-realtor-col .et_pb_blurb_container {
  display: flex;
  flex-direction: column-reverse; /* label (body) above value (title) */
  gap: 2px;
}
.voc-realtor-col .et_pb_blurb_description {
  font-family: var(--font-body) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: var(--voc-gold) !important;
  margin: 0 !important;
}
.voc-realtor-col .et_pb_module_header a,
.voc-realtor-col .et_pb_blurb_title a {
  color: var(--voc-black) !important;
  text-decoration: none !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
}
.voc-realtor-col .et_pb_module_header a:hover,
.voc-realtor-col .et_pb_blurb_title a:hover {
  color: var(--voc-gold) !important;
}

/* ── Divi button overrides — match brand style ── */
.et_pb_button,
.et_pb_button_module_wrapper .et_pb_button {
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  letter-spacing: 4px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease !important;
}
.et_pb_button:hover {
  background-color: var(--voc-black) !important;
  color: var(--voc-cream) !important;
}

/* ── Divi signup form — dark bg styling ── */
#register .et_pb_newsletter_form input[type="email"],
#register .et_pb_newsletter_form input[type="text"] {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(176,168,152,0.3) !important;
  color: var(--voc-cream) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
}
#register .et_pb_newsletter_form input:focus {
  border-color: var(--voc-gold) !important;
  outline: none !important;
}
#register .et_pb_newsletter_button {
  border-radius: 0 !important;
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .voc-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .voc-realtor-card { flex-direction: column; }
  #voc-nav.et_pb_section { position: fixed; }
}
@media (max-width: 767px) {
  .voc-hero { min-height: 100svh; }
  .voc-gallery-grid { grid-template-columns: 1fr; }
  .voc-builder-card { padding: 36px 24px; }
  .voc-register-form { flex-direction: column; }
  #voc-nav .et_pb_code nav { gap: 20px; flex-wrap: wrap; justify-content: center; }
}
