/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0f1923;
  --primary-light: #1a2d3d;
  --accent: #c9a96e;
  --accent-light: #dfc08a;
  --accent-dark: #a8893e;
  --text-dark: #2c2c2c;
  --text-muted: #6b7280;
  --text-light: #f5f5f5;
  --bg-light: #f8f7f4;
  --bg-white: #ffffff;
  --border: #e5e1d8;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.14);
  --radius: 8px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }

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

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo img {
  height: 36px;
  width: auto;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  opacity: 0.85;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(201,169,110,0.1);
  opacity: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--text-light);
  transition: all var(--transition);
  display: block;
}

/* ===== HERO SECTION ===== */
.hero {
  margin-top: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 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='%23c9a96e' 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-home {
  padding: 100px 0 80px;
}

.hero h1 {
  color: var(--text-light);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero .subtitle {
  color: var(--accent-light);
  font-size: 1.15rem;
  font-weight: 400;
  opacity: 0.9;
  position: relative;
}

.hero-home h1 {
  font-size: 3rem;
}

.hero-home .hero-tagline {
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  margin: 20px auto 0;
  max-width: 600px;
  position: relative;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: all var(--transition);
  position: relative;
}

.hero-cta:hover {
  background: var(--accent-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,169,110,0.4);
}

/* ===== CONTENT SECTIONS ===== */
.section {
  padding: 60px 0;
}

.section-white {
  background: var(--bg-white);
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--primary);
  color: var(--text-light);
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--primary);
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title.center {
  text-align: center;
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ===== HOME PAGE CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== HOME HERO IMAGE ===== */
.hero-image-wrap {
  position: relative;
  margin: 30px auto 0;
  max-width: 460px;
}

.hero-image-wrap img {
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* ===== CONTENT PROSE ===== */
.prose {
  max-width: 800px;
  line-height: 1.85;
  font-size: 1.05rem;
}

.prose p {
  margin-bottom: 16px;
}

.prose h2 {
  font-size: 1.5rem;
  margin: 36px 0 16px;
  color: var(--primary);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.prose h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--primary-light);
}

.prose ul, .prose ol {
  margin: 12px 0 20px 24px;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.prose strong {
  color: var(--primary);
}

/* ===== STAFF CARDS ===== */
.staff-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.staff-header {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.staff-photo {
  width: 150px;
  min-width: 150px;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.staff-name {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.staff-title {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  font-size: 1.4rem;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,169,110,0.12);
  border-radius: 50%;
  color: var(--accent-dark);
}

.contact-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.contact-value {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-top: 2px;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: none;
}

/* ===== FEES TABLE ===== */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.fee-table th {
  background: var(--primary);
  color: var(--text-light);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
}

.fee-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.fee-table tr:last-child td {
  border-bottom: none;
}

.fee-table tr:hover td {
  background: rgba(201,169,110,0.06);
}

.fee-amount {
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 1.1rem;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.schedule-item:last-child { border-bottom: none; }

.schedule-day {
  font-weight: 700;
  color: var(--primary);
  min-width: 100px;
}

.schedule-time {
  color: var(--text-muted);
}

/* ===== RULES LIST ===== */
.rules-list {
  counter-reset: rules;
}

.rule-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px 28px 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  line-height: 1.75;
}

/* ===== LINKS PAGE ===== */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.link-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.link-card .link-arrow {
  margin-left: auto;
  color: var(--accent);
  font-size: 1.2rem;
  transition: transform var(--transition);
}

.link-card:hover .link-arrow {
  transform: translateX(4px);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.album-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.album-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.album-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.album-info {
  padding: 16px 20px;
}

.album-info h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.album-info .photo-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Album expanded view */
.album-viewer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15,25,35,0.95);
  z-index: 2000;
  overflow-y: auto;
  padding: 80px 24px 40px;
}

.album-viewer.active {
  display: block;
}

.album-viewer-header {
  text-align: center;
  margin-bottom: 30px;
}

.album-viewer-header h2 {
  color: var(--text-light);
  font-size: 1.6rem;
}

.album-viewer-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: 2px solid var(--accent);
  color: var(--accent);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-viewer-close:hover {
  background: var(--accent);
  color: var(--primary);
}

.album-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.album-photos img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}

.album-photos img:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

/* Lightbox for individual photos */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: 2px solid #fff;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 3001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-caption {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  text-align: center;
  max-width: 600px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 24px;
}

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

.footer-brand h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer-brand h3 span { color: var(--accent); }

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-heading {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  padding: 4px 0;
  font-size: 0.95rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== CALLOUT BOX ===== */
.callout {
  background: rgba(201,169,110,0.1);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
}

.callout-title {
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .links-grid {
    grid-template-columns: 1fr;
  }
  .staff-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-home h1 {
    font-size: 2.2rem;
  }
  .section {
    padding: 40px 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  .album-photos {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}
