/*
Theme Name: Astra Child – Dinamo Dans
Template:   astra
Version:    1.0.0
Text Domain: astra-child-dinamo
*/

/* ============================================================
   Custom styles for Academia de Dans Sportiv CS Dinamo
   ============================================================ */

:root {
  --red:      #C8102E;
  --dark-red: #8B0000;
  --deep:     #1a0000;
  --light-bg: #f5f5f5;
}

/* ─── UTILITY ─────────────────────────────────────── */
.text-red  { color: var(--red) !important; }

.btn-dinamo {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
  font-weight: 700;
  letter-spacing: .5px;
  padding: 10px 26px;
  transition: background .2s;
  display: inline-block;
  text-decoration: none;
}
.btn-dinamo:hover { background: #a00020; border-color: #a00020; color: #fff; }

.btn-white-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 10px 26px;
  transition: background .2s, color .2s;
  display: inline-block;
  text-decoration: none;
}
.btn-white-outline:hover { background: #fff; color: var(--red); }

.section-label {
  color: var(--red);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* ─── NAVBAR ──────────────────────────────────────── */
.site-nav {
  background: var(--deep);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.site-nav .navbar-brand {
  color: #fff;
  font-weight: 900;
  font-size: .95rem;
  letter-spacing: .5px;
  line-height: 1.25;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-shield {
  width: 42px; height: 42px;
  background: var(--red);
  clip-path: polygon(50% 0%, 100% 15%, 100% 70%, 50% 100%, 0% 70%, 0% 15%);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; color: #fff;
  flex-shrink: 0;
}
.site-nav .nav-link { color: #ccc !important; font-weight: 500; font-size: .9rem; transition: color .2s; }
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: #fff !important; }
.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ─── HERO ────────────────────────────────────────── */
.hero {
  min-height: 440px;
  background-color: var(--deep);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(200,16,46,.25) 0%, transparent 60%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.hero .lead { color: #f0d0d0; font-size: 1.1rem; }

/* ─── ABOUT ───────────────────────────────────────── */
.about { padding: 80px 0; background: #fff; }
.about h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}
.feat-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.feat-list li { font-size: .92rem; color: #333; display: flex; align-items: center; gap: 8px; }
.feat-list li i { color: var(--red); font-size: .75rem; }

.crest {
  width: 180px; height: 180px;
  background: linear-gradient(135deg, var(--red) 0%, var(--dark-red) 100%);
  border-radius: 50% 50% 45% 45%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #fff; text-align: center;
  box-shadow: 0 8px 32px rgba(200,16,46,.35);
  border: 4px solid rgba(255,255,255,.2);
  margin: 0 auto;
}
.crest-d { font-size: 2.6rem; font-weight: 900; line-height: 1; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.crest-sub { font-size: .55rem; letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; opacity: .9; }
.crest-name { font-size: .9rem; font-weight: 900; letter-spacing: 1px; }
.crest-year { font-size: .6rem; opacity: .75; margin-top: 4px; }

/* ─── COURSES ─────────────────────────────────────── */
.courses { padding: 80px 0; background: var(--light-bg); }
.courses h2 { font-size: 1.9rem; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; }
.course-card {
  background: #fff;
  border-radius: 10px;
  padding: 26px 22px;
  height: 100%;
  border: 1px solid #eee;
  transition: transform .2s, box-shadow .2s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(200,16,46,.13); }
.card-icon {
  width: 52px; height: 52px;
  background: var(--red);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem;
  flex-shrink: 0;
}
.course-card h5 { font-weight: 800; font-size: 1rem; margin: 0; }
.course-card p  { font-size: .85rem; color: #666; margin: 0; line-height: 1.6; }

/* ─── CHAMPIONS ───────────────────────────────────── */
.champions {
  padding: 70px 0;
  background-color: var(--deep);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
}
.champions h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.champions .sub { font-size: .85rem; letter-spacing: 4px; text-transform: uppercase; color: #f0c0c0; }
.champion-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 16px 20px;
  color: #fff;
  font-size: .82rem;
  text-align: center;
  backdrop-filter: blur(4px);
}
.champion-card .name { font-weight: 800; font-size: .95rem; }
.champion-card .award { color: #ffd700; font-size: .75rem; letter-spacing: 1px; }

/* ─── GALLERY ─────────────────────────────────────── */
.gallery { padding: 80px 0; background: #fff; }
.gallery h2 { font-size: 1.9rem; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; }
.g-item {
  height: 190px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--dark-red), var(--red));
  cursor: pointer;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.g-item:hover img { transform: scale(1.07); }
.g-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0); display: flex;
  align-items: center; justify-content: center;
  transition: background .3s;
}
.g-item:hover .g-overlay { background: rgba(200,16,46,.35); }
.g-overlay i { color: #fff; font-size: 2rem; opacity: 0; transition: opacity .3s; }
.g-item:hover .g-overlay i { opacity: 1; }

/* ─── CONTACT ─────────────────────────────────────── */
.contact { padding: 80px 0; background: #faf0f0; }
.contact h2 { font-size: 1.8rem; font-weight: 800; }
.contact .form-control,
.contact .form-select {
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 12px 16px;
  font-size: .9rem;
}
.contact .form-control:focus,
.contact .form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,.12);
}
.info-box { font-size: .9rem; line-height: 2; }
.info-box i { color: var(--red); width: 20px; }

/* ─── FOOTER ──────────────────────────────────────── */
.footer { background: var(--deep); color: #aaa; padding: 52px 0 24px; }
.footer h6 { color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; font-size: .82rem; }
.footer a { color: #888; text-decoration: none; display: block; margin-bottom: 7px; font-size: .85rem; transition: color .2s; }
.footer a:hover { color: var(--red); }
.footer hr { border-color: #2a0000; }
.footer-bottom { font-size: .78rem; color: #555; }
.social-btn {
  width: 36px; height: 36px; border-radius: 6px;
  background: rgba(255,255,255,.07);
  display: inline-flex; align-items: center; justify-content: center;
  color: #aaa; font-size: 1rem; text-decoration: none;
  transition: background .2s, color .2s;
}
.social-btn:hover { background: var(--red); color: #fff; }

/* ─── CONTACT FORM 7 SUBMIT BUTTON ───────────────── */
.wpcf7 input.wpcf7-submit {
  background: var(--red) !important;
  color: #fff !important;
  border: 2px solid var(--red) !important;
  font-weight: 700 !important;
  letter-spacing: .5px !important;
  padding: 14px 26px !important;
  width: 100% !important;
  cursor: pointer !important;
  border-radius: 4px !important;
  font-size: 1rem !important;
  transition: background .2s, border-color .2s !important;
}
.wpcf7 input.wpcf7-submit:hover {
  background: #a00020 !important;
  border-color: #a00020 !important;
}

/* ─── MATCH FOOTER HEIGHT TO HEADER ──────────────── */
.site-below-footer-wrap[data-section="section-below-footer-builder"],
.site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row {
  min-height: 110px !important;
}
