/* ============================================
   ACP ENERGY CORPORATION — Brand Stylesheet
   Colors: Soot #212322, Burgundy #7f2629, Gold #b3a168
   Secondary: Charcoal #54565a, Silver #b1b1b1, Lt Gold #d5ca9f
   Cream Background: #F5F0EB
   Fonts: Times/Georgia (serif), Montserrat (sans-serif)
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --soot: #212322;
  --burgundy: #7f2629;
  --gold: #b3a168;
  --charcoal: #54565a;
  --silver: #b1b1b1;
  --lt-gold: #d5ca9f;
  --cream: #F5F0EB;
  --white: #ffffff;
  --font-serif: 'Times New Roman', Georgia, 'Playfair Display', serif;
  --font-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--soot);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

.subhead {
  font-family: var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--burgundy);
}

.body-text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
}

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section--dark {
  background: var(--soot);
  color: var(--cream);
}

.section--burgundy {
  background: var(--burgundy);
  color: var(--cream);
}

.section--cream {
  background: var(--cream);
}

.grid {
  display: grid;
  gap: 3rem;
}

.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s;
}

.nav--transparent { background: transparent; }
.nav--solid {
  background: rgba(33, 35, 34, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
}

.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
}

.nav__logo img {
  height: 160px;
  width: auto;
  transition: filter 0.3s, height 0.3s;
}

.nav--solid .nav__logo img {
  height: 130px;
}

.nav__links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav__link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy);
  transition: width 0.3s;
}

.nav__link:hover::after,
.nav__link--active::after { width: 100%; }

.nav__link:hover { color: var(--lt-gold); }

.nav__cta {
  background: var(--burgundy);
  color: var(--cream);
  padding: 0.6rem 1.6rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.nav__cta:hover {
  background: #5e1d1f;
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav__hamburger span {
  width: 28px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 900px) {
  .nav__hamburger { display: flex; }
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--soot);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s ease;
  }
  .nav__links--open { right: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(33,35,34,0.82) 0%, rgba(33,35,34,0.4) 60%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 2rem;
  margin-left: 8%;
}

.hero__tagline {
  font-family: var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.1rem;
  color: rgba(245,240,235,0.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero__btn {
  display: inline-block;
  background: var(--burgundy);
  color: var(--cream);
  padding: 1rem 2.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.hero__btn:hover {
  background: #5e1d1f;
  transform: translateY(-2px);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245,240,235,0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(245,240,235,0.3);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(33,35,34,0.85) 0%, rgba(33,35,34,0.3) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-hero__subtitle {
  font-family: var(--font-sans);
  color: var(--lt-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

/* ---------- Pillars / Value Props ---------- */
.pillar {
  text-align: center;
  padding: 2rem 1.5rem;
}

.pillar__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  color: var(--burgundy);
}

.pillar__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--soot);
}

.pillar__text {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.7;
}

.section--dark .pillar__title { color: var(--cream); }
.section--dark .pillar__text { color: var(--silver); }

/* ---------- Split Content ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.split__image {
  background-size: cover;
  background-position: center;
  min-height: 450px;
}

.split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem;
}

.split__content .subhead { margin-bottom: 0.8rem; }
.split__content h2 { margin-bottom: 1.5rem; }
.split__content p { margin-bottom: 1.5rem; color: var(--charcoal); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__image { min-height: 300px; }
  .split__content { padding: 3rem 2rem; }
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--burgundy);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-band h2 {
  color: var(--cream);
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(245,240,235,0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .hero__btn {
  background: var(--gold);
  color: var(--soot);
}

.cta-band .hero__btn:hover {
  background: var(--lt-gold);
}

/* ---------- Stats ---------- */
.stat {
  text-align: center;
  padding: 2rem;
}

.stat__number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.section--dark .stat__number { color: var(--gold); }

.stat__label {
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--charcoal);
}

.section--dark .stat__label { color: var(--silver); }

/* ---------- Team Cards ---------- */
.team-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--silver);
}

.team-card__info {
  padding: 1.5rem;
}

.team-card__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.team-card__title {
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--burgundy);
  margin-bottom: 0.8rem;
}

.team-card__bio {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.6;
}

/* ---------- Contact Form ---------- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  color: var(--soot);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid var(--silver);
  background: var(--white);
  color: var(--soot);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--burgundy);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-submit {
  background: var(--burgundy);
  color: var(--cream);
  padding: 1rem 3rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit:hover { background: #5e1d1f; }

/* ---------- Footer ---------- */
.footer {
  background: var(--soot);
  color: var(--silver);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand img {
  height: 90px;
  margin-bottom: 1.2rem;
}

.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--lt-gold);
  margin-bottom: 1rem;
}

.footer__heading {
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--cream);
  margin-bottom: 1.2rem;
}

.footer__link {
  display: block;
  font-size: 0.9rem;
  color: var(--silver);
  margin-bottom: 0.6rem;
  transition: color 0.3s;
}

.footer__link:hover { color: var(--gold); }

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer__copyright { color: var(--charcoal); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 1rem; }
}

@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Ticker Strip ---------- */
.ticker-strip {
  background: var(--soot);
  overflow: hidden;
  height: 46px;
  display: flex;
  align-items: center;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-burgundy { color: var(--burgundy); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }
.pt-0 { padding-top: 0; }
