/* SEP Active Boutique Gym — static site stylesheet */
:root {
  --navy: #2a2e40;
  --navy-deep: #151721;
  --red: #fa2a20;
  --red-dark: #b30900;
  --ink: #33363f;
  --muted: #6b6f7b;
  --line: #e4e5ea;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --body: 'Ubuntu', Helvetica, Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.7 var(--body); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4, h5, h6 { font-family: var(--head); font-weight: 500; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p, ul, ol, blockquote { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--navy-deep); font-size: .85rem; }
.topbar .wrap { display: flex; gap: 24px; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #c9cbd3; text-decoration: none; }
.topbar a:hover { color: #fff; }

.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.logo img { height: 58px; width: auto; }

.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.menu > li { position: relative; }
.menu a { display: block; padding: 10px 14px; color: #fff; text-decoration: none; font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; }
.menu a:hover, .menu a.active { color: var(--red); }
.sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.2); border-top: 3px solid var(--red); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.sub a { color: var(--navy); font-family: var(--body); text-transform: none; letter-spacing: 0; padding: 7px 20px; font-size: .92rem; }
.sub a:hover { background: var(--bg-soft); color: var(--red); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub-toggle { display: none; }

.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; font: 500 .9rem var(--head); text-transform: uppercase; letter-spacing: .05em; padding: 8px 14px; border-radius: 3px; cursor: pointer; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); max-height: 0; overflow: hidden; transition: max-height .25s; }
  .site-nav.open { max-height: 85vh; overflow-y: auto; }
  .menu { flex-direction: column; padding: 8px 0 16px; }
  .menu > li { border-top: 1px solid rgba(255,255,255,.08); }
  .menu a { padding: 12px 24px; }
  .has-sub { display: grid; grid-template-columns: 1fr auto; }
  .sub-toggle { display: block; width: 52px; background: none; border: 0; color: #fff; cursor: pointer; font-size: 1.2rem; }
  .sub-toggle::before { content: '+'; }
  .sub-toggle[aria-expanded="true"]::before { content: '−'; }
  .sub { grid-column: 1 / -1; position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: var(--navy-deep); display: none; min-width: 0; }
  .sub.open { display: block; }
  .sub a { color: #d6d8df; padding-left: 40px; }
  .has-sub:hover .sub { display: none; }
  .has-sub:hover .sub.open { display: block; }
}

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section + .section:not(.dark):not(.hero) { padding-top: 0; }
.dark + .section, .hero + .section { padding-top: clamp(48px, 7vw, 96px) !important; }

.hero, .dark { background: var(--navy); color: #d9dbe2; }
.hero h1, .hero h2, .hero h3, .hero h4, .dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.hero a:not(.btn), .dark a:not(.btn) { color: #fff; }
.hero {
  background: radial-gradient(circle at center, rgba(42,46,64,.55) 0%, var(--navy) 75%), url(../img/gym_35.jpg) center/cover no-repeat;
  padding: clamp(64px, 10vw, 140px) 0;
}
.hero-home {
  background: radial-gradient(circle at top right, rgba(42,46,64,.35) 0%, var(--navy) 90%), url(../img/hero-home-sepactive-gym-ioannina.jpg) center/cover no-repeat;
}
.hero .text h3, .hero .text > p:first-child { color: var(--red); font-family: var(--head); text-transform: uppercase; letter-spacing: .15em; font-size: 1rem; margin-bottom: .4em; }
.hero .lead, .lead { font-size: 1.15rem; }

/* rows / columns */
.row { margin-bottom: 40px; }
.row:last-child { margin-bottom: 0; }
.row[class*="cols-"] { display: grid; gap: 40px; align-items: center; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5, .cols-6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .row[class*="cols-"] { grid-template-columns: 1fr; gap: 28px; } }

.text > :last-child { margin-bottom: 0; }
.text + .text, .text + .actions, .image + .text, .tags + .text { margin-top: 1.2em; }
.text ul li { margin-bottom: .3em; }
.text blockquote, blockquote.testimonial { border-left: 4px solid var(--red); padding: .4em 0 .4em 1.2em; font-family: var(--head); text-transform: uppercase; font-size: 1.4rem; color: var(--navy); }
.dark blockquote { color: #fff; }
blockquote cite { display: block; font: italic .95rem var(--body); text-transform: none; color: var(--muted); margin-top: .5em; }

.image img { width: 100%; border-radius: 4px; box-shadow: 0 12px 30px rgba(21,23,33,.18); }
.image { margin: 0; }
.image + .image { margin-top: 24px; }
.schedule img { max-width: 1000px; margin: 0 auto; }

/* buttons */
.actions { margin: 1.4em 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }
.btn { display: inline-block; background: var(--red); color: #fff !important; text-decoration: none; font: 500 .95rem var(--head); text-transform: uppercase; letter-spacing: .1em; padding: 13px 28px; border-radius: 2px; transition: background .15s; }
.btn:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--navy) !important; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { background: var(--navy); color: #fff !important; }
.dark .btn-ghost, .hero .btn-ghost { color: #fff !important; }
.dark .btn-ghost:hover { background: #fff; color: var(--navy) !important; }

/* tags (list of services) */
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 1em 0; }
.tags li { border: 1px solid rgba(255,255,255,.35); padding: 4px 14px; border-radius: 30px; font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
.section:not(.dark):not(.hero) .tags li { border-color: var(--line); color: var(--navy); }

/* toggles / tabs */
.toggle { border: 1px solid var(--line); border-radius: 4px; margin-bottom: 10px; background: #fff; color: var(--ink); }
.toggle summary { cursor: pointer; padding: 14px 48px 14px 18px; font-family: var(--head); text-transform: uppercase; letter-spacing: .03em; color: var(--navy); position: relative; list-style: none; }
.toggle summary::-webkit-details-marker { display: none; }
.toggle summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 1.4rem; }
.toggle[open] summary::after { content: '−'; }
.toggle > div { padding: 0 18px 14px; }
.toggle > div a { color: var(--red) !important; }

/* blurbs + CTAs */
.blurb { border-left: 3px solid var(--red); padding: 4px 0 4px 18px; margin-bottom: 18px; }
.blurb h4 { margin-bottom: .3em; }
.cta { background: var(--bg-soft); padding: 32px; border-radius: 4px; text-align: center; }
.dark .cta, .hero .cta { background: rgba(255,255,255,.06); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; color: var(--ink); text-decoration: none; border-radius: 4px; overflow: hidden; box-shadow: 0 6px 22px rgba(21,23,33,.12); transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(21,23,33,.2); color: var(--ink); }
.card img, .card .ph { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card .ph { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); display: grid; place-items: center; }
.card .ph span { font: 600 2rem var(--head); color: rgba(255,255,255,.2); letter-spacing: .2em; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.2rem; margin-bottom: .4em; }
.card-body p { font-size: .92rem; color: var(--muted); flex: 1; margin-bottom: .8em; }
.card .more { font: 500 .85rem var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--red); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; transition: opacity .15s; }
.gallery a:hover img { opacity: .85; }

/* contact */
.contact-box { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); padding: 28px; border-radius: 4px; }
.section:not(.dark):not(.hero) .contact-box { background: var(--bg-soft); border-color: var(--line); }
.contact-box p { margin-bottom: .5em; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
.social { list-style: none; padding: 0; margin: 1em 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-block; padding: 5px 14px; border: 1px solid currentColor; border-radius: 30px; text-decoration: none; font-size: .85rem; }

/* tables */
table { border-collapse: collapse; width: 100%; margin-bottom: 1em; }
td, th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #b6b9c4; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .08em; }
.site-footer a { color: #e4e5ea; text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.footer-logo { width: 120px; }
.espa { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.espa img { width: 220px; background: #fff; border-radius: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
.footer-bottom .wrap { padding-top: 16px; padding-bottom: 16px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  .topbar .wrap { justify-content: center; gap: 16px; font-size: .8rem; }
}
