/*
Theme Name: MTA prihlasovanie
Theme URI: https://muaythaiacademy.sk
Author: aps32
Description: Vlastná téma pre Muay Thai Academy Bratislava
Version: 1.25.0
License: GNU General Public License v2 or later
Text Domain: mta-theme
*/

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Oswald', sans-serif;
  background: #0a0a0a;
  color: #f0e6d3;
  line-height: 1.6;
}

.mta-ember-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.mta-ember-glow::before,
.mta-ember-glow::after {
  content: '';
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.16;
}
.mta-ember-glow::before {
  top: -20vmax;
  left: -15vmax;
  background: radial-gradient(circle, #8B1A1A 0%, transparent 70%);
  animation: mta-ember-drift-1 26s ease-in-out infinite;
}
.mta-ember-glow::after {
  bottom: -25vmax;
  right: -15vmax;
  background: radial-gradient(circle, #D4AF37 0%, transparent 70%);
  animation: mta-ember-drift-2 32s ease-in-out infinite;
}
@keyframes mta-ember-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vmax, 8vmax) scale(1.15); }
}
@keyframes mta-ember-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-7vmax, -6vmax) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .mta-ember-glow::before, .mta-ember-glow::after { animation: none; }
}

.mta-fixed-logo {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 22vh;
  pointer-events: none;
}
.mta-fixed-logo img {
  width: min(85vw, 760px);
  height: min(85vw, 760px);
  object-fit: contain;
  opacity: 0.25;
  filter: drop-shadow(0 0 60px rgba(212,175,55,0.3));
}
img { max-width: 100%; height: auto; }
a { color: #D4AF37; text-decoration: none; transition: color 0.2s; }
a:hover { color: #f0e6d3; }

/* ============================
   TYPOGRAPHY
   ============================ */
h1, h2, h3, h4 { font-family: 'Cinzel', serif; }
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(22px, 4vw, 32px);
  color: #D4AF37;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}
.section-sub {
  text-align: center;
  color: #a08060;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

/* ============================
   LAYOUT
   ============================ */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 4rem 0; }
.section-sep { border: none; border-top: 1px solid #1a0a00; margin: 0; }
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 2rem 0 1rem;
}
.divider-line { flex: 1; height: 1px; background: #6a3a15; max-width: 200px; }
.divider-icon { color: #8B1A1A; font-size: 20px; position: relative; z-index: 1; }

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-block;
  background: #8B1A1A;
  color: #D4AF37;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 32px;
  border: 1px solid #D4AF37;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  margin: 4px;
}
.btn:hover { background: #D4AF37; color: #0a0a0a; }
.btn-outline {
  background: transparent;
  color: #f0e6d3;
  border-color: #f0e6d3;
}
.btn-outline:hover { background: #f0e6d3; color: #0a0a0a; }

/* ============================
   NAVIGATION
   ============================ */
.site-nav {
  background: #0a0a0a;
  border-bottom: 1px solid #8B1A1A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 84px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: #D4AF37;
  letter-spacing: 2px;
  text-decoration: none;
}
.nav-logo:hover { color: #D4AF37; }
.nav-skp-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f0e6d3;
  padding: 5px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.nav-skp-badge:hover { transform: scale(1.08); }
.nav-skp-badge img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.nav-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 10px);
  right: 2rem;
  min-width: 200px;
  background: #0f0800;
  border: 1px solid #2a1500;
  border-top: 2px solid #8B1A1A;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  padding: 0.75rem 0;
  gap: 0;
  list-style: none;
  z-index: 200;
}
.nav-menu.open { display: flex; }
.nav-menu li { width: 100%; }
.nav-menu a {
  display: block;
  color: #f0e6d3;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
  padding: 0.75rem 1.25rem;
}
.nav-menu a:hover { color: #D4AF37; background: rgba(212,175,55,0.06); }

.nav-main-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-main-links a {
  color: #D4AF37;
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-main-links a:hover { color: #f0e6d3; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-toggle {
  display: block;
  background: none;
  border: none;
  color: #D4AF37;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
  text-align: center;
}
.hero-logo-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-logo-url);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
  z-index: 0;
  filter: blur(1px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background: repeating-linear-gradient(45deg, #8B1A1A 0px, #8B1A1A 1px, transparent 1px, transparent 40px);
}
.hero-content { position: relative; z-index: 2; padding: 3rem 2rem; }
.hero-logo { display: none; }
.hero-badge {
  display: inline-block;
  background: #8B1A1A;
  color: #f0e6d3;
  font-size: 11px;
  letter-spacing: 3px;
  padding: 4px 16px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(36px, 8vw, 60px);
  color: #D4AF37;
  line-height: 1;
  text-shadow: 0 0 40px rgba(212,175,55,0.3);
  margin-bottom: 0.25rem;
}
.hero h2 {
  font-size: clamp(18px, 4vw, 30px);
  color: #f0e6d3;
  margin-bottom: 1.5rem;
  letter-spacing: 4px;
}
.hero-desc {
  font-size: 16px;
  color: #a08060;
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* ============================
   STATS
   ============================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #1a0a00;
  border: 1px solid #2a1500;
}
.stat-item { background: #0f0800; padding: 1.5rem 1rem; text-align: center; }
.stat-num {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 4vw, 40px);
  color: #D4AF37;
  font-weight: 700;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: #6a4020;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============================
   CARDS (O nás)
   ============================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.card {
  background: #0f0800;
  border: 1px solid #2a1500;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: #8B1A1A;
}
.card-icon { font-size: 28px; color: #8B1A1A; margin-bottom: 1rem; }
.card h3 { font-family: 'Cinzel', serif; font-size: 15px; color: #D4AF37; margin-bottom: 0.5rem; }
.card p { font-size: 14px; color: #a08060; line-height: 1.6; }

/* ============================
   TIMELINE (História)
   ============================ */
.timeline { position: relative; padding-left: 2rem; border-left: 2px solid #2a1500; }
.timeline-item { margin-bottom: 2rem; position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem; top: 6px;
  width: 12px; height: 12px;
  background: #8B1A1A;
  border: 2px solid #D4AF37;
  border-radius: 50%;
}
.timeline-year { font-family: 'Cinzel', serif; font-size: 12px; color: #D4AF37; letter-spacing: 2px; }
.timeline-title { font-size: 16px; font-weight: 600; color: #f0e6d3; margin: 4px 0; }
.timeline-text { font-size: 14px; color: #7a5030; line-height: 1.6; }

/* ============================
   SCHEDULE (Rozvrh)
   ============================ */
.schedule-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.schedule-table th {
  background: #1a0800;
  color: #D4AF37;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #8B1A1A;
}
.schedule-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #1a0a00;
  color: #c0a070;
}
.schedule-table tr:hover td { background: #0f0800; }
.badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
}
.badge-red { background: #3a0a0a; color: #cc4444; }
.badge-gold { background: #2a1500; color: #D4AF37; }
.badge-gray { background: #1a1a1a; color: #888; }

/* ============================
   SCHEDULE OVERVIEW CARDS (rozpis v štýle ŠKP)
   ============================ */
/* ============================
   GALÉRIA
   ============================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.gallery-item {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #2a1500;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(0.2) brightness(0.9);
}
.gallery-item:hover img { transform: scale(1.06); filter: grayscale(0) brightness(1); }

/* ============================
   FAQ
   ============================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  background: #0f0800;
  border: 1px solid #2a1500;
  padding: 0;
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 15px;
  color: #f0e6d3;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #D4AF37;
  font-size: 20px;
  font-family: 'Oswald', sans-serif;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid #2a1500; color: #D4AF37; }
.faq-answer {
  padding: 1rem 1.25rem 1.2rem;
  font-size: 13.5px;
  color: #a08060;
  line-height: 1.7;
}
.faq-answer p { margin-bottom: 0.8rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 0 0 0.8rem 1.1rem; padding: 0; }
.faq-answer strong { color: #d8c8a8; }
.faq-answer a { color: #D4AF37; text-decoration: underline; }
.faq-answer a:hover { color: #f0e6d3; }

/* ============================
   ROLUJÚCI PÁSIK – UDALOSTI (pod hornou červenou čiarou)
   ============================ */
.oznamy-bar {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  background: rgba(15,8,0,0.9);
  border-bottom: 1px solid #2a1500;
  overflow: hidden;
  position: relative;
  z-index: 50;
}
.oznamy-label {
  flex-shrink: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #8B1A1A;
  color: #f0e6d3;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.oznamy-label::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 0;
  bottom: 0;
  width: 14px;
  background: linear-gradient(90deg, #8B1A1A, transparent);
}
.oznamy-ticker-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.oznamy-ticker-wrap::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(90deg, transparent, rgba(15,8,0,0.95));
  z-index: 2;
  pointer-events: none;
}
.oznamy-ticker {
  display: flex;
  white-space: nowrap;
  animation: mta-ticker-scroll 18s linear infinite;
  padding-left: 16px;
}
.oznamy-ticker-text {
  font-family: 'Oswald', sans-serif;
  font-size: 12.5px;
  color: #D4AF37;
  padding-right: 3rem;
}
@keyframes mta-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================
   OZNAMY
   ============================ */
.oznamy-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 700px;
  margin: 0 auto;
}
.oznam-card {
  display: block;
  background: #0f0800;
  border: 1px solid #2a1500;
  border-left: 3px solid #D4AF37;
  padding: 1.1rem 1.3rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.oznam-card:hover { border-left-color: #8B1A1A; background: #150c00; }
.oznam-date {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #8B1A1A;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.oznam-title {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 700;
  color: #f0e6d3;
  margin-bottom: 6px;
}
.oznam-excerpt {
  font-size: 13.5px;
  color: #a08060;
  line-height: 1.6;
}

.mtc-overview-block { margin-bottom: 2rem; }
.mtc-overview-block-title {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: #6a4020;
  text-align: center;
  margin-bottom: 1rem;
}
.mtc-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.mtc-overview-card {
  background: #0f0800;
  border: 1px solid #2a1500;
  border-left: 3px solid #8B1A1A;
  padding: 1.1rem 1.3rem;
}
.mtc-overview-day {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #8B1A1A;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mtc-overview-time {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  color: #f0e6d3;
  margin-bottom: 4px;
}
.mtc-overview-sub {
  font-size: 13px;
  color: #7a5030;
  margin-bottom: 10px;
}
.mtc-overview-badge {
  display: inline-block;
  background: #2a1500;
  color: #D4AF37;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 10px;
  text-transform: uppercase;
}

/* ============================
   SHOP
   ============================ */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}
.product {
  background: #0f0800;
  border: 1px solid #2a1500;
  overflow: hidden;
  transition: border-color 0.2s;
}
.product:hover { border-color: #8B1A1A; }
.product-img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #150800;
  border-bottom: 1px solid #2a1500;
  font-size: 44px;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 1rem; }
.product-name { font-family: 'Cinzel', serif; font-size: 13px; color: #D4AF37; margin-bottom: 4px; }
.product-cat { font-size: 11px; color: #6a4020; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.product-price { font-size: 18px; font-weight: 600; color: #f0e6d3; }
.product-btn {
  margin-top: 8px;
  display: block;
  width: 100%;
  background: #1a0800;
  border: 1px solid #8B1A1A;
  color: #D4AF37;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}
.product-btn:hover { background: #8B1A1A; }

/* ============================
   CONTACT
   ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; }
.contact-item i { color: #8B1A1A; font-size: 20px; margin-top: 2px; flex-shrink: 0; }
.contact-label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #6a4020; }
.contact-val { font-size: 15px; color: #f0e6d3; margin-top: 2px; line-height: 1.5; }
.contact-socials { display: flex; gap: 10px; margin-top: 0.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 10px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #0f0800;
  border: 1px solid #2a1500;
  color: #f0e6d3;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #8B1A1A; }
.contact-form textarea { height: 100px; resize: vertical; }

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: #050300;
  border-top: 1px solid #1a0a00;
  text-align: center;
  padding: 2.5rem 1rem;
}
.footer-logo { font-family: 'Cinzel', serif; font-size: 20px; color: #D4AF37; margin-bottom: 0.5rem; }
.footer-tagline { font-size: 11px; letter-spacing: 3px; color: #4a2a10; text-transform: uppercase; margin-bottom: 1rem; }
.footer-operator { font-size: 11px; line-height: 1.8; color: #6a4020; margin-bottom: 0.75rem; }
.footer-operator a { color: #6a4020; text-decoration: underline; }
.footer-operator a:hover { color: #D4AF37; }
.footer-copy { font-size: 12px; color: #3a2010; }
.footer-links { margin-top: 8px; }
.footer-links a { font-size: 11px; color: #6a4020; text-decoration: underline; }
.footer-links a:hover { color: #D4AF37; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
  .nav-main-links { display: none; }
  .nav-menu { right: 1rem; min-width: 180px; }
  .nav-skp-badge { width: 60px; height: 60px; }
  .nav-right { gap: 0.75rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-logo { width: 260px; height: 260px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ============================
   NAV LOGO IMAGE
   ============================ */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.nav-logo-text {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: #D4AF37;
  letter-spacing: 2px;
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.6));
}

@media (max-width: 768px) {
  .nav-logo-img { height: 60px; }
}
