/* ==========================================================================
   Angkor University - Modern Clubs & Centers Stylesheet
   Version: 1.0
   Responsive, Glassmorphic, Modern Cards, Polished Typography & Lightbox
   ========================================================================== */

:root {
  --au-club-primary: #002b49;
  --au-club-accent: #f7a600;
  --au-club-blue: #1e3a8a;
  --au-club-sky: #0284c7;
  --au-club-success: #10b981;
  --au-club-dark: #0f172a;
  --au-club-slate: #334155;
  --au-club-muted: #64748b;
  --au-club-light: #f8fafc;
  --au-club-border: rgba(148, 163, 184, 0.2);
  --au-club-card-shadow: 0 10px 30px -5px rgba(0, 43, 73, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  --au-club-hover-shadow: 0 20px 35px -8px rgba(0, 43, 73, 0.16), 0 8px 16px -4px rgba(0, 0, 0, 0.06);
  --au-club-font: 'Kantumruy Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: var(--au-club-font);
}

/* ==========================================================================
   Club Hero Section
   ========================================================================== */
.au-club-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 120px 0 80px;
  color: #ffffff;
  overflow: hidden;
}

.au-club-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 41, 77, 0.94) 0%, rgba(15, 23, 42, 0.88) 100%);
  z-index: 1;
}

.au-club-hero .container {
  position: relative;
  z-index: 2;
}

.au-club-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  color: #f7a600;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.au-club-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .au-club-hero {
    padding: 95px 0 60px;
  }
  .au-club-hero-title {
    font-size: 1.85rem;
  }
}

.au-club-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 780px;
  margin-bottom: 25px;
  line-height: 1.65;
}

.au-club-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 0;
  list-style: none;
}

.au-club-breadcrumb li {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.au-club-breadcrumb li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.au-club-breadcrumb li a:hover {
  color: #f7a600;
}

.au-club-breadcrumb li.active {
  color: #f7a600;
  font-weight: 600;
}

.au-club-breadcrumb li+li::before {
  content: "/";
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Club Stats / Highlights Ribbon
   ========================================================================== */
.au-club-stats-ribbon {
  margin-top: -38px;
  position: relative;
  z-index: 10;
  margin-bottom: 40px;
}

.au-club-stats-box {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 30px -8px rgba(0, 43, 73, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 24px 20px;
}

.au-club-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 15px;
  border-right: 1px solid rgba(148, 163, 184, 0.2);
}

.au-club-stat-item:last-child {
  border-right: none;
}

.au-club-stat-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 43, 73, 0.08) 0%, rgba(247, 166, 0, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--au-club-primary);
  font-size: 22px;
}

.au-club-stat-number {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--au-club-dark);
  line-height: 1.1;
  margin-bottom: 3px;
}

.au-club-stat-label {
  font-size: 13px;
  color: var(--au-club-muted);
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .au-club-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding: 12px 6px;
  }
  .au-club-stat-item:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   Section Title & Badge Styling
   ========================================================================== */
.au-club-section-header {
  margin-bottom: 36px;
}

.au-club-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 43, 73, 0.08);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--au-club-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.au-club-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--au-club-dark);
  line-height: 1.3;
  margin-bottom: 10px;
}

.au-club-section-desc {
  font-size: 15px;
  color: var(--au-club-muted);
  max-width: 700px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .au-club-section-title {
    font-size: 1.55rem;
  }
}

/* ==========================================================================
   Modern Content & Feature Cards
   ========================================================================== */
.au-club-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--au-club-border);
  box-shadow: var(--au-club-card-shadow);
  padding: 30px 26px;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.au-club-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--au-club-hover-shadow);
  border-color: rgba(0, 43, 73, 0.3);
}

.au-club-card-top-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #002b49, #f7a600);
}

.au-club-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, #002b49 0%, #1e3a8a 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px -4px rgba(0, 43, 73, 0.35);
  transition: transform 0.3s ease;
}

.au-club-card:hover .au-club-icon-circle {
  transform: scale(1.1) rotate(4deg);
}

.au-club-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--au-club-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.au-club-card-text {
  font-size: 14.5px;
  color: var(--au-club-slate);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Featured Cover / Image Card */
.au-club-image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--au-club-card-shadow);
  border: 1px solid var(--au-club-border);
}

.au-club-image-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.au-club-image-card:hover img {
  transform: scale(1.03);
}

.au-club-image-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-radius: 12px;
  color: #ffffff;
  font-size: 13.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Bullet list with icons */
.au-club-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.au-club-checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 14.5px;
  color: var(--au-club-slate);
  line-height: 1.55;
}

.au-club-checklist li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: #10b981;
  font-size: 18px;
}

/* ==========================================================================
   Modern Photo Gallery & Lightbox
   ========================================================================== */
.au-club-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 992px) {
  .au-club-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .au-club-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .au-club-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.au-club-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.au-club-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.au-club-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 43, 73, 0.85) 0%, rgba(0, 43, 73, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.au-club-gallery-item:hover img {
  transform: scale(1.08);
}

.au-club-gallery-item:hover .au-club-gallery-overlay {
  opacity: 1;
}

.au-club-gallery-caption {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.au-club-gallery-zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--au-club-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Lightbox Modal */
.au-club-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  padding: 20px;
}

.au-club-lightbox.open {
  display: flex;
  animation: auFadeIn 0.25s ease-out;
}

@keyframes auFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.au-club-lb-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.au-club-lb-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.au-club-lb-caption {
  margin-top: 14px;
  color: #f1f5f9;
  font-size: 15px;
  text-align: center;
  font-weight: 500;
}

.au-club-lb-close,
.au-club-lb-prev,
.au-club-lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.au-club-lb-close:hover,
.au-club-lb-prev:hover,
.au-club-lb-next:hover {
  background: rgba(247, 166, 0, 0.9);
  color: #002b49;
  border-color: #f7a600;
}

.au-club-lb-close {
  top: -50px;
  right: 0;
}

.au-club-lb-prev {
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.au-club-lb-next {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .au-club-lb-prev {
    left: 10px;
  }
  .au-club-lb-next {
    right: 10px;
  }
  .au-club-lb-close {
    top: -45px;
    right: 10px;
  }
}

/* ==========================================================================
   Club CTA Section
   ========================================================================== */
.au-club-cta {
  background: linear-gradient(135deg, #002b49 0%, #0d47a1 100%);
  border-radius: 20px;
  padding: 50px 40px;
  color: #ffffff;
  box-shadow: 0 15px 40px -10px rgba(0, 43, 73, 0.3);
  position: relative;
  overflow: hidden;
}

.au-club-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(247, 166, 0, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.au-club-cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.au-club-cta-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  line-height: 1.6;
}

.au-club-btn-primary {
  background: linear-gradient(135deg, #f7a600 0%, #e69500 100%);
  color: #002b49;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(247, 166, 0, 0.35);
  transition: all 0.3s ease;
}

.au-club-btn-primary:hover {
  background: linear-gradient(135deg, #ffb41f 0%, #f7a600 100%);
  color: #002b49;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(247, 166, 0, 0.45);
}

.au-club-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.au-club-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-color: #ffffff;
}

@media (max-width: 768px) {
  .au-club-cta {
    padding: 35px 24px;
    text-align: center;
  }
  .au-club-cta-title {
    font-size: 1.5rem;
  }
  .au-club-cta .d-flex {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .au-club-btn-primary,
  .au-club-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
