/* style.css (global) */

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

/* ==========================================================================
   1. Variables & Global Container
   ========================================================================== */
body {
  font-family: 'Poppins', sans‑serif;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

:root {
  --primary:        #003f63;
  --primary-hover:  #004A6E;
  --accent:         #003f63;
  --light-bg:       #f4f4f4;
  --white:          #fff;
  --max-width:      1200px;
  --gutter:         1rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ==========================================================================
   2. Top Banner & Navigation
   ========================================================================== */
.logo-header .established {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;          /* slightly bolder */
  letter-spacing: 0.05em;    /* gives breathing room */
  color: #555;               /* a tad darker for contrast */
  text-transform: uppercase; /* crisp uniform look */
}
.top-banner {
  background-color: var(--primary);
  color: var(--white);
  position: relative;        /* for absolute mobile children */
  padding: 1.25rem 0;        /* vertical only */
}

.top-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);  /* left/right gutters */
  margin: 0 auto;            /* re‑center the nav container */
}

.menu-toggle {
  display: none;             /* hide on desktop */
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

.top-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--gutter);
}

.top-menu li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
}

.top-menu li a:hover {
  background-color: rgba(255,255,255,0.2);
}

.top-phone {
  font-weight: 600;
}

/* ==========================================================================
   3. Logo Header & Background
   ========================================================================== */
/* Container for your pitch (e.g. in your hero) */
.hero-pitch {
  font-family: 'Poppins', sans-serif;
  margin: 0;      /* no auto‑centering */
  flex: 1;        /* take remaining space */
  text-align: left;
}

.hero-pitch p {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
}

/* Headline styling */
.hero-pitch h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.25rem;      /* ~36px */
  line-height: 1.2;
  letter-spacing: -0.02em; /* tighten slightly */
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* Subhead / body styling */
.hero-pitch p {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 1.125rem;     /* ~18px */
  line-height: 1.6;        /* airy for legibility */
  letter-spacing: 0.01em;
  color: #333;
  margin-bottom: 1rem;
}

.logo-header {
  display: flex;
  align-items: center;
}

.logo-header .established {
  display: inline-block;    /* make this participate in vertical-align */
  vertical-align: text-bottom; /* or “baseline”, “bottom”, or a length */
  margin-left: .50rem;
  font-size: 0.75rem;
  color: #666;
  line-height: 1;
}

.logo-header .container {
  display: flex;
  align-items: center;
  padding: 1.25rem var(--gutter);
  margin: 0 auto;            /* ensure centering here too */
}

.logo-header .logo {
  flex: 0 0 auto;
  margin-right: var(--gutter);
}

.logo-header .logo img {
  display: block;
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

.logo-header .elevator-pitch {
  flex: 1;
  margin: 0;
  color: #000;
  font-size: 1rem;
  line-height: 1.4;
  margin-left: var(--gutter);
}
.site-footer {
  text-align: center;
  padding: 1rem 0;
  background: var(--light-bg);
}
.site-footer p {
  margin: 0;
  font-size: 0.875rem;
  color: #666;
}

/* ==========================================================================
   4. Mobile Styles
   ========================================================================== */
@media (max-width: 768px) {
  .top-banner .container {
    flex-direction: column;
    align-items: center;
  }

  .menu-toggle {
    display: block;
    margin-right: auto;
  }

  .top-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin: 0.5rem 0;
    gap: 1rem;
  }

  .top-menu.open {
    display: flex !important;
  }

  .top-phone {
    margin: 1rem 0 0;
  }

  .logo-header .container {
    flex-direction: column;
    text-align: center;
  }

  .logo-header .logo img {
    max-height: 120px;
    width: auto;
  }

  .elevator-pitch {
    margin: 1rem 0 0;
  }
}


