/* Your own CSS goes here. css/style.css is the compiled design (leave it alone); this file is safe to edit. */

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }   /* sticky menu: sections stop below the bar */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[hidden] { display: none !important; }

/* contact form */
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* hidden bot trap */
.cf-status { padding: .75rem 1rem; border-radius: .375rem; font-size: .95rem; }
.cf-ok { background: #ecfdf3; color: #14532d; border: 1px solid #86efac; }
.cf-error { background: #fef2f2; color: #7f1d1d; border: 1px solid #fca5a5; }

/* cookie banner */
.cc-banner { position: fixed; z-index: 60; left: 1rem; right: 1rem; bottom: 1rem; max-width: 42rem; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; padding: 1rem 1.25rem;
  background: #fff; color: #374151; border: 1px solid #e5e7eb; border-radius: .75rem; box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: .9rem; }
.cc-text { flex: 1 1 18rem; margin: 0; }
.cc-text a { color: #8B4513; text-decoration: underline; }
.cc-actions { display: flex; gap: .5rem; }
.cc-btn { padding: .5rem 1rem; border-radius: 9999px; font-weight: 600; cursor: pointer; border: 1px solid #8B4513; }
.cc-btn-main { background: #8B4513; color: #fff; }
.cc-btn-ghost { background: #fff; color: #8B4513; }
.cc-btn:focus-visible { outline: 3px solid #FFD700; outline-offset: 2px; }

/* footer link row (wraps nicely on phones) */
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1.5rem; }


/* ==========================================================================
   VISUAL POLISH  (fonts, hero, contrast, spacing)
   Everything below only overrides css/style.css, so you can delete a rule to go back to the old look.
   ========================================================================== */
:root { --brown: #8B4513; --green: #2F4F4F; --yellow: #FFD700; --ink: #2a2420; --paper: #faf7f3; }

/* ---- Fonts: Alegreya for headings, Source Sans 3 for text (both include Greek) ---- */
body {
  font-family: 'Source Sans 3', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.0625rem; line-height: 1.6; color: var(--ink);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: 'Alegreya', Georgia, 'Times New Roman', serif; text-wrap: balance; }
h1[class] { font-weight: 800; letter-spacing: -0.01em; line-height: 1.08; }
h2[class] { font-weight: 700; letter-spacing: 0; line-height: 1.12; }   /* Greek looks calmer at Bold */
h2.text-4xl, h2[class*="md:text-4xl"] { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem); }
h3[class] { line-height: 1.2; }
nav .font-bold { font-family: 'Alegreya', Georgia, serif; font-weight: 800; font-size: 1.4rem; }
nav a { font-weight: 600; }
nav span.truncate { max-width: none; }   /* show the full brand name on phones */

/* ---- Text colours: warm greys that stay readable ---- */
.text-gray-500 { color: #5c544d; }
.text-gray-600 { color: #4a433d; }
.text-gray-700 { color: #3a342f; }

/* ---- Section rhythm ---- */
.py-20 { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.w-24.h-1.bg-capoeira-yellow { border-radius: 9999px; }

/* ---- Focus: always visible for keyboard users ---- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 4px;
}
#home a:focus-visible { outline-color: #fff; }

/* ---- HERO ---- */
#home { min-height: 100vh; min-height: 100svh; justify-content: flex-start; }
#home > .bg-black {
  opacity: 1;
  background:
    radial-gradient(ellipse 85% 75% at 50% 50%, rgba(18,10,4,.80) 0%, rgba(18,10,4,.62) 62%, rgba(18,10,4,.38) 100%);
}
#home > .relative.z-10 { max-width: 64rem; width: 100%; text-align: center; padding: 7rem 1.25rem 5rem; }
#home h1 {
  color: #fff; max-width: 12em; margin: 0 auto 1.5rem;
  font-size: clamp(2.6rem, 1.3rem + 4.8vw, 5.2rem); line-height: 1.02;
  text-shadow: 0 2px 28px rgba(0,0,0,.45);
  /* the headline keeps your original floating effect (.animate-float in style.css) */
}
#home h1::after { content: ""; display: block; width: 6rem; height: .35rem; margin: 1.25rem auto 0; border-radius: 9999px; background: var(--yellow); }
#home p {
  color: rgba(255,255,255,.95); max-width: 38rem; margin: 0 auto 2.25rem;
  font-size: clamp(1.15rem, .95rem + .9vw, 1.5rem); line-height: 1.5; text-shadow: 0 1px 14px rgba(0,0,0,.55);
  animation: pv-rise .8s .12s ease both;
}
#home .flex.flex-col { justify-content: center; animation: pv-rise .8s .24s ease both; }
#home .flex.flex-col a { padding: .85rem 2rem; font-weight: 700; text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,.28); }
#home .flex.flex-col a:first-child { background: var(--yellow); color: #2b1608; }
#home .flex.flex-col a:first-child:hover { background: #ffe14d; }
#home .flex.flex-col a:nth-child(2) { background: rgba(255,255,255,.08); color: #fff; border: 2px solid rgba(255,255,255,.85); box-shadow: none; }
#home .flex.flex-col a:nth-child(2):hover { background: rgba(255,255,255,.18); }
@media (min-width: 640px) { #home .flex.flex-col { flex-direction: row; } }
@media (min-width: 1024px) { #home > .relative.z-10 { padding-left: 2rem; padding-right: 2rem; } }
@media (max-width: 767px) {
  #home > .bg-black { background: linear-gradient(180deg, rgba(18,10,4,.45) 0%, rgba(18,10,4,.74) 55%, rgba(18,10,4,.86) 100%); }
  #home > .absolute.inset-0:first-child { background-position: 62% center; }
}
@keyframes pv-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* visitors who set "reduce motion" in their device settings get no movement */
@media (prefers-reduced-motion: reduce) { #home h1, #home p, #home .flex.flex-col { animation: none; } }

/* ---- Reading width: long text no longer runs 150 characters wide ---- */
#capoeira .prose { max-width: 46rem; margin-left: auto; margin-right: auto; }
#capoeira .prose p { font-size: 1.15rem; line-height: 1.75; }
#capoeira .prose h3 { margin: 3rem 0 1rem; font-size: 1.9rem; }

/* ---- About cards: left-aligned, framed ---- */
#about .text-center.p-6 { text-align: left; padding: 2rem; border: 1px solid #efe7df; border-radius: 1rem; background: #fff; }
#about .text-center.p-6 .w-16.h-16 { margin-left: 0; background: rgba(139,69,19,.1); }
#about .text-center.p-6 h3 { font-size: 1.55rem; margin-bottom: .6rem; }
#about .text-center.p-6 p { font-size: 1.05rem; line-height: 1.65; }

/* ---- Instructor cards: portrait photos, aligned buttons, readable tags ---- */
.aspect-\[4\/3\] { aspect-ratio: 4 / 5; }
img[src*="instructor-nikos"] { object-position: 50% 100%; }
#instructors .grid > div { display: flex; flex-direction: column; }
#instructors .grid > div > .p-6.pt-0 { flex: 1; display: flex; flex-direction: column; }
#instructors .grid > div > .p-6.pt-0 > .mb-4 { flex: 1; }
#instructors h3 { font-size: 1.55rem; }
span.rounded-full.text-xs { font-size: .8125rem; padding: .25rem .65rem; }
span.rounded-full.text-xs.bg-capoeira-green\/10 { background: rgba(47,79,79,.12); }

/* ---- Schedule: times you can actually read, brand colours only ---- */
#schedule h3 { font-size: 1.7rem; }
#schedule h3 span { font-family: 'Source Sans 3', system-ui, sans-serif; font-weight: 600; font-size: 1rem; }
#schedule .text-xs { font-size: .95rem; }
#schedule li .text-gray-500, #schedule .text-gray-600 { color: #3a342f; }
#schedule .bg-blue-100   { background: #fdf6d8; border-color: var(--yellow); color: var(--brown); }
#schedule .bg-violet-100 { background: rgba(47,79,79,.1); border-color: var(--green); color: var(--green); }
#schedule .bg-green-100  { background: rgba(139,69,19,.1); border-color: var(--brown); color: var(--brown); }
#schedule .hover\:scale-105:hover { transform: translateY(-3px); }

/* ---- FAQ: the check marks were pale yellow on white (almost invisible) ---- */
svg.text-capoeira-yellow { color: var(--brown); }
#faq h3 { font-size: 1.35rem; }

/* ---- Contact form: visible field borders ---- */
#contact input[type="text"], #contact input[type="email"], #contact textarea { border-color: #9a9087; background: #fff; font-size: 1.05rem; }
#contact input:focus, #contact textarea:focus { border-color: var(--brown); box-shadow: 0 0 0 3px rgba(139,69,19,.18); outline: none; }
#contact input[type="checkbox"] { width: 1.15rem; height: 1.15rem; accent-color: var(--brown); }

/* links inside running text must not rely on colour alone */
#contact label a { text-decoration: underline; text-underline-offset: 2px; }
