:root {
  --bg: #0f172a;
  --panel: #111827;
  --card: #1f2937;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #22c55e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
}

/* HEADER / NAV */
header {
  background-color: var(--panel);
  color: white;
  padding: 15px;
  border-bottom: 1px solid #0b1220;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: bold;
}

#menuBtn {
  background: transparent;
  color: #fff;
  border: 1px solid #334155;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* MOBILE LINKS */
.links {
  display: grid;
  gap: 8px;
  padding: 10px 0 0 0;
}

.links a {
  color: var(--text);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid #0f172a;
}

/* DESKTOP LINKS */
.desktop-links {
  display: none;
  gap: 20px;
}

.desktop-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: bold;
}

/* LAYOUT */
section {
  padding: 40px 20px;
}

h1,
h2 {
  margin: 0 0 10px;
}

p {
  margin: 0 0 10px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: #06240f;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
}

/* CARDS */
.card {
  background-color: var(--card);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid #273244;
}

/* CONTACT FORM */
#contactForm {
  display: grid;
  gap: 8px;
  max-width: 520px;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  background: #0b1220;
  color: var(--text);
  border: 1px solid #1f2937;
  border-radius: 6px;
  padding: 10px;
}

#contactForm textarea {
  min-height: 120px;
}

#contactForm .form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

/* SUCCESS MESSAGE (GLOBAL) */
.success-message {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #022c22;
  border: 1px solid #16a34a;
  color: #bbf7d0;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 10px 20px 20px;
  color: var(--muted);
  border-top: 1px solid #0b1220;
}

/* HOVER EFFECTS */
.card,
.training-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.training-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* ============================= */
/* GALLERY SECTION (clean look)  */
/* ============================= */

/* The section itself */
#gallery {
  padding-top: 20px;
  padding-bottom: 20px;

  /* FORCE remove section borders */
  border: none !important;
}

.gallery-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Outer viewport — remove ALL box styling */
.gallery-viewport {
  overflow-x: auto;
  overflow-y: hidden;

  /* REMOVE the box completely */
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;

  scroll-behavior: smooth;
  scrollbar-width: none;
}

.gallery-viewport::-webkit-scrollbar {
  display: none;
}

/* Horizontal row */
.gallery-inner {
  display: flex;
  gap: 12px;
}

/* Images */
.gallery-inner img {
  width: 340px;
  height: 204px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid #273244;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}


/* Prev / Next buttons */
.gallery-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

/* DESKTOP MODE */
@media (min-width: 720px) {
  section {
    padding: 56px 24px;
    max-width: 900px;
    margin: 0 auto;
  }

  #menuBtn {
    display: none;
  }

  #mobileLinks {
    display: none !important;
  }

  .desktop-links {
    display: flex !important;
    align-items: center;
  }
}
