/* Business Leaders Association - Standalone styles */
:root {
  --color-bg: #f1efe9;
  --color-text: #14242d;
  --color-header-bg: rgba(75, 65, 43, 0.95);
  --color-footer-bg: #2c2c2c;
  --color-white: #fff;
  --color-accent: #4b412b;
  --font-sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Libre Baskerville", "Georgia", serif;
  --font-display: "Playfair Display", Georgia, serif;
  --container: min(100% - 2rem, 980px);
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 4px;
}
.skip-link:focus {
  top: 0.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-header-bg);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.1rem;
}

.logo-text {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.hamburger {
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

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

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
}

.nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--color-white);
  text-decoration: none;
  font-size: 1rem;
  border-radius: 4px;
}
.nav a:hover,
.nav a:focus-visible {
  background: rgba(255,255,255,0.1);
}
.nav a[aria-current="page"] {
  font-weight: 600;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-header-bg);
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transform: translateY(-100%);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.2s, opacity 0.2s, visibility 0.2s;
  }
  .nav.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }
  .nav ul { flex-direction: column; }
  .nav a { padding: 0.75rem 1rem; }
}

/* Main */
.main {
  min-height: 60vh;
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  max-width: 640px;
}

.hero-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.hero-line {
  width: 60px;
  margin: 1rem auto;
  border: 0;
  border-top: 2px solid rgba(255,255,255,0.8);
}

.hero-tagline {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  color: var(--color-white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: rgba(255,255,255,0.95);
  color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-white);
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--color-text);
}

.section-lead {
  margin: 0 auto 1.5rem;
  max-width: 640px;
  font-size: 1.125rem;
  line-height: 1.4;
  text-align: center;
}

.section-lead a {
  color: var(--color-accent);
  text-decoration: underline;
}

.about-image {
  text-align: center;
  margin-top: 2rem;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Events */
.section-events {
  background: rgba(0,0,0,0.03);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-items: center;
  margin-top: 1.5rem;
}

.event-card {
  text-align: center;
  max-width: 280px;
}

.event-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.event-title {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

/* Footer */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-white);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-heading {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 360px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input[type="email"] {
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
}
.form-group input[type="email"]::placeholder {
  color: rgba(255,255,255,0.6);
}
.form-group input[type="email"]:focus {
  outline: 2px solid rgba(255,255,255,0.5);
  outline-offset: 2px;
}

.form-group-checkbox .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400;
}

.form-group-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.btn-submit {
  align-self: flex-start;
  background: var(--color-white);
  color: var(--color-footer-bg);
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
}
.btn-submit:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.footer-contact p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.footer-contact a {
  color: var(--color-white);
  text-decoration: none;
}
.footer-contact a:hover {
  text-decoration: underline;
}

.social-links {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: block;
  color: var(--color-white);
}
.social-links a:hover {
  opacity: 0.85;
}

.social-links img {
  display: block;
  width: 41px;
  height: 41px;
}

.footer-copy {
  text-align: center;
  font-size: 0.875rem;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
}
