/*
Theme Name: Gym Theme
Description: A custom WordPress theme for the gym homepage with register functionality.
Version: 1.0
Author: Jonas
*/

body {
    font-family: Arial, sans-serif;
    background-color: #74529e; /* brand background from logo */
    color: #ffffff; /* readable text color */
}

.gym-home {
    text-align: center;
    padding: 1px 1px 10px; /* reduced top padding so logo sits higher */
    position: relative;
}

.wondr-iframe {
    height: 600px;
    border: none;
    width: 100%;
    background-color: #ffffff; /* gives iframe area a neutral background */
}

.gym-logo {
    max-width: 150px; /* adjust as needed */
    height: auto;     /* keep aspect ratio */
    margin-bottom: 20px;
    display: inline-block;
}

.gym-logo-link {
    display: inline-block;
    text-decoration: none;
    border: none;
}

/* Links and headings readability */
a, a:visited {
    color: rgba(255,255,255,0.95);
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

h1, h2, h3, h4 {
    color: #ffffff;
}

/* Footer and social links */
.site-footer {
    text-align: center;
    padding: 18px 12px;
    background: rgba(0,0,0,0.06);
    margin-top: 24px;
    color: #ffffff;
}
.social-links {
    margin-top: 6px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    padding: 2px;
    border-radius: 2px;
    transition: transform 0.12s ease, opacity 0.12s ease;
    font-size: 0; /* prevent extra whitespace around svg */
}
.social-link svg {
    width: 50px;
    height: 50px;
    fill: currentColor;
    opacity: 0.95;
}
.social-link:hover {
    transform: translateY(-2px);
    opacity: 1;
}
.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}


.gym-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.gym-modal-content {
  background: #ffffff;
  color: #111;
  max-width: 900px;
  margin: 5vh auto;
  padding: 2.5rem 3rem;
  border-radius: 8px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.gym-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #000;
}

.gym-modal ul li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
