/* ============================================
   TBG ASSOCIATES - Shared Styles
   ============================================ */

:root {
  --navy-dark: #1a3a5c;
  --navy: #2c4a6e;
  --blue-active: #2a8ec9;
  --blue-light: #5ba3d0;
  --text-dark: #2c2c2c;
  --text-body: #555555;
  --text-muted: #999999;
  --bg-white: #ffffff;
  --bg-gray: #f0f0f0;
  --bg-gray-light: #f7f7f7;
  --border-dark: #2c2c2c;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.hero-title, .hero-title-centered, .hero-eyebrow,
.section-heading, .contact-heading, .feature-title,
.principal-name, .main-nav a {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
}

a { color: inherit; text-decoration: none; }

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

/* ============================================
   HEADER (floating, rounded)
   ============================================ */
.site-header {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 200px);
  max-width: 1320px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  z-index: 100;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 50px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

.main-nav a {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue-active);
}

/* ============================================
   HOME HERO (turbine background)
   ============================================ */
.hero-home {
  position: relative;
  min-height: 650px;
  background: #1a1a1a url('images/hero-home.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
}

.hero-home .container {
  position: relative;
  z-index: 2;
}

.hero-line {
  width: 220px;
  height: 2px;
  background: white;
  margin-bottom: 40px;
}

.hero-eyebrow {
  font-size: 32px;
  color: white;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(48px, 7vw, 88px);
  color: white;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
}

/* ============================================
   CONTACT HERO (cityscape)
   ============================================ */
.hero-contact {
  position: relative;
  min-height: 520px;
  background: #2a2a2a url('images/hero-contact.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 80px;
  text-align: center;
}

.hero-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

.hero-contact .hero-title-centered {
  position: relative;
  z-index: 2;
  font-size: clamp(56px, 9vw, 110px);
  color: white;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================
   ABOUT SECTION (Let's Get Connected)
   ============================================ */
.about-section {
  padding: 100px 0 80px;
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.about-image img {
  width: 100%;
  max-width: 420px;
  margin: 20px auto 0;
}

.section-heading {
  font-size: 38px;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.about-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 28px;
}

/* ============================================
   FEATURES (3-column cards)
   ============================================ */
.features-section {
  padding: 80px 0 100px;
  background: var(--bg-gray);
}

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

.feature-card {
  background: white;
  padding: 60px 30px 50px;
  text-align: center;
  border-bottom: 4px solid var(--border-dark);
  position: relative;
}

.feature-icon {
  font-size: 36px;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.feature-title {
  font-size: 22px;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

/* ============================================
   CONTACT BLOCK (Feel free to give us a call)
   ============================================ */
.contact-section {
  padding: 100px 0;
  background: var(--bg-gray);
}

.contact-heading {
  font-size: 42px;
  color: var(--text-dark);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.contact-divider {
  width: 140px;
  height: 1px;
  background: #cccccc;
  margin-bottom: 50px;
}

.principal {
  margin-bottom: 36px;
  max-width: 500px;
}

.principal-role {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 8px;
}

.principal-name {
  font-size: 24px;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 14px;
}

.principal-detail {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.principal-detail a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.principal-detail a:hover {
  color: var(--blue-active);
}

/* ============================================
   HOLIDAY LETTER (Contact page)
   ============================================ */
.letter-section {
  padding: 100px 0;
  background: white;
}

.letter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.letter-image img {
  width: 100%;
  max-width: 600px;
}

.letter-content {
  position: relative;
  padding-left: 60px;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  color: var(--text-body);
  font-size: 17px;
  line-height: 1.75;
}

.letter-quote {
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 80px;
  color: var(--text-dark);
  font-family: Georgia, serif;
  line-height: 1;
  font-style: normal;
}

.letter-content p {
  margin-bottom: 22px;
}

.letter-signature {
  margin-top: 36px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.6);
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .site-header { width: calc(100% - 60px); }
  .header-inner { padding: 14px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { max-width: 320px; }
  .letter-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 768px) {
  .site-header { top: 20px; width: calc(100% - 30px); }
  .header-inner { padding: 12px 18px; flex-wrap: wrap; gap: 10px; }
  .logo-img { height: 40px; }
  .main-nav ul { gap: 24px; }
  .main-nav a { font-size: 13px; }

  .hero-home { min-height: 480px; padding: 120px 0 60px; }
  .hero-line { width: 140px; margin-bottom: 28px; }
  .hero-eyebrow { font-size: 24px; }

  .hero-contact { min-height: 380px; padding: 120px 0 60px; }

  .container { padding: 0 24px; }

  .about-section { padding: 60px 0; }
  .section-heading { font-size: 30px; }

  .features-section { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; gap: 30px; }
  .feature-card { padding: 40px 24px 36px; }

  .contact-section { padding: 60px 0; }
  .contact-heading { font-size: 32px; }

  .letter-section { padding: 60px 0; }
  .letter-content { padding-left: 50px; font-size: 16px; }
  .letter-quote { font-size: 60px; }
}
