/* Chique Club - public site. Mobile first: base rules are for phones, @media (min-width) adds the larger layouts. */
:root {
  --cc-black: #000000;       /* pure black = the background of the club logo */
  --cc-black-2: #000000;
  --cc-gold: #c9a14a;
  --cc-gold-light: #e2c585;
  --cc-gold-dark: #8a6a1c;      /* gold that is readable as TEXT on white / cream */
  --cc-cream: #f5f0e6;
  --cc-border: #e4d9bf;
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--cc-cream);
  color: #2b2b2b;
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: rgba(201, 161, 74, .25);
}
h1, h2, h3, h4, h5, .cc-brand, .cc-brand-footer {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}
a, button, .btn { touch-action: manipulation; }
.text-muted { color: #5b636a !important; }                 /* readable on the cream background */
.cc-i { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex: none; }
.cc-narrow { max-width: 640px; }
.cc-narrow-form { max-width: 720px; }
.cc-rules { max-width: 860px; }
.cc-link { text-decoration: underline; color: var(--cc-gold-dark); }

/* ---------- headings ---------- */
.cc-heading { font-weight: 700; color: var(--cc-black); position: relative; font-size: clamp(1.6rem, 6vw, 2.25rem); }
.cc-heading::after { content: ""; display: block; width: 60px; height: 3px; background: var(--cc-gold); margin-top: 10px; }
.text-center .cc-heading::after, h1.cc-heading::after { margin-left: auto; margin-right: auto; }
.cc-subheading { font-size: 1.35rem; font-weight: 500; }

/* ---------- navbar ---------- */
.cc-navbar { background-color: var(--cc-black); border-bottom: 1px solid #2a2a2a; padding-top: max(.35rem, env(safe-area-inset-top)); }
.cc-brand { font-weight: 700; letter-spacing: 2px; color: var(--cc-cream) !important; }
.cc-brand span, .cc-brand-footer span { color: var(--cc-gold); }
.cc-logo-img { max-height: 42px; width: auto; }
.cc-logo-img-footer { max-height: 36px; width: auto; }
.cc-navbar .navbar-toggler { border-color: #3a3a3a; padding: .5rem .7rem; min-width: 44px; min-height: 44px; }
.cc-navbar .navbar-nav .nav-link { color: #d8d8d8; }
.cc-navbar .navbar-nav .nav-link:hover, .cc-navbar .navbar-nav .nav-link.active { color: var(--cc-gold); }
/* PT | EN stays visible next to the menu button (no need to open the menu to switch language) */
.cc-lang { display: flex; align-items: center; order: 1; margin-left: auto; margin-right: .6rem; }
.cc-lang a { color: #d8d8d8; text-decoration: none; font-size: .9rem; font-weight: 600; letter-spacing: 1px; padding: .7rem .45rem; min-width: 40px; text-align: center; }
.cc-lang a:hover, .cc-lang a.active { color: var(--cc-gold); }
.cc-lang a.active { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.cc-lang-sep { color: #555; }
.cc-navbar .navbar-toggler { order: 2; }
.cc-navbar .navbar-collapse { order: 3; }
@media (max-width: 991.98px) {
  .cc-navbar .navbar-nav { padding: .25rem 0 .75rem; }
  .cc-navbar .navbar-nav .nav-link { padding: .9rem .25rem; min-height: 48px; display: flex; align-items: center; font-size: 1.05rem; border-top: 1px solid #222; }
}
@media (min-width: 992px) {
  .cc-navbar .navbar-collapse { order: 2; }
  .cc-lang { order: 3; margin-left: 1rem; margin-right: 0; }
  .cc-navbar .navbar-nav .nav-link { margin-left: .6rem; }
}

/* ---------- hero ---------- */
.cc-hero {
  min-height: 62vh; min-height: 62svh; padding: 3rem 0;
  background: #000;        /* solid pure black, so the logo (pure black + gold) blends in with no visible box */
  border-bottom: 1px solid rgba(201,161,74,.25);
}
.cc-hero-title { font-size: clamp(2rem, 9vw, 3rem); font-weight: 700; line-height: 1.15; }
.cc-hero-title span { color: var(--cc-gold); }
.cc-hero-sub { font-size: clamp(1rem, 3.8vw, 1.2rem); max-width: 640px; margin: 1rem auto 0; }
.cc-logo-hero { display: block; margin-left: auto; margin-right: auto; max-width: min(240px, 70%); max-height: 150px; width: auto; height: auto; }
/* larger screens: the logo grows so it matches the size of the title below it (phones keep the size above) */
@media (min-width: 768px) { .cc-logo-hero { max-width: min(340px, 60%); max-height: 230px; margin-bottom: 1.75rem !important; } }
@media (min-width: 992px) { .cc-logo-hero { max-width: min(440px, 50%); max-height: 300px; margin-bottom: 2rem !important; } }
@media (min-width: 1400px) { .cc-logo-hero { max-width: min(500px, 40%); max-height: 340px; } }
/* wide but short windows (laptops with 125-150% scaling): keep the hero buttons on screen */
@media (min-width: 768px) and (max-height: 700px) { .cc-hero { padding: 1.5rem 0; } .cc-logo-hero { max-height: 215px; margin-bottom: 1rem !important; } }
.cc-hero-actions { display: grid; gap: .75rem; max-width: 420px; margin-left: auto; margin-right: auto; }
@media (min-width: 576px) { .cc-hero-actions { display: flex; justify-content: center; gap: .75rem; max-width: none; } }

/* ---------- dark sections / cards ---------- */
.cc-section-dark { background-color: var(--cc-black-2); color: #e8e8e8; }
.cc-section-dark .cc-heading { color: var(--cc-cream); }
.cc-section-dark p strong { color: var(--cc-gold-light); }
.cc-feature-card { background: #0d0d0d; border: 1px solid rgba(201,161,74,.28); border-radius: 10px; padding: 16px; height: 100%; }
.cc-feature-card h3 { color: var(--cc-gold); font-size: 1.05rem; }
@media (min-width: 768px) { .cc-feature-card { padding: 18px; } .cc-feature-card h3 { font-size: 1.25rem; } }

/* ---------- social icons ---------- */
.cc-social { display: flex; flex-wrap: wrap; gap: .25rem; margin: .75rem 0 0; padding: 0; }
.cc-social a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  color: var(--cc-gold); font-size: 1.5rem; border: 1px solid rgba(201,161,74,.35); text-decoration: none; }
.cc-social a:hover, .cc-social a:focus-visible { background: var(--cc-gold); color: #1a1a1a; }

/* ---------- events ---------- */
.cc-event-card { background: #fff; border: 1px solid var(--cc-border); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.cc-event-body { padding: 16px 18px 18px; }
.cc-event-date { color: var(--cc-gold-dark); font-weight: 600; margin-bottom: 4px; font-size: .95rem; }
.cc-event-title { font-size: 1.25rem; margin: 0 0 .4rem; }
.cc-event-text { font-size: .9rem; color: #5b636a; margin: 0 0 .6rem; }
.cc-event-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.cc-badge-gold { background-color: var(--cc-gold); color: #1a1a1a; }
.cc-past-event { opacity: .8; }
.cc-flyer-thumb { display: block; overflow: hidden; cursor: zoom-in; background: #000; }
.cc-flyer-thumb img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.cc-flyer-pdf { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; color: var(--cc-gold-dark); font-weight: 600; text-decoration: none; min-height: 44px; }
/* phones: a compact row (small flyer on the left, tap to enlarge) instead of a full-screen flyer per event */
@media (max-width: 575.98px) {
  .cc-event-card.has-flyer { display: grid; grid-template-columns: 112px 1fr; align-items: start; }
  .cc-event-card.has-flyer .cc-flyer-thumb { margin: 12px 0 12px 12px; border-radius: 8px; }
  .cc-event-card.has-flyer .cc-event-body { padding: 12px 14px 14px; min-width: 0; }
  .cc-event-title { font-size: 1.1rem; }
}
@media (min-width: 576px) { .cc-event-card { display: flex; flex-direction: column; } .cc-event-body { padding: 18px 20px 20px; } }

/* ---------- buttons ---------- */
.btn { min-height: 44px; }
.btn-cc-gold { background-color: var(--cc-gold); border-color: var(--cc-gold); color: #1a1a1a; font-weight: 600; }
.btn-cc-gold:hover, .btn-cc-gold:focus-visible { background-color: var(--cc-gold-light); border-color: var(--cc-gold-light); color: #1a1a1a; }
.btn-cc-gold:disabled { opacity: .7; }

/* ---------- forms ---------- */
.cc-form { background: #fff; padding: 1.25rem; border-radius: 12px; border: 1px solid var(--cc-border); }
@media (min-width: 576px) { .cc-form { padding: 2rem; } }
.cc-form .form-label { font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.cc-form .form-control, .cc-form .form-select { min-height: 48px; font-size: 1rem; border-radius: 8px; }   /* 16px: iPhones do not zoom in on focus */
.cc-form textarea.form-control { min-height: 120px; }
.cc-form .form-control:focus, .cc-form .form-select:focus { border-color: var(--cc-gold); box-shadow: 0 0 0 .2rem rgba(201,161,74,.28); }
.cc-form .form-text { font-size: .8rem; }
.cc-form .form-check { padding-left: 2.1rem; min-height: 2rem; }
.cc-form .form-check-input { width: 1.4rem; height: 1.4rem; margin-left: -2.1rem; margin-top: .05rem; }
.cc-form .form-check-input:checked { background-color: var(--cc-gold); border-color: var(--cc-gold); }
.cc-form .form-check-input:focus { border-color: var(--cc-gold); box-shadow: 0 0 0 .2rem rgba(201,161,74,.28); }
.cc-form .form-check-label { font-size: .9rem; line-height: 1.45; }
.cc-submit { width: 100%; }
@media (min-width: 576px) { .cc-submit { width: auto; padding-left: 3rem; padding-right: 3rem; display: block; margin: 0 auto; } }

/* ---------- contact card ---------- */
.cc-contact-card { background: #fff; border: 1px solid var(--cc-border); border-left: 3px solid var(--cc-gold); border-radius: 10px; padding: .5rem 1rem; }
.cc-contact-card li { display: flex; align-items: flex-start; gap: .7rem; padding: .65rem 0; font-size: .95rem; }
.cc-contact-card li + li { border-top: 1px solid #f0e8d6; }
.cc-contact-card .cc-i { margin-top: .2em; color: var(--cc-gold-dark); font-size: 1.1rem; }
.cc-contact-card a { color: #2b2b2b; text-decoration: none; word-break: break-word; }
.cc-contact-card a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.cc-footer { background-color: var(--cc-black); color: #c9c9c9; padding-bottom: env(safe-area-inset-bottom); }
.cc-footer a { color: #d8d8d8; text-decoration: none; }
.cc-footer a:hover { color: var(--cc-gold); }
.cc-footer-title { font-size: 1.05rem; color: var(--cc-gold); }
.cc-footer-text { color: #a8a8a8; }
.cc-footer-hr { border-color: #333; opacity: 1; }
.cc-footer-links li a { display: inline-block; padding: .4rem 0; }
.cc-brand-footer { font-size: 1.25rem; margin-bottom: .5rem; color: var(--cc-cream); }

/* ---------- flash messages ---------- */
.alert { font-size: .95rem; }
.alert .btn-close { min-height: 0; }

/* ---------- club rules ---------- */
.cc-rules-section { font-family: 'Playfair Display', Georgia, serif; color: var(--cc-gold-dark); margin: 2rem 0 .75rem; padding-bottom: .4rem; border-bottom: 1px solid var(--cc-border); font-size: 1.3rem; }
.cc-rules-list { padding-left: 1.7rem; }
.cc-rules-list li { margin-bottom: .7rem; line-height: 1.6; padding-left: .3rem; }
.cc-rules-list li::marker { color: var(--cc-gold-dark); font-weight: 700; }
.cc-rules-note { background: #fff; border-left: 3px solid var(--cc-gold); border-radius: 6px; padding: 14px 18px; font-style: italic; color: #444; }
.cc-rules-hr { border-color: var(--cc-gold); opacity: .5; margin: 2.2rem 0 1.4rem; }
@media (min-width: 576px) { .cc-rules-list { padding-left: 2.2rem; } }

/* ---------- gallery ---------- */
.cc-gallery-item { background: #fff; border: 1px solid var(--cc-border); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.05); height: 100%; display: flex; flex-direction: column; }
.cc-gallery-thumb { display: block; overflow: hidden; cursor: zoom-in; aspect-ratio: 1 / 1; background: #000; }
.cc-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-gallery-caption { padding: 8px 10px 10px; font-size: .82rem; color: #444; line-height: 1.4; border-top: 2px solid var(--cc-gold); }
@media (min-width: 576px) { .cc-gallery-caption { padding: 10px 14px 12px; font-size: .9rem; } }
@media (hover: hover) { .cc-gallery-thumb img, .cc-flyer-thumb img { transition: transform .25s ease; } .cc-gallery-thumb:hover img, .cc-flyer-thumb:hover img { transform: scale(1.04); } }

/* ---------- full-screen viewer (native <dialog>, used for flyers and the gallery) ---------- */
.cc-dialog { border: 0; padding: 0; background: #000; color: #eee; border-radius: 12px; width: min(96vw, 720px); max-width: 96vw; max-height: 94vh; max-height: 94dvh; overflow: hidden; }
.cc-dialog-wide { width: min(96vw, 1100px); }
.cc-dialog::backdrop { background: rgba(0,0,0,.85); }
.cc-dialog-inner { position: relative; padding: 48px 10px 14px; text-align: center; }
.cc-dialog img { max-width: 100%; max-height: 76vh; max-height: 76dvh; width: auto; height: auto; border-radius: 8px; }
.cc-dialog-close { position: absolute; top: 2px; right: 2px; width: 48px; height: 48px; border: 0; background: transparent; color: #fff; font-size: 2rem; line-height: 1; }
.cc-dialog-counter { position: absolute; top: 14px; left: 14px; font-size: .85rem; color: #aaa; }
.cc-dialog-caption { margin: .75rem 0 0; font-size: .95rem; color: var(--cc-cream); }
.cc-dialog-caption:empty { display: none; }
.cc-lightbox { position: relative; display: flex; align-items: center; justify-content: center; }
.cc-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; border: 0; width: 46px; height: 46px; border-radius: 50%; background: rgba(14,14,16,.7); color: var(--cc-gold); font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }
.cc-lightbox-nav:hover, .cc-lightbox-nav:focus-visible { background: var(--cc-gold); color: #1a1a1a; }
.cc-lightbox-prev { left: 4px; } .cc-lightbox-next { right: 4px; }
body.cc-noscroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Fast-Track (club colours: gold neon lettering on black) ---------- */
.cc-ft-hero { position: relative; overflow: hidden; padding: 2.75rem 0 2.75rem; color: #e8e8e8;
  background:
    radial-gradient(ellipse 55% 70% at 50% 18%, rgba(201,161,74,.20), transparent 72%),
    radial-gradient(ellipse 45% 80% at 6% 30%, rgba(201,161,74,.10), transparent 70%),
    radial-gradient(ellipse 45% 80% at 94% 30%, rgba(201,161,74,.10), transparent 70%),
    linear-gradient(#000, var(--cc-black)); border-bottom: 1px solid rgba(201,161,74,.35); }
.cc-ft-hero .container { position: relative; z-index: 1; }
/* speed streaks: thin gold light trails behind the lettering, fading outwards */
.cc-ft-hero::before, .cc-ft-hero::after { content: ""; position: absolute; top: 1.9rem; height: 5.6rem; width: 50%; pointer-events: none; opacity: .8; }
.cc-ft-hero::before { left: 0;
  background:
    linear-gradient(90deg, rgba(226,197,133,0), rgba(226,197,133,.85)) 0 18% / 70% 2px no-repeat,
    linear-gradient(90deg, rgba(201,161,74,0), rgba(201,161,74,.55)) 12% 38% / 55% 1px no-repeat,
    linear-gradient(90deg, rgba(226,197,133,0), rgba(226,197,133,.85)) 0 62% / 80% 2px no-repeat,
    linear-gradient(90deg, rgba(201,161,74,0), rgba(201,161,74,.5)) 6% 82% / 60% 1px no-repeat; }
.cc-ft-hero::after { right: 0;
  background:
    linear-gradient(270deg, rgba(226,197,133,0), rgba(226,197,133,.85)) 100% 22% / 70% 2px no-repeat,
    linear-gradient(270deg, rgba(201,161,74,0), rgba(201,161,74,.55)) 88% 42% / 55% 1px no-repeat,
    linear-gradient(270deg, rgba(226,197,133,0), rgba(226,197,133,.85)) 100% 66% / 80% 2px no-repeat,
    linear-gradient(270deg, rgba(201,161,74,0), rgba(201,161,74,.5)) 94% 86% / 60% 1px no-repeat; }
.cc-ft-logo { margin: 0; font-family: 'Montserrat', 'Arial Black', Arial, sans-serif; font-style: italic; font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; white-space: nowrap; font-size: clamp(2rem, 11vw, 4.6rem); }
/* hollow neon tube: dark gold fill, bright pale-gold core outline, golden glow around it */
.cc-ft-fast, .cc-ft-track { -webkit-text-stroke: 1.5px #fff4d2; paint-order: stroke fill; }
.cc-ft-fast  { color: #b8892b; text-shadow: 0 0 4px #fff1c9, 0 0 10px #e2c585, 0 0 22px #c9a14a, 0 0 44px #8a6a1c, 0 0 80px #8a6a1c; }
.cc-ft-track { color: #c9a14a; text-shadow: 0 0 4px #fff1c9, 0 0 10px #e2c585, 0 0 24px #c9a14a, 0 0 48px #a67c1f, 0 0 84px #a67c1f; }
/* concept text */
.cc-ft-concept { max-width: 640px; margin: 1.75rem auto 0; padding-top: 1.5rem; position: relative; }
.cc-ft-concept::before { content: ""; display: block; width: 60px; height: 3px; background: var(--cc-gold); margin: 0 auto 1.25rem; }
.cc-ft-question { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: clamp(1.15rem, 4.6vw, 1.5rem); line-height: 1.45; color: var(--cc-gold-light); margin: 0 0 1rem; }
.cc-ft-answer { font-size: clamp(.98rem, 3.8vw, 1.12rem); line-height: 1.65; color: #e8e8e8; margin: 0; }
/* deadline notice under the concept text */
.cc-ft-deadline { display: inline-flex; align-items: center; gap: .5rem; margin: 1.5rem auto 0; padding: .65rem 1.1rem; max-width: 100%;
  border: 1px solid rgba(201,161,74,.6); border-radius: 999px; background: rgba(201,161,74,.10); color: var(--cc-gold-light);
  font-size: clamp(.9rem, 3.5vw, 1.05rem); line-height: 1.35; text-align: center; }
.cc-ft-deadline .cc-i { color: var(--cc-gold); font-size: 1.15em; }
.cc-ft-deadline strong { font-weight: 600; }

/* footer: webmaster contact next to the copyright line */
.cc-footer-sep { margin: 0 .35rem; color: #555; }
.cc-footer-mail { color: var(--cc-gold) !important; text-decoration: underline !important; text-underline-offset: 3px; display: inline-block; padding: .35rem 0; }
.cc-footer-mail:hover { color: var(--cc-gold-light) !important; }
