/* ============================================
   The Bank Bar — Stylesheet
   Palette: Emerald Green + Cream + Charcoal
   Fonts: Playfair Display + Inter
   ============================================ */

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

:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --cream-50: #fafaf5;
  --cream-100: #f5f5e9;
  --cream-200: #e8e8d4;
  --gold-500: #d4a017;
  --gold-600: #b8860b;
  --charcoal-900: #1a1a1a;
  --charcoal-800: #2d2d2d;
  --charcoal-700: #3d3d3d;
  --charcoal-600: #555555;
  --charcoal-400: #999999;
  --white: #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--charcoal-800);
  background: var(--cream-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(6, 78, 59, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo-mark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--gold-500);
  border: 1.5px solid var(--gold-500);
  padding: 4px 7px;
  border-radius: var(--radius-sm);
  line-height: 1;
}

.logo-text {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.01em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-500);
  transition: width var(--transition);
}

.nav-menu a:hover {
  color: var(--white);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-small {
  padding: 10px 22px;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

.btn-dark {
  background: var(--emerald-900);
  color: var(--white);
  border-color: var(--emerald-900);
}

.btn-dark:hover {
  background: var(--emerald-800);
  border-color: var(--emerald-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.3);
}

.btn-light {
  background: var(--white);
  color: var(--emerald-900);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--cream-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--emerald-900);
  border-color: var(--white);
}

/* ============================================
   Section Shared
   ============================================ */
.section {
  padding: 100px 0;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--charcoal-900);
  line-height: 1.2;
  margin-bottom: 20px;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 78, 59, 0.82) 0%,
    rgba(6, 78, 59, 0.65) 50%,
    rgba(26, 26, 26, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-top: 80px;
}

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

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold-500);
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ============================================
   About
   ============================================ */
.about {
  background: var(--cream-50);
}

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

.about-images {
  position: relative;
  height: 600px;
}

.about-img-main {
  width: 75%;
  height: 80%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  border: 4px solid var(--cream-50);
}

.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-accent-box {
  position: absolute;
  top: -20px;
  right: 30%;
  background: var(--emerald-900);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 12px 32px rgba(6, 78, 59, 0.3);
  z-index: 2;
}

.about-accent-box .accent-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
}

.about-accent-box .accent-label {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-align: center;
  opacity: 0.85;
  line-height: 1.4;
}

.about-text p {
  color: var(--charcoal-600);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-200);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--emerald-800);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--charcoal-400);
  letter-spacing: 0.02em;
}

/* ============================================
   Offerings
   ============================================ */
.offerings {
  background: var(--emerald-900);
  color: var(--white);
}

.offerings .section-eyebrow {
  color: var(--gold-500);
}

.offerings .section-title {
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

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

.offering-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
}

.offering-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.offering-icon {
  width: 56px;
  height: 56px;
  color: var(--gold-500);
  margin-bottom: 24px;
}

.offering-icon svg {
  width: 100%;
  height: 100%;
}

.offering-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.offering-card-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 24px;
}

.offering-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offering-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.offering-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  border-radius: 50%;
}

/* ============================================
   Space / Gallery
   ============================================ */
.space {
  background: var(--cream-100);
}

.space-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.space-header .section-title {
  margin-bottom: 16px;
}

.space-desc {
  font-size: 1.05rem;
  color: var(--charcoal-600);
  line-height: 1.75;
}

.space-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item--tall {
  grid-row: 1 / 3;
  min-height: 500px;
}

.gallery-item--tall img {
  min-height: 100%;
}

.gallery-item--wide {
  grid-column: 1 / 3;
}

.gallery-item--wide img {
  min-height: 200px;
}

/* ============================================
   Visit
   ============================================ */
.visit {
  background: var(--cream-50);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.visit-detail {
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--cream-200);
}

.visit-detail:first-child {
  padding-top: 0;
}

.visit-detail-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--emerald-700);
}

.visit-detail-icon svg {
  width: 100%;
  height: 100%;
}

.visit-detail strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-400);
  margin-bottom: 6px;
}

.visit-detail p {
  font-size: 0.95rem;
  color: var(--charcoal-800);
  line-height: 1.6;
}

.visit-detail a {
  color: var(--emerald-700);
  transition: color var(--transition);
}

.visit-detail a:hover {
  color: var(--emerald-900);
  text-decoration: underline;
}

.visit-form-wrap {
  position: sticky;
  top: 100px;
}

.visit-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--cream-200);
}

.visit-form-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal-900);
  margin-bottom: 8px;
}

.visit-form-card > p {
  font-size: 0.9rem;
  color: var(--charcoal-600);
  margin-bottom: 28px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal-600);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--charcoal-800);
  background: var(--cream-50);
  border: 1.5px solid var(--cream-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-700);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--charcoal-400);
  margin-top: 12px;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 32px 16px;
}

.success-icon {
  width: 56px;
  height: 56px;
  color: var(--emerald-600);
  margin: 0 auto 16px;
}

.success-icon svg {
  width: 100%;
  height: 100%;
}

.form-success h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal-900);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 0.9rem;
  color: var(--charcoal-600);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--charcoal-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

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

.footer-links strong {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .about-grid {
    gap: 48px;
  }

  .offerings-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offerings-grid .offering-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* Mobile nav */
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    background: rgba(6, 78, 59, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    font-size: 1.25rem;
    letter-spacing: 0.05em;
  }

  .nav-menu .btn-small {
    margin-top: 8px;
  }

  /* Hero */
  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding-top: 60px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-images {
    height: 400px;
    order: -1;
  }

  .about-accent-box {
    top: -16px;
    right: 20px;
  }

  .about-stats {
    gap: 24px;
  }

  /* Offerings */
  .offerings-grid {
    grid-template-columns: 1fr;
  }

  .offerings-grid .offering-card:last-child {
    max-width: none;
  }

  /* Space */
  .space-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item--tall {
    grid-row: auto;
    min-height: 300px;
  }

  .gallery-item--wide {
    grid-column: auto;
  }

  .gallery-item img,
  .gallery-item--tall img {
    min-height: 250px;
  }

  /* Visit */
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .visit-form-wrap {
    position: static;
  }

  .visit-form-card {
    padding: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  .about-images {
    height: 300px;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

  .visit-form-card {
    padding: 20px;
  }
}
