/*
Theme Name: Gay Men's Club CDMX
Theme URI: https://gaymensclubcdmx.com/
Author: Gay Men's Club
Description: A custom landing-page-first WordPress theme for Gay Men's Club: CDMX, built around a navy, gold, ivory, and warm social-club visual identity.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gmc-cdmx
Tags: custom-logo, custom-menu, featured-images, one-column, two-columns, editor-style
*/

:root {
  --gmc-navy: #07111B;
  --gmc-black-navy: #050809;
  --gmc-gold: #C8A86A;
  --gmc-champagne: #E1C48C;
  --gmc-ivory: #F8F3EA;
  --gmc-sandstone: #B19679;
  --gmc-cognac: #90684A;
  --gmc-sage: #4F5B3E;
  --gmc-olive: #657456;
  --gmc-silver: #CAD6DE;
  --gmc-muted: rgba(248, 243, 234, 0.72);
  --gmc-muted-dark: rgba(7, 17, 27, 0.72);
  --gmc-border: rgba(200, 168, 106, 0.28);
  --gmc-shadow: 0 24px 80px rgba(0,0,0,.26);
  --gmc-radius: 26px;
  --gmc-radius-sm: 16px;
  --gmc-serif: "Playfair Display", Georgia, serif;
  --gmc-sans: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--gmc-sans);
  background: var(--gmc-black-navy);
  color: var(--gmc-ivory);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gmc-champagne); }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.gmc-container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.gmc-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 9, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gmc-border);
}

.gmc-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gmc-brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: .02em;
}

.gmc-brand-main {
  font-family: var(--gmc-serif);
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  color: var(--gmc-ivory);
  font-weight: 700;
}

.gmc-brand-chapter {
  color: var(--gmc-gold);
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  margin-top: 6px;
}

.custom-logo-link img {
  max-height: 52px;
  width: auto;
}

.gmc-nav-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
}

.gmc-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gmc-border);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--gmc-ivory);
  font-size: 1.25rem;
  cursor: pointer;
}

.gmc-primary-menu,
.gmc-primary-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gmc-primary-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gmc-primary-menu a {
  color: rgba(248, 243, 234, .82);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
}

.gmc-primary-menu a:hover,
.gmc-primary-menu .current-menu-item > a {
  color: var(--gmc-champagne);
}

.gmc-header-cta,
.gmc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .11em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer;
}

.gmc-header-cta,
.gmc-button-primary {
  background: var(--gmc-gold);
  color: var(--gmc-navy);
  border: 1px solid var(--gmc-gold);
}

.gmc-button-secondary {
  color: var(--gmc-ivory);
  border: 1px solid var(--gmc-gold);
  background: rgba(255,255,255,.03);
}

.gmc-button:hover,
.gmc-header-cta:hover {
  transform: translateY(-2px);
  color: var(--gmc-navy);
  background: var(--gmc-champagne);
  border-color: var(--gmc-champagne);
}

.gmc-button-secondary:hover {
  color: var(--gmc-navy);
}

.gmc-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5,8,9,.94) 0%, rgba(7,17,27,.88) 48%, rgba(7,17,27,.42) 100%),
    radial-gradient(circle at 72% 22%, rgba(200,168,106,.28), transparent 38%),
    url('assets/images/hero-apartment.jpg');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--gmc-border);
}

.gmc-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(248,243,234,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(248,243,234,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .28;
  pointer-events: none;
}

.gmc-hero-content {
  position: relative;
  width: min(760px, 100%);
  padding: 120px 0;
}

.gmc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gmc-champagne);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.gmc-kicker:before,
.gmc-kicker:after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gmc-gold);
}

.gmc-hero-title,
.gmc-page-title,
.gmc-section-title {
  font-family: var(--gmc-serif);
  line-height: .98;
  margin: 0;
  color: var(--gmc-ivory);
  letter-spacing: -.035em;
}

.gmc-hero-title {
  font-size: clamp(4rem, 9vw, 8.8rem);
  max-width: 950px;
}

.gmc-gold { color: var(--gmc-gold); }

.gmc-hero-deck {
  margin: 26px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  max-width: 690px;
  color: rgba(248,243,234,.86);
}

.gmc-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.gmc-event-strip {
  margin-top: 38px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--gmc-border);
  background: rgba(5,8,9,.62);
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
  color: var(--gmc-ivory);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
}

.gmc-event-strip span:not(:last-child)::after {
  content: "•";
  color: var(--gmc-gold);
  margin-left: 14px;
}

.gmc-section {
  padding: 96px 0;
}

.gmc-section-soft {
  background: var(--gmc-ivory);
  color: var(--gmc-navy);
}

.gmc-section-deep {
  background: linear-gradient(180deg, var(--gmc-black-navy), var(--gmc-navy));
}

.gmc-section-header {
  width: min(760px, 100%);
  margin-bottom: 44px;
}

.gmc-eyebrow {
  display: block;
  color: var(--gmc-gold);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 12px;
}

.gmc-section-title {
  font-size: clamp(2.6rem, 5vw, 5.3rem);
}

/* Light sections need dark headings; the global title color is ivory for dark sections. */
.gmc-section-soft .gmc-section-title {
  color: var(--gmc-navy);
}

.gmc-section-text,
.entry-content p {
  color: rgba(248,243,234,.78);
  font-size: 1.02rem;
}

.gmc-section-soft .gmc-section-text,
.gmc-section-soft .entry-content p {
  color: rgba(7,17,27,.74);
}

.gmc-grid {
  display: grid;
  gap: 24px;
}

.gmc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gmc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gmc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.gmc-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--gmc-radius);
  border: 1px solid var(--gmc-border);
  background: rgba(248,243,234,.045);
  box-shadow: 0 10px 34px rgba(0,0,0,.12);
}

.gmc-section-soft .gmc-card {
  background: #fff;
  border-color: rgba(7,17,27,.08);
  color: var(--gmc-navy);
}

.gmc-card:after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,168,106,.22), transparent 64%);
  pointer-events: none;
}

.gmc-card-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--gmc-border);
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gmc-gold);
  font-size: 1.35rem;
  margin-bottom: 22px;
  background: rgba(5,8,9,.24);
}

.gmc-section-soft .gmc-card-icon { background: var(--gmc-navy); }

.gmc-card h3 {
  font-family: var(--gmc-serif);
  font-size: 2rem;
  margin: 0 0 12px;
  line-height: 1.08;
}

.gmc-card p { margin: 0; color: rgba(248,243,234,.72); }
.gmc-section-soft .gmc-card p { color: rgba(7,17,27,.68); }

.gmc-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}

.gmc-panel {
  border-radius: calc(var(--gmc-radius) + 8px);
  border: 1px solid var(--gmc-border);
  background: linear-gradient(135deg, rgba(248,243,234,.08), rgba(248,243,234,.02));
  box-shadow: var(--gmc-shadow);
  padding: 38px;
}

.gmc-photo-card {
  min-height: 500px;
  border-radius: calc(var(--gmc-radius) + 14px);
  background:
    linear-gradient(180deg, rgba(5,8,9,.04), rgba(5,8,9,.84)),
    url('assets/images/social-table.jpg');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--gmc-border);
  box-shadow: var(--gmc-shadow);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

.gmc-photo-note {
  border-radius: 20px;
  background: rgba(5,8,9,.74);
  border: 1px solid var(--gmc-border);
  padding: 22px;
  color: var(--gmc-ivory);
}

.gmc-photo-note strong {
  font-family: var(--gmc-serif);
  display: block;
  font-size: 1.7rem;
  line-height: 1.08;
  margin-bottom: 6px;
}

.gmc-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.gmc-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: rgba(248,243,234,.78);
}

.gmc-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gmc-gold);
  font-size: 1.4rem;
  line-height: 1;
}

.gmc-section-soft .gmc-list li { color: rgba(7,17,27,.74); }

.gmc-callout {
  border-radius: calc(var(--gmc-radius) + 8px);
  background:
    linear-gradient(135deg, rgba(7,17,27,.96), rgba(5,8,9,.96)),
    radial-gradient(circle at 88% 30%, rgba(200,168,106,.24), transparent 34%);
  border: 1px solid var(--gmc-border);
  padding: clamp(34px, 6vw, 68px);
  box-shadow: var(--gmc-shadow);
  color: var(--gmc-ivory);
}

.gmc-callout h2 {
  font-family: var(--gmc-serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: .98;
  margin: 0 0 18px;
  color: var(--gmc-ivory);
}

.gmc-callout p {
  color: rgba(248,243,234,.78);
  max-width: 760px;
  font-size: 1.06rem;
}

.gmc-page-hero {
  padding: 92px 0 68px;
  background:
    radial-gradient(circle at 78% 20%, rgba(200,168,106,.22), transparent 30%),
    linear-gradient(180deg, var(--gmc-navy), var(--gmc-black-navy));
  border-bottom: 1px solid var(--gmc-border);
}

.gmc-page-title { font-size: clamp(3rem, 7vw, 6.6rem); }

.gmc-content-wrap {
  padding: 74px 0 98px;
}

.gmc-entry {
  max-width: 840px;
  margin: 0 auto;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--gmc-serif);
  color: var(--gmc-ivory);
  line-height: 1.1;
}
.entry-content h2 { font-size: 2.6rem; }
.entry-content h3 { font-size: 2rem; }
.entry-content a { color: var(--gmc-champagne); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.entry-content ul, .entry-content ol { color: rgba(248,243,234,.78); }

.gmc-post-card {
  display: block;
  padding: 26px;
  border: 1px solid var(--gmc-border);
  border-radius: var(--gmc-radius);
  background: rgba(248,243,234,.045);
}

.gmc-post-card h2 {
  font-family: var(--gmc-serif);
  line-height: 1.1;
  margin: 0 0 10px;
  font-size: 2rem;
}

.gmc-post-meta {
  color: var(--gmc-gold);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  margin-bottom: 12px;
}

.gmc-site-footer {
  background: var(--gmc-black-navy);
  border-top: 1px solid var(--gmc-border);
  padding: 64px 0 34px;
}

.gmc-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 36px;
  align-items: start;
}

.gmc-footer-title {
  font-family: var(--gmc-serif);
  font-size: 2.15rem;
  margin: 0 0 10px;
}

.gmc-footer-heading {
  color: var(--gmc-gold);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.gmc-footer-menu,
.gmc-social-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gmc-footer-menu li,
.gmc-social-menu li { margin-bottom: 8px; }
.gmc-footer-menu a,
.gmc-social-menu a { color: rgba(248,243,234,.74); }
.gmc-footer-menu a:hover,
.gmc-social-menu a:hover { color: var(--gmc-champagne); }

.gmc-footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--gmc-border);
  color: rgba(248,243,234,.52);
  font-size: .86rem;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .gmc-menu-toggle { display: inline-flex; }
  .gmc-nav-wrap { position: relative; }
  .gmc-primary-menu {
    position: absolute;
    top: calc(100% + 18px);
    right: 0;
    width: min(320px, calc(100vw - 40px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--gmc-border);
    border-radius: 18px;
    background: rgba(5,8,9,.96);
    box-shadow: var(--gmc-shadow);
  }
  .gmc-primary-menu.is-open { display: flex; }
  .gmc-primary-menu li { border-bottom: 1px solid rgba(200,168,106,.16); }
  .gmc-primary-menu li:last-child { border-bottom: 0; }
  .gmc-primary-menu a { display: block; padding: 13px 10px; }
  .gmc-header-cta { display: none; }
  .gmc-grid-3, .gmc-grid-4, .gmc-grid-2, .gmc-split, .gmc-footer-grid { grid-template-columns: 1fr; }
  .gmc-hero { min-height: auto; }
  .gmc-hero-title { font-size: clamp(3.3rem, 15vw, 6rem); }
  .gmc-section { padding: 72px 0; }
  .gmc-photo-card { min-height: 380px; }
}

@media (max-width: 560px) {
  .gmc-container { width: min(100% - 28px, 1160px); }
  .gmc-header-inner { min-height: 70px; }
  .gmc-brand-main { font-size: 1.55rem; }
  .gmc-hero-content { padding: 82px 0; }
  .gmc-event-strip { border-radius: 18px; }
  .gmc-event-strip span { width: 100%; }
  .gmc-event-strip span:not(:last-child)::after { content: ""; margin: 0; }
  .gmc-card, .gmc-panel, .gmc-callout { padding: 26px; }
  .gmc-footer-bottom { display: block; }
}
