/* ═══════════════════════════════════════════════════════
   MEETING AGENDAS — meeting-agendas.css
   Updated header/hero to match advertisements.css style
   Laguna BelAir 4 HOA
═══════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  --green-900: #062e22;
  --green-800: #0a4d3c;
  --green-700: #0e6650;
  --green-600: #138a6a;
  --green-400: #3dbe92;
  --green-200: #a8e6ce;
  --green-100: #d4f3e7;
  --green-50:  #edfaf4;

  --warm-50:   #faf9f6;
  --warm-100:  #f2f0eb;
  --warm-200:  #e4e0d8;

  --neutral-900: #1a1a1a;
  --neutral-700: #3d3d3d;
  --neutral-500: #6b7280;
  --neutral-400: #9ca3af;
  --neutral-300: #d1d5db;
  --neutral-200: #e9eaec;
  --neutral-100: #f3f4f6;
  --neutral-50:  #f9fafb;

  --red-600:   #c0392b;
  --red-50:    #fef2f2;
  --amber-600: #d97706;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  --shadow-xs: 0 1px 3px rgba(0,0,0,.07);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.09);
  --shadow-md: 0 4px 20px rgba(0,0,0,.11);
  --shadow-lg: 0 12px 40px rgba(10,77,60,.14);

  --radius:    14px;
  --radius-sm: 8px;

  --transition: .2s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--warm-50);
  color: var(--neutral-900);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ═══════════════════════════════════════════════════════
   HEADER / NAV (updated to match advertisements.css)
═══════════════════════════════════════════════════════ */
.top-header-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 18px 0;
  width: auto;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition);
}
.logo-link:hover { opacity: .8; }
.logo-image {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.35));
}

.header-center-wrapper {
  background: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
}

.navbar-two-rows {
  display: flex;
  flex-direction: column;
  min-width: 680px;
}

.navbar-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--neutral-200);
}

.navbar-top-row a {
  color: var(--green-800);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background var(--transition);
}

.navbar-top-row a:hover { background: var(--green-50); }

.nav-sep {
  color: var(--neutral-300);
  font-size: 11px;
}

.navbar-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
}

.nav-link,
.dropdown-toggle {
  color: var(--green-800);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  border: none;
  background: none;
  transition: background var(--transition);
}

.nav-link:hover,
.dropdown:hover > .dropdown-toggle {
  background: var(--green-50);
}

.nav-link.active,
a.active {
  background: var(--green-50);
  color: var(--green-700);
  font-weight: 600;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle i.fa-chevron-down {
  font-size: 8px;
  transition: transform .25s;
}

.dropdown:hover .dropdown-toggle i.fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 210px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--green-800);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .22s ease;
  z-index: 200;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile dropdown toggle via JS */
.dropdown.dropdown-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown.dropdown-open .dropdown-toggle i.fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--neutral-700);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all .18s;
}

.dropdown-menu a:hover {
  background: var(--neutral-50);
  border-left-color: var(--green-800);
  padding-left: 21px;
}

/* ═══════════════════════════════════════════════════════
   HERO SECTION (matching advertisements.css)
═══════════════════════════════════════════════════════ */
.hero-section {
  background-image: url('BG.png');
  background-size: cover;
  background-position: center;
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6,46,34,.82) 0%, rgba(10,77,60,.75) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}

.hero-sub {
  color: rgba(255,255,255,.82);
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 300;
  max-width: 720px;
  letter-spacing: .2px;
}

/* ═══════════════════════════════════════════════════════
   MAIN CONTAINER
═══════════════════════════════════════════════════════ */
.main-container {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 40px 20px 70px;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════
   SECTION TITLE
═══════════════════════════════════════════════════════ */
.section-title {
  color: var(--green-800);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title i { font-size: 22px; }

/* ═══════════════════════════════════════════════════════
   SEARCH AND FILTER SECTION
═══════════════════════════════════════════════════════ */
.search-filter-section {
  margin-bottom: 40px;
}
.search-card {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green-800);
}
.search-card h2 {
  color: var(--green-800);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.search-input-group {
  width: 100%;
}
.search-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search-input:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(10, 77, 60, 0.1);
}
.filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 15px;
  align-items: end;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filter-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-700);
}
.filter-select {
  padding: 12px 15px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 35px;
}
.filter-select:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(10, 77, 60, 0.1);
}
.search-btn {
  background-color: var(--green-800);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.search-btn:hover {
  background-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(10, 77, 60, 0.2);
}

/* ═══════════════════════════════════════════════════════
   UPCOMING MEETING SECTION
═══════════════════════════════════════════════════════ */
.upcoming-meeting-section {
  margin-bottom: 40px;
}
.upcoming-meeting-card {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid #2196F3;
}
.meeting-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-bottom: 25px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.info-item i {
  color: var(--green-800);
  font-size: 24px;
  margin-top: 2px;
}
.info-item > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.info-label {
  font-size: 12px;
  color: var(--neutral-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.info-value {
  font-size: 16px;
  color: var(--neutral-900);
  font-weight: 600;
}
.meeting-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn i { font-size: 14px; }
.btn-primary {
  background-color: var(--green-800);
  color: white;
}
.btn-primary:hover {
  background-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(10, 77, 60, 0.2);
}
.btn-secondary {
  background-color: #fff;
  color: var(--green-800);
  border: 2px solid var(--green-800);
}
.btn-secondary:hover {
  background-color: var(--green-800);
  color: white;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════
   RECENT RECORDS SECTION
═══════════════════════════════════════════════════════ */
.recent-records-section {
  margin-bottom: 40px;
}
.table-container {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.records-table {
  width: 100%;
  border-collapse: collapse;
}
.records-table thead {
  background-color: var(--neutral-50);
}
.records-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: var(--green-800);
  border-bottom: 2px solid var(--neutral-200);
  font-size: 14px;
}
.records-table td {
  padding: 15px;
  border-bottom: 1px solid var(--neutral-200);
  font-size: 14px;
}
.records-table tbody tr:hover {
  background-color: var(--neutral-50);
}
.doc-link {
  color: var(--green-800);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.doc-link:hover {
  color: var(--green-700);
  text-decoration: underline;
}
.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-completed {
  background-color: #d4edda;
  color: #155724;
}

/* ═══════════════════════════════════════════════════════
   GOVERNANCE SECTION
═══════════════════════════════════════════════════════ */
.governance-section {
  margin-bottom: 40px;
}
.governance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.governance-card {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--green-800);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.governance-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--green-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.card-icon i {
  font-size: 28px;
  color: var(--green-800);
}
.governance-card h3 {
  color: var(--green-800);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.governance-card p {
  color: var(--neutral-700);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.card-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════
   ARCHIVE SECTION
═══════════════════════════════════════════════════════ */
.archive-section {
  margin-bottom: 40px;
}
.archive-card {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.archive-year {
  color: var(--green-800);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--neutral-200);
}
.archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.archive-list li {
  margin-bottom: 15px;
}
.archive-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background-color: var(--neutral-50);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--neutral-900);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}
.archive-link:hover {
  background-color: var(--neutral-100);
  border-left-color: var(--green-800);
}
.archive-link i.fa-folder {
  color: var(--green-800);
  font-size: 18px;
  margin-right: 12px;
}
.archive-link span:first-of-type {
  flex: 1;
  font-weight: 500;
}
.archive-action {
  color: var(--green-800);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ═══════════════════════════════════════════════════════
   FOOTER NOTE
═══════════════════════════════════════════════════════ */
.footer-note {
  background-color: var(--amber-50);
  border-left: 4px solid var(--amber-600);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--neutral-700);
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-note i {
  font-size: 20px;
  flex-shrink: 0;
  color: var(--amber-600);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer {
  background: var(--green-800);
  color: #fff;
  padding: 50px 20px 20px;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,.25);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
  font-size: .88rem;
  line-height: 1.6;
}

.footer-links li i {
  margin-right: 7px;
  color: rgba(255,255,255,.7);
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color .2s, padding-left .2s;
  display: inline-block;
}

.footer-links a:hover {
  color: #b8e6d5;
  padding-left: 4px;
}

.footer-logo-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.footer-logo-link {
  display: block;
  transition: opacity .25s;
}

.footer-logo-link:hover {
  opacity: .8;
}

.footer-logo {
  width: 100px;
  height: auto;
}

.footer-bottom {
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: .87rem;
  color: rgba(255,255,255,.7);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1060px) {
  .top-header-container {
    flex-direction: column;
    padding: 14px 16px;
  }
  .header-center-wrapper {
    width: 100%;
  }
  .navbar-two-rows {
    min-width: auto;
    width: 100%;
  }
  .navbar-top-row {
    justify-content: center;
  }
  .navbar-bottom-row {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .footer-logo-section {
    grid-column: 1/-1;
    justify-content: center;
  }
  .filter-row {
    grid-template-columns: 1fr;
  }
  .governance-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 280px;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-sub {
    font-size: 14px;
    max-width: 90%;
  }
  .main-container {
    padding: 28px 16px 50px;
  }
  .nav-sep {
    display: none;
  }
  .navbar-top-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  .navbar-bottom-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-section h3 {
    text-align: center;
  }
  .footer-links {
    text-align: center;
  }
  .footer-logo-section {
    justify-content: center;
  }
  .search-card,
  .table-container,
  .upcoming-meeting-card,
  .governance-card,
  .archive-card {
    padding: 20px;
  }
  .section-title {
    font-size: 20px;
  }
  .meeting-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .meeting-actions {
    flex-direction: column;
  }
  .meeting-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .records-table thead {
    display: none;
  }
  .records-table tbody tr {
    display: block;
    margin-bottom: 20px;
    background-color: var(--neutral-50);
    border-radius: var(--radius-sm);
    padding: 15px;
  }
  .records-table td {
    display: block;
    text-align: right;
    border: none;
    padding: 8px 0;
  }
  .records-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: 600;
    color: var(--green-800);
  }
  .card-actions {
    flex-direction: column;
  }
  .card-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .logo-image {
    width: 100px;
  }
  .navbar-top-row a {
    padding: 3px 6px;
    font-size: 11px;
  }
  .navbar-bottom-row .nav-link,
  .navbar-bottom-row .dropdown-toggle {
    font-size: 11px;
    padding: 5px 7px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-sub {
    font-size: 12px;
  }
  .section-title {
    font-size: 18px;
  }
  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}