/* ============================================
   BARPLAS LEBANON — style.css
   ============================================ */

/* TOKENS */
:root {
  --navy:   #1A2B3C;
  --green:  #2E7D4F;
  --stone:  #F5F2ED;
  --gold:   #C8A84B;
  --white:  #FFFFFF;
  --grey:   #6B7280;
  --dark:   #0F1A24;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;

  --max-width: 1200px;
  --section-pad: 96px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--navy); background: var(--white); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* CONTAINER */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 68px;
  background: rgba(15, 26, 36, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--white);
}

.nav-tagline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-cta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--green);
  padding: 8px 20px;
  border-radius: 3px;
  transition: background 0.2s;
}

.nav-cta:hover { background: #256840; }

/* Hamburger toggle — hidden on desktop, shown below 900px */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  flex: none;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 96px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 20, 30, 0.58) 0%,
    rgba(10, 20, 30, 0.28) 55%,
    rgba(10, 20, 30, 0.06) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-left: 80px;
  max-width: 640px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.0;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 40px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border-radius: 3px;
  transition: background 0.2s;
}
.btn-primary:hover { background: #256840; }

.btn-secondary {
  display: inline-block;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: #256840; border-color: #256840; }

.btn-outline {
  display: inline-block;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 12px 28px;
  border-radius: 3px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ============================================
   INTRO STRIP
   ============================================ */
.intro-strip {
  background: var(--navy);
  padding: 48px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.intro-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.intro-stat:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ============================================
   SECTIONS
   ============================================ */
.section-light {
  background: var(--stone);
  padding: var(--section-pad) 0;
}

.section-dark {
  background: var(--dark);
  padding: var(--section-pad) 0;
}

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

.two-col-reverse { direction: rtl; }
.two-col-reverse > * { direction: ltr; }

.col-image {
  height: 460px;
  border-radius: 4px;
  overflow: hidden;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.eyebrow-green { color: var(--gold); }
.eyebrow-light { color: var(--gold); }

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.headline-light { color: var(--white); }

.body-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #4A5568;
  margin-bottom: 32px;
}

.body-light { color: rgba(255,255,255,0.72); }

/* ============================================
   FULL BLEED
   ============================================ */
.full-bleed {
  position: relative;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.full-bleed-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 30, 0.72);
}

.full-bleed-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.subline-light {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}

/* ============================================
   HERITAGE
   ============================================ */
.heritage-block {
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

.heritage-text {
  max-width: 640px;
  margin: 0 auto 32px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--green);
  padding: 80px 0;
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 { color: var(--white); margin-bottom: 12px; }
.cta-inner .subline-light { margin-bottom: 36px; color: rgba(255,255,255,0.85); }
.cta-section .btn-primary {
  background: var(--white);
  color: var(--green);
}
.cta-section .btn-primary:hover { background: var(--stone); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-contact {
  padding-top: 4px;
}

.footer-contact p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}

.footer-contact a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 32px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding: 160px 0 80px;
  background: var(--navy);
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col-reverse { direction: ltr; }
  .col-image { height: 300px; }
  .intro-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-content { padding-left: 32px; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(15, 26, 36, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { list-style: none; }
  .nav-links a {
    display: block;
    padding: 14px 40px;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .intro-grid { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 20px; }
  :root { --section-pad: 64px; }
}
