/* ============================================================
   LWRB — Landry, Watkins, Repaske & Breaux
   Main Stylesheet
   ============================================================ */

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

:root {
  --green-dark: #004a2f;
  --green-mid:  #006341;
  --gold:       #c9a55a;
  --gold-light: #e0c07a;
  --cream:      #f4f8f5;
  --cream-dark: #e2ede7;
  --text:       #1a2e22;
  --text-muted: #4a6858;
  --white:      #ffffff;
  --nav-bg:     rgba(28, 42, 68, 0.97);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', system-ui, sans-serif;
  --max:   1100px;
  --section-pad: 40px 24px 70px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--cream); overflow-x: hidden; }

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 165, 90, 0.25);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; height: 54px; }
.nav-logo img { height: 54px; width: auto; display: block; mix-blend-mode: lighten; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links li { display: flex; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.72); text-decoration: none; font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 400; transition: color 0.2s;
  line-height: 70px; display: flex; align-items: center;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }

/* ── NAV DROPDOWN ────────────────────────────────────────── */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown > a { display: flex; align-items: center; gap: 6px; cursor: pointer; line-height: 70px; }
.nav-dropdown > a::after {
  content: ''; display: inline-block;
  width: 5px; height: 5px;
  border-right: 1.5px solid rgba(255,255,255,0.72);
  border-bottom: 1.5px solid rgba(255,255,255,0.72);
  transform: rotate(45deg); margin-top: -2px; flex-shrink: 0;
  transition: transform 0.2s;
}
.nav-dropdown:hover > a::after { transform: rotate(-135deg); margin-top: 3px; }
.nav-dropdown:hover > a { color: var(--gold-light); }
.dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 22, 32, 0.98);
  border: 1px solid rgba(201, 165, 90, 0.2);
  width: 200px;
  z-index: 200;
  padding: 4px 0;
  margin-top: -1px;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
/* Keep dropdown open when moving mouse from link into menu */
.nav-dropdown > a { padding-bottom: 4px; margin-bottom: -4px; }
.dropdown-menu a {
  display: block; padding: 7px 20px;
  color: rgba(255,255,255,0.7); font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; transition: color 0.2s, background 0.2s;
  white-space: nowrap; line-height: 1.2;
}
.dropdown-menu a:hover { color: var(--gold-light); background: rgba(201,165,90,0.08); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-block; padding: 14px 36px;
  background: var(--gold); color: var(--green-dark);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  text-decoration: none; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-block; padding: 14px 36px;
  border: 1px solid rgba(201, 165, 90, 0.5); color: var(--gold-light);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400;
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--white); }

/* ── SECTION UTILITIES ───────────────────────────────────── */
section { scroll-margin-top: 70px; }

.section-header { max-width: var(--max); margin: 0 auto 36px; }

.section-label {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }

.section-header h2 {
  font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400; color: var(--green-dark); line-height: 1.2;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; background: var(--green-dark);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden; padding: 120px 60px 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 40%, rgba(201, 165, 90, 0.12) 0%, transparent 60%);
}
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--white); line-height: 1.1; max-width: 700px;
  margin-bottom: 14px; letter-spacing: -0.01em; position: relative;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 0.85rem; letter-spacing: 0.14em; color: rgba(255,255,255,0.45);
  text-transform: uppercase; margin-bottom: 52px; font-weight: 300; position: relative;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; position: relative; }

/* ── STATS BAR ───────────────────────────────────────────── */
.divider-bar {
  background: var(--green-mid); padding: 28px 60px;
  display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); font-weight: 400; line-height: 1; }
.stat-label { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 4px; }
.divider-sep { width: 1px; height: 40px; background: rgba(201, 165, 90, 0.3); }

/* ── PRACTICE AREAS ──────────────────────────────────────── */
.practice { background: var(--cream); padding: var(--section-pad); }
.practice-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2px;
}
.practice-card {
  background: var(--white); padding: 36px 32px;
  transition: transform 0.2s; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.practice-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.practice-card:hover::before { transform: scaleX(1); }
.practice-card:hover { transform: translateY(-2px); }
.practice-num {
  font-family: var(--serif); font-size: 3rem; color: var(--cream-dark);
  font-weight: 400; line-height: 1; margin-bottom: 20px; display: block;
}
.practice-card h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--green-dark); font-weight: 500; margin-bottom: 10px; }
.practice-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 24px; }
.btn-learn-more {
  display: inline-block; padding: 10px 22px;
  border: 1px solid var(--green-dark); color: var(--green-dark);
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  text-decoration: none; transition: background 0.2s, color 0.2s; align-self: flex-start;
}
.btn-learn-more:hover { background: var(--green-dark); color: var(--white); }

/* ── OUR VISION ──────────────────────────────────────────── */
.vision { background: var(--green-dark); padding: var(--section-pad); position: relative; overflow: hidden; }
.vision::before {
  content: '"'; font-family: var(--serif); position: absolute; top: -20px; left: 30px;
  font-size: 22rem; color: rgba(201, 165, 90, 0.06); line-height: 1; pointer-events: none;
}
.vision-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.vision .section-label { color: var(--gold); }
.vision h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; color: var(--white); line-height: 1.25; }
.vision-text p { font-size: 0.9rem; line-height: 1.85; color: rgba(255,255,255,0.65); margin-bottom: 18px; }
.vision-text p:last-child { margin-bottom: 0; }
.vision-text strong { color: rgba(255,255,255,0.9); font-weight: 400; }
.vision-badge {
  margin-top: 36px; border-top: 1px solid rgba(201, 165, 90, 0.2); padding-top: 28px;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold-light); line-height: 1.6;
}

/* ── ATTORNEYS ───────────────────────────────────────────── */
.attorneys { background: var(--cream-dark); padding: var(--section-pad); }
.attorneys .section-header h2 { color: var(--green-dark); }
.attorneys-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.attorney-card { background: var(--white); overflow: hidden; transition: box-shadow 0.25s; }
.attorney-card:hover { box-shadow: 0 12px 40px rgba(0, 74, 47, 0.15); }
.attorney-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; display: block; filter: grayscale(20%); transition: filter 0.3s; }
.attorney-card:hover .attorney-img { filter: grayscale(0%); }
.attorney-info { padding: 24px 24px 28px; }
.attorney-info h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--green-dark); font-weight: 500; margin-bottom: 4px; }
.attorney-role { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 16px; }
.attorney-email { font-size: 0.78rem; color: var(--text-muted); text-decoration: none; display: block; transition: color 0.2s; }
.attorney-email:hover { color: var(--gold); }

/* ── PAGE TITLE (all interior pages) ────────────────────── */
.page-title {
  padding: 110px 60px 36px;
  background: var(--cream);
  border-bottom: 3px solid var(--gold);
  margin-bottom: 0;
}
.page-title h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--green-dark); line-height: 1.1;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ── PRACTICE AREA PAGES ─────────────────────────────────── */
.practice-area-page { padding: 60px 24px 90px; background: var(--cream); }
.practice-area-inner { max-width: 820px; margin: 0 auto; }
.practice-area-inner h2 { font-family: var(--serif); font-size: 1.8rem; color: var(--green-dark); font-weight: 500; margin-bottom: 16px; margin-top: 40px; }
.practice-area-inner h2:first-child { margin-top: 0; }
.practice-area-inner p { font-size: 0.95rem; color: var(--text); line-height: 1.85; margin-bottom: 18px; }
.practice-area-inner ul { margin: 0 0 18px 20px; }
.practice-area-inner ul li { font-size: 0.95rem; color: var(--text); line-height: 1.85; margin-bottom: 6px; }
.practice-cta-box {
  margin-top: 48px; background: var(--green-dark); padding: 40px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.practice-cta-box p { color: rgba(255,255,255,0.8); font-size: 1rem; margin: 0; font-family: var(--serif); font-style: italic; }
.practice-cta-box .btn-primary { white-space: nowrap; }

/* ── CONTACT PAGE ────────────────────────────────────────── */
.page-banner { background: var(--green-dark); padding: 130px 60px 40px; position: relative; overflow: hidden; }
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201, 165, 90, 0.1) 0%, transparent 60%);
}
.page-banner-label {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; position: relative;
}
.page-banner-label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
.page-banner h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5vw, 4rem); color: var(--white); line-height: 1.1; position: relative; }
.page-banner h1 em { font-style: italic; color: var(--gold-light); }

.contact-page { padding: 48px 24px 80px; background: var(--cream); }
.contact-page-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: stretch; }

.contact-info h2 { font-family: var(--serif); font-size: 3rem; color: var(--green-dark); font-weight: 700; margin-bottom: 36px; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-icon { width: 42px; height: 42px; background: var(--green-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 18px; height: 18px; fill: var(--gold); }
.contact-item-label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; font-weight: 500; }
.contact-item-value { font-size: 0.92rem; color: var(--text); line-height: 1.7; }
.contact-item-value a { color: var(--green-dark); text-decoration: none; transition: color 0.2s; }
.contact-item-value a:hover { color: var(--gold); }

.map-box { margin-top: 40px; border: 1px solid var(--cream-dark); overflow: hidden; }
.map-box iframe { width: 100%; height: 220px; border: none; display: block; filter: grayscale(30%); }

.contact-form-wrap { background: var(--green-dark); padding: 48px 44px; display: flex; flex-direction: column; }
.contact-form-wrap h2 { font-family: var(--serif); font-size: 1.8rem; color: var(--white); font-weight: 400; margin-bottom: 8px; }
.contact-form-wrap p { font-size: 0.83rem; color: rgba(255,255,255,0.5); margin-bottom: 32px; line-height: 1.6; }

/* ── FORM ────────────────────────────────────────────────── */
.contact-form { display: grid; gap: 16px; flex: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.grow { flex: 1; }
.form-group.grow textarea { flex: 1; }
.form-group label { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(201, 165, 90, 0.2);
  padding: 12px 16px; color: var(--white); font-family: var(--sans); font-size: 0.88rem;
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: rgba(201, 165, 90, 0.6); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--green-dark); color: var(--white); }
.form-submit {
  background: var(--gold); color: var(--green-dark); border: none;
  padding: 15px 36px; font-family: var(--sans); font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  cursor: pointer; transition: background 0.2s; align-self: start; margin-top: 4px;
}
.form-submit:hover { background: var(--gold-light); }
.form-success { font-size: 0.85rem; color: var(--gold-light); display: none; margin-top: 8px; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--nav-bg);
  border-top: 1px solid rgba(201, 165, 90, 0.2);
  padding: 40px 60px 24px;
}
.footer-nav {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  margin-bottom: 28px; list-style: none;
  border-bottom: 1px solid rgba(201, 165, 90, 0.15); padding-bottom: 28px;
}
.footer-nav a {
  color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.72rem;
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 400; transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.7rem; color: rgba(255,255,255,0.28); }
.footer-back { font-size: 0.68rem; letter-spacing: 0.15em; color: rgba(201, 165, 90, 0.5); text-decoration: none; text-transform: uppercase; transition: color 0.2s; }
.footer-back:hover { color: var(--gold); }

/* ── HAMBURGER MENU ──────────────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; cursor: pointer; padding: 8px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,0.8); transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktop logo shows full, mobile logo hidden by default */
.nav-logo .logo-desktop { display: block; }
.nav-logo .logo-mobile { display: none; }

/* Mobile nav drawer */
.mobile-nav {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: rgba(15, 22, 32, 0.98); z-index: 99;
  flex-direction: column; padding: 12px 0;
  border-bottom: 1px solid rgba(201,165,90,0.2);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.72); text-decoration: none; font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 400;
  padding: 14px 28px; transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold-light); }
.mobile-nav .mobile-practice-label {
  color: rgba(255,255,255,0.72); font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 400;
  padding: 14px 28px 6px; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
}
.mobile-nav .mobile-practice-label span { color: var(--gold); font-size: 0.6rem; }
.mobile-practice-items { display: none; background: rgba(0,0,0,0.2); }
.mobile-practice-items.open { display: block; }
.mobile-practice-items a {
  padding: 10px 28px 10px 42px; font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-logo .logo-desktop { display: none; }
  .nav-logo .logo-mobile { display: block; height: 46px; width: auto; }
  .hero { padding: 100px 28px 60px; }
  .divider-bar { padding: 24px 20px; gap: 28px; }
  .divider-sep { display: none; }
  .practice,
  .vision,
  .attorneys { padding: 60px 24px; }
  .vision-inner { grid-template-columns: 1fr; gap: 40px; }
  .page-banner { padding: 110px 28px 48px; }
  .contact-page { padding: 50px 24px; }
  .contact-page-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
  footer { padding: 32px 24px 20px; }
  .footer-nav { gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
