/* ============================================================
   GSCBOR Website — Main Stylesheet
   Edit variables in :root to retheme the entire site at once.
   ============================================================ */

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #C8102E;
  --dark-red:   #a00d24;
  --black:      #1a1a1a;
  --dark-bg:    #1c1c1c;
  --gray:       #555555;
  --light-gray: #f5f5f5;
  --border:     #e0e0e0;
  --white:      #ffffff;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--black); overflow-x: hidden; }

/* ── SHARED PNG ICON SIZES ── */
.png-icon          { display: block; object-fit: contain; }
.png-icon-sm       { width: 22px;  height: 22px;  }   /* header user icon   */
.png-icon-md       { width: 46px;  height: 46px;  }   /* dark features bar  */
.png-icon-lg       { width: 72px;  height: 72px;  }   /* pillar icons       */
.png-icon-ben      { width: 44px;  height: 44px;  }   /* member benefits    */
.png-icon-stat     { width: 38px;  height: 38px;  }   /* stats icons        */
.png-icon-fi       { width: 14px;  height: 14px;  }   /* footer icons       */
.png-icon-soc      { width: 16px;  height: 16px;  }   /* social icons       */

/* ── HEADER ── */
header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px; gap: 24px;
}

/* Logo */
.logo       { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-img   { height: 80px; width: auto; display: block; }
.logo-icon  {
  width: 62px; height: 62px;
  border: 3px solid var(--red);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.logo-icon-top  { font-size: 7px; font-weight: 700; font-family: var(--font-heading); color: var(--black); text-align: center; line-height: 1.2; letter-spacing: .5px; }
.logo-ir        { font-family: var(--font-heading); font-size: 26px; font-weight: 900; color: var(--red); line-height: 1; }
.logo-realtor   { font-size: 7px; font-weight: 700; font-family: var(--font-heading); color: var(--black); letter-spacing: 1px; }
.logo-text              { display: flex; flex-direction: column; }
.logo-text span:first-child { font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--black); }
.logo-text .logo-commercial { font-family: var(--font-heading); font-size: 17px; font-weight: 800; color: var(--red); line-height: 1; }
.logo-text span:last-child  { font-family: var(--font-heading); font-size: 10px; font-weight: 600; color: var(--black); letter-spacing: .3px; }

/* Navigation */
nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  color: var(--black); text-decoration: none;
  padding: 8px 10px; display: flex; align-items: center; gap: 4px;
  white-space: nowrap; position: relative; transition: color .2s;
}
.nav-link.active   { color: var(--red); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 0; left: 10px; right: 10px;
  height: 2px; background: var(--red);
}
.nav-link:hover    { color: var(--red); }
.nav-link svg      { width: 10px; height: 10px; }

.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); min-width: 180px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  z-index: 100; border-top: 3px solid var(--red);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 10px 16px;
  font-family: var(--font-heading); font-size: 12px; font-weight: 600;
  color: var(--black); text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background .15s, color .15s;
}
.dropdown-menu a:hover { background: var(--red); color: var(--white); }

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

/* Buttons */
.btn-join {
  background: var(--red); color: var(--white);
  font-family: var(--font-heading); font-size: 13px; font-weight: 700;
  padding: 10px 20px; border: none; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background .2s; display: inline-block;
}
.btn-join:hover    { background: var(--dark-red); }

.btn-primary {
  background: var(--red); color: var(--white);
  font-family: var(--font-heading); font-size: 13px; font-weight: 700;
  padding: 12px 24px; border: none; cursor: pointer;
  text-decoration: none; transition: background .2s; display: inline-block;
}
.btn-primary:hover { background: var(--dark-red); }

.btn-outline {
  background: transparent; color: var(--black);
  font-family: var(--font-heading); font-size: 13px; font-weight: 700;
  padding: 12px 24px; border: 2px solid var(--black); cursor: pointer;
  text-decoration: none; transition: all .2s; display: inline-block;
}
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-red {
  background: var(--red); color: var(--white);
  font-family: var(--font-heading); font-size: 12px; font-weight: 700;
  padding: 11px 22px; border: none; cursor: pointer;
  text-decoration: none; transition: background .2s; display: inline-block;
}
.btn-red:hover { background: var(--dark-red); }

.btn-outline-white {
  background: transparent; color: var(--white);
  font-family: var(--font-heading); font-size: 12px; font-weight: 700;
  padding: 11px 22px; border: 2px solid var(--white); cursor: pointer;
  text-decoration: none; transition: all .2s; display: inline-block;
}
.btn-outline-white:hover { background: var(--white); color: var(--black); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 460px; display: flex; align-items: center;
  background-color: #ddd; background-size: cover;
  background-position: center; background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(255,255,255,1) 0%, rgba(255,255,255,.92) 30%,
    rgba(255,255,255,.4) 55%, rgba(255,255,255,0) 75%);
  pointer-events: none;
}
.hero-content  { position: relative; max-width: 1200px; margin: 0 auto; padding: 64px 24px; width: 100%; }
.hero-text     { max-width: 420px; }
.hero-text h1  { font-family: var(--font-heading); font-size: 46px; font-weight: 900; line-height: 1.1; color: var(--black); margin-bottom: 6px; }
.hero-text h1 .red  { color: var(--red); }
.hero-divider  { width: 50px; height: 4px; background: var(--red); margin: 14px 0; }
.hero-text p   { font-size: 14px; line-height: 1.7; color: #444; margin-bottom: 28px; }
.hero-buttons  { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── FEATURES BAR ── */
.features-bar       { background: var(--dark-bg); }
.features-bar-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); }
.feature-item       { display: flex; align-items: flex-start; gap: 16px; padding: 28px 32px; border-right: 1px solid rgba(255,255,255,.1); }
.feature-item:last-child { border-right: none; }
.feature-icon       { flex-shrink: 0; }
.feature-item h3    { font-family: var(--font-heading); font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.feature-item p     { font-size: 12px; color: #aaa; }

/* ── THREE PILLARS ── */
.pillars        { padding: 64px 24px; }
.pillars-inner  { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); }
.pillar         { padding: 40px; text-align: center; border-right: 1px solid var(--border); }
.pillar:last-child  { border-right: none; }
.pillar-icon    { margin-bottom: 20px; display: flex; justify-content: center; }
.pillar h3      { font-family: var(--font-heading); font-size: 15px; font-weight: 800; color: var(--black); margin-bottom: 14px; line-height: 1.3; }
.pillar p       { font-size: 13px; line-height: 1.8; color: var(--gray); }

/* ── MEMBER BENEFITS ── */
.benefits       { background: var(--light-gray); padding: 64px 24px; }
.section-title  { text-align: center; margin-bottom: 40px; }
.section-title h2       { font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: var(--black); text-transform: uppercase; letter-spacing: .5px; }
.section-title .title-line { width: 50px; height: 3px; background: var(--red); margin: 10px auto 0; }
.benefits-grid  { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(6,1fr); }
.benefit-item   { text-align: center; padding: 20px 16px; border-right: 1px solid var(--border); }
.benefit-item:last-child { border-right: none; }
.benefit-icon   { margin-bottom: 12px; display: flex; justify-content: center; }
.benefit-item h4 { font-family: var(--font-heading); font-size: 11px; font-weight: 800; color: var(--black); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; line-height: 1.4; }
.benefit-item p  { font-size: 11px; line-height: 1.6; color: var(--gray); }

/* ── BOTTOM BANNER ── */
.bottom-banner {
  background-color: #1c1c1c; background-size: cover;
  background-position: center; padding: 64px 24px; position: relative;
}
.bottom-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(20,20,20,.88), rgba(20,20,20,.92));
  pointer-events: none;
}
.bottom-banner-inner { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; gap: 48px; align-items: start; }
.banner-left h2      { font-family: var(--font-heading); font-size: 28px; font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.banner-left h2 .red { color: var(--red); }
.banner-left p       { font-size: 13px; line-height: 1.7; color: #ccc; margin-bottom: 24px; }
.banner-left-btns    { display: flex; gap: 12px; flex-wrap: wrap; }

.banner-stats  { display: flex; flex-direction: column; gap: 28px; border-left: 1px solid rgba(255,255,255,.15); border-right: 1px solid rgba(255,255,255,.15); padding: 0 48px; }
.stat-item     { display: flex; align-items: center; gap: 14px; }
.stat-num      { font-family: var(--font-heading); font-size: 28px; font-weight: 900; color: var(--white); line-height: 1; }
.stat-label    { font-size: 12px; color: #aaa; }

.banner-events h3    { font-family: var(--font-heading); font-size: 15px; font-weight: 800; color: var(--white); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
.event-list    { display: flex; flex-direction: column; gap: 16px; }
.event-item    { display: flex; gap: 14px; align-items: flex-start; }
.event-date    { background: var(--red); color: var(--white); text-align: center; min-width: 44px; padding: 5px 8px; flex-shrink: 0; }
.event-date .month { font-family: var(--font-heading); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.event-date .day   { font-family: var(--font-heading); font-size: 20px; font-weight: 900; line-height: 1; }
.event-info h4 { font-family: var(--font-heading); font-size: 12px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.event-info p  { font-size: 11px; color: #aaa; }
.view-all      { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--red); font-family: var(--font-heading); font-size: 12px; font-weight: 700; text-decoration: none; transition: gap .2s; }
.view-all:hover { gap: 10px; }

/* ── FOOTER ── */
footer { background: #111; border-top: 1px solid #2a2a2a; padding: 18px 24px; }
.footer-inner   { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-contact { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-contact-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #bbb; }
.footer-divider { color: #444; }
.footer-social  { display: flex; gap: 12px; }
.social-link {
  width: 32px; height: 32px; border: 1px solid #444;
  display: flex; align-items: center; justify-content: center;
  color: #bbb; text-decoration: none; transition: all .2s;
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
}
.social-link:hover { border-color: var(--red); color: var(--red); }

/* ── HAMBURGER (mobile) ── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--black); transition: all .3s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 12px 0; box-shadow: 0 4px 16px rgba(0,0,0,.1); gap: 0;
  }
  nav.open          { display: flex; }
  .nav-link         { padding: 12px 20px; border-bottom: 1px solid #f0f0f0; }
  .dropdown-menu    { position: static; box-shadow: none; border-top: none; background: #f9f9f9; }
  .hero-text h1     { font-size: 32px; }
  .features-bar-inner { grid-template-columns: 1fr; }
  .feature-item     { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .pillars-inner    { grid-template-columns: 1fr; }
  .pillar           { border-right: none; border-bottom: 1px solid var(--border); }
  .benefits-grid    { grid-template-columns: repeat(3,1fr); }
  .benefit-item     { border-right: none; border-bottom: 1px solid var(--border); }
  .bottom-banner-inner { grid-template-columns: 1fr; }
  .banner-stats     { border: none; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); padding: 24px 0; flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .footer-inner     { flex-direction: column; align-items: flex-start; }
  .footer-contact   { flex-direction: column; gap: 10px; }
  .footer-divider   { display: none; }
}
