/* =============================================
   VARIABLES
   ============================================= */
:root {
  --gold:  #C28E0E;
  --dark:  #212529;
  --light: #f8f9fa;
  --muted: #6c757d;
  --white: #ffffff;
}

/* BASE */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; }
body { font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif; color: var(--dark); line-height: 1.6; }
h1,h2,h3,h4,h5,h6 { font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif; margin-top: 0; }
a { color: var(--gold); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.75; }
hr { max-width: 50px; border: none; border-top: 3px solid var(--gold); margin: 1.5rem auto; }
hr.light { border-color: var(--white); }
img { image-orientation: from-image; }
section { padding: 6rem 1.5rem; }
::selection { color: var(--white); background: var(--dark); text-shadow: none; }

/* UTILITIES */
.bg-primary   { background-color: var(--gold); }
.bg-dark      { background-color: var(--dark); }
.text-primary { color: var(--gold) !important; }
.text-white   { color: var(--white) !important; }
.section-wrap { max-width: 900px; margin: 0 auto; }
.section-wrap.center { text-align: center; }

/* NAVIGATION */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
#mainNav.navbar-shrink { background: var(--white); border-bottom-color: rgba(33,37,41,0.1); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.nav-brand:hover { color: var(--white); opacity: 1; }
#mainNav.navbar-shrink .nav-brand { color: var(--gold); }
.nav-logo { transition: transform 0.2s; }
.nav-brand:hover .nav-logo { transform: scale(1.5); }

.nav-links { display: flex; gap: 0.25rem; }
.nav-links a {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); opacity: 1; }
#mainNav.navbar-shrink .nav-links a { color: var(--dark); }
#mainNav.navbar-shrink .nav-links a:hover { color: var(--gold); opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
}
#mainNav.navbar-shrink .nav-toggle { border-color: rgba(0,0,0,0.2); }

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: background 0.2s;
}
#mainNav.navbar-shrink .nav-toggle span,
#mainNav.navbar-shrink .nav-toggle span::before,
#mainNav.navbar-shrink .nav-toggle span::after { background: var(--dark); }

.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }

@media (max-width: 991px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    gap: 0.1rem;
  }
  .nav-links.show { display: flex; }
  .nav-links a { color: var(--dark); padding: 0.5rem 0.75rem; }
  .nav-links a:hover { color: var(--gold); opacity: 1; }
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url('../img/header.JPG') center/cover no-repeat;
}
.hero-content { max-width: 800px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}
.hero h1 em {
  display: block;
  font-style: normal;
  font-weight: 300;
  font-size: 0.5em;
  font-family: 'Merriweather', serif;
  letter-spacing: 0.12em;
  margin-top: 0.35rem;
  text-transform: none;
}
.hero p {
  color: rgba(255,255,255,0.88);
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  font-weight: 300;
  margin: 1.5rem 0 2rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 300px;
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: #a87a0c; color: var(--white); opacity: 1; }
.btn-light { background: var(--white); color: var(--dark); }
.btn-light:hover { background: var(--light); color: var(--dark); opacity: 1; }

/* NEWS */
#news h2 { color: var(--white); }
.announce-list { list-style: none; padding: 0; margin: 0 0 2.5rem; text-align: left; color: var(--white); }
.announce-list li { padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
.announce-list li:last-child { border-bottom: none; }
.announce-list h3 { color: var(--white); margin-bottom: 0.4rem; font-size: 1.05rem; }
.announce-list a  { color: var(--white); text-decoration: underline; }

/* SCHEDULE */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.schedule-card { background: var(--light); border-radius: 12px; padding: 2.5rem 1.5rem; transition: transform 0.2s, box-shadow 0.2s; }
.schedule-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.schedule-card i { font-size: 2.75rem; color: var(--gold); display: block; margin-bottom: 1rem; }
.schedule-card h3 { margin-bottom: 0.5rem; }
.schedule-card a { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.schedule-card a:hover { color: var(--gold); opacity: 1; }

/* ACCORDIONS */
.accordion-group { text-align: left; }
.accordion {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.9rem 1.25rem;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 2px;
  border-radius: 6px;
  transition: background 0.2s;
}
.accordion.origins { background: rgba(0,0,0,0.18); color: var(--white); text-align: center; font-family: 'Merriweather', serif; }
.accordion.origins:hover, .accordion.origins.active { background: rgba(0,0,0,0.32); }
.accordion.questions { background: var(--dark); color: var(--white); }
.accordion.questions:hover, .accordion.questions.active { background: var(--gold); }
.accordion.pictures { background: rgba(255,255,255,0.06); color: var(--white); text-align: center; font-size: 1rem; border-radius: 0; }
.accordion.pictures:hover { background: rgba(255,255,255,0.12); }
.panel { display: none; overflow: hidden; margin-bottom: 4px; }
.panel.origins { background: rgba(0,0,0,0.12); color: var(--white); padding: 1.25rem 1.5rem; border-radius: 0 0 6px 6px; text-align: left; }
.panel.origins a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.panel.questions { background: var(--white); padding: 1.25rem 1.5rem; border-radius: 0 0 6px 6px; }
.panel.pictures  { background: rgba(0,0,0,0.2); }

/* GALLERY */
#gallery { padding: 4rem 0; }
#gallery .section-wrap { padding: 0 1.5rem; }
.zoom-gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 1rem 1.5rem; }
.zoom-gallery a { display: block; overflow: hidden; border-radius: 4px; }
.zoom-gallery img { height: 190px; width: auto; display: block; transition: transform 0.3s, opacity 0.3s; }
.zoom-gallery a:hover img { transform: scale(1.05); opacity: 0.85; }

/* CONTACT */
#contact p { margin-bottom: 2rem; }
.contact-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; margin-top: 1rem; }
.contact-card { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; color: var(--white); padding: 1.5rem 1.75rem; border-radius: 12px; background: rgba(0,0,0,0.15); min-width: 130px; transition: background 0.2s, transform 0.2s; }
.contact-card:hover { background: rgba(0,0,0,0.3); transform: translateY(-3px); color: var(--white); opacity: 1; }
.contact-card span { font-size: 0.85rem; }

/* FOOTER */
footer { background: var(--light); padding: 2.5rem 1.5rem; text-align: center; }
.footer-inner { max-width: 700px; margin: 0 auto; }
.footer-logos { margin-bottom: 1rem; }
.footer-logos img { margin: 0 0.5rem; transition: transform 0.2s; }
.footer-logos img:hover { transform: scale(1.08); }
.footer-inner p { margin: 0.4rem 0; font-size: 0.85rem; }
.footer-inner a { color: var(--dark); }
.footer-inner a:hover { color: var(--gold); opacity: 1; }

/* LIGHTBOX */
#lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; align-items: center; justify-content: center; }
#lightbox-box { display: flex; flex-direction: column; align-items: center; max-width: 90vw; }
#lightbox-img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 4px; }
#lightbox-caption { color: rgba(255,255,255,0.75); margin-top: 0.75rem; font-size: 0.85rem; text-align: center; max-width: 600px; }
#lightbox-close { position: fixed; top: 12px; right: 18px; background: none; border: none; color: var(--white); font-size: 2.5rem; cursor: pointer; line-height: 1; padding: 0; }
#lightbox-prev,
#lightbox-next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: var(--white); font-size: 2rem; cursor: pointer; padding: 12px 16px; border-radius: 4px; line-height: 1; transition: background 0.2s; }
#lightbox-prev { left: 10px; }
#lightbox-next { right: 10px; }
#lightbox-prev:hover, #lightbox-next:hover, #lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* ICOMOON ICON FONT */
@font-face {
  font-family: 'icomoon';
  src: url('../fonts/icomoon/fonts/icomoon.eot?4l4e1p');
  src: url('../fonts/icomoon/fonts/icomoon.eot?4l4e1p#iefix') format('embedded-opentype'),
       url('../fonts/icomoon/fonts/icomoon.ttf?4l4e1p') format('truetype'),
       url('../fonts/icomoon/fonts/icomoon.woff?4l4e1p') format('woff'),
       url('../fonts/icomoon/fonts/icomoon.svg?4l4e1p#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}
[class^='icon-'], [class*=' icon-'] {
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-karate-fighter:before  { content: "\e900"; }
.icon-karate-high-kick:before { content: "\e901"; }
.icon-karate-master:before   { content: "\e902"; }
