@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Raleway:wght@300;400;500;600&display=swap');

:root {
  --navy: #1a2744;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --cream: #f8f4ed;
  --white: #ffffff;
  --gray: #6b7280;
  --dark: #111827;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--cream);
  color: var(--dark);
  font-weight: 400;
  line-height: 1.7;
}

/* ── NAVIGATION ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 39, 68, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-emblem {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201, 168, 76, 0.5);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

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

.nav-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

/* ── DROPDOWN ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(26, 39, 68, 0.98);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 0 0 6px 6px;
  min-width: 160px;
  list-style: none;
  z-index: 1000;
  padding: 0.5rem 0;
}

.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.2rem !important;
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.8rem !important;
  border-radius: 0 !important;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  color: var(--gold) !important;
  background: rgba(201, 168, 76, 0.1) !important;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-social a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.nav-social a:hover { color: var(--gold); }

.nav-social svg { width: 18px; height: 18px; fill: currentColor; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(26,39,68,0.55) 0%, rgba(26,39,68,0.75) 100%),
    url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 2rem;
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 0.4rem 1.2rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--gold);
  font-style: italic;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
}

/* ── GRAPHIC BUTTONS ── */
.graphic-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(26, 39, 68, 0.95);
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid rgba(201, 168, 76, 0.5);
  width: 220px;
  height: 72px;
  box-sizing: border-box;
}

.graphic-btn:hover {
  background: var(--navy);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.graphic-btn-icon {
  height: 44px;
  width: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.graphic-btn:first-child .graphic-btn-icon {
  filter: brightness(0) invert(1);
}

.graphic-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.graphic-btn-top {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
}

.graphic-btn-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
}

/* ── GRAPHIC BUTTONS ── */

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── SECTIONS ── */
section { padding: 5rem 2rem; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 2rem;
}

/* ── MEETING INFO ── */
.meeting-section { background: var(--white); }

.meeting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.meeting-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.meeting-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
}

.meeting-card-icon {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meeting-card-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

.meeting-card-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.meeting-card-text {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
}

.meeting-card-sub {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.15rem;
}

.meeting-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.meeting-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.meeting-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  border-left: 3px solid var(--gold);
}

/* ── ABOUT / FREEMASONRY ── */
.about-section { background: var(--navy); }

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.about-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.about-card:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-4px);
}

.about-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.about-card-icon svg { width: 24px; height: 24px; fill: var(--gold); }

.about-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.about-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ── PHOTO CAROUSEL ── */
.photos-section { background: var(--cream); }

.carousel {
  position: relative;
  margin-top: 2.5rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26,39,68,0.15);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,39,68,0.85));
  padding: 3rem 2rem 1.5rem;
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26,39,68,0.8);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.carousel-btn:hover { background: var(--navy); border-color: var(--gold); }
.carousel-btn svg { width: 20px; height: 20px; fill: currentColor; }
.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26,39,68,0.25);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.carousel-dot.active { background: var(--gold); transform: scale(1.3); }

/* ── OFFICERS ── */
.officers-section { background: var(--white); }

.officers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.officer-card {
  background: var(--cream);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.officer-card:hover {
  border-bottom-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,39,68,0.1);
}

.officer-title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.officer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

/* ── CONTACT ── */
.contact-section { background: var(--navy); }
.contact-section .section-title { color: var(--white); }
.contact-section .section-label { color: var(--gold); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg { width: 18px; height: 18px; fill: var(--gold); }

.contact-item-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.contact-item-text {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

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

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

.form-group label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}

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

/* ── FOOTER ── */
.site-footer {
  background: #0f1829;
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-inner { max-width: 800px; margin: 0 auto; }

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-sub {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin-bottom: 2rem;
  list-style: none;
}

.footer-nav a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
}

.footer-nav a:hover { color: var(--gold); }

.section-inner table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.section-inner table th {
  background: var(--navy);
  color: var(--gold);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-inner table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(26,39,68,0.08);
  color: var(--dark);
}

.section-inner table tr:nth-child(even) td {
  background: var(--cream);
}

.section-inner table tr:hover td {
  background: rgba(201,168,76,0.08);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .meeting-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

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

  .meeting-image { display: none; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: var(--navy); flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; z-index: 999; }
  .nav-menu.open { display: flex; }
  .nav-menu a { font-size: 1rem; }
  .nav-toggle { display: flex; }
  .nav-social { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .carousel-slide img { height: 300px; object-fit: cover; object-position: center; }
}

@media (max-width: 480px) {
  section { padding: 3.5rem 1.25rem; }
  .officers-grid { grid-template-columns: 1fr 1fr; }
}
