/*

Tooplate 2119 Gymso Fitness

https://www.tooplate.com/view/2119-gymso-fitness

*/

  @font-face {
      font-family: 'Plain';
      src: url('../fonts/Plain-Regular.woff2') format('woff2'),
          url('../fonts/Plain-Regular.woff') format('woff');
      font-weight: normal;
      font-style: normal;
  }

  @font-face {
      font-family: 'Plain';
      src: url('../fonts/Plain-Light.woff2') format('woff2'),
          url('../fonts/Plain-Light.woff') format('woff');
      font-weight: 300;
      font-style: normal;
  }

  @font-face {
      font-family: 'Plain';
      src: url('../fonts/Plain-Bold.woff2') format('woff2'),
          url('../fonts/Plain-Bold.woff') format('woff');
      font-weight: bold;
      font-style: normal;
  }

  :root {
/*    --primary-color:        #f13a11;*/
    --primary-color:        #41c3b8;
    --white-color:          #ffffff;
    --dark-color:           #171819;
    --about-bg-color:       #f9f9f9;

    --gray-color:           #909090;
    --link-color:           #404040;
    --p-color:              #666262;

    --base-font-family:     'Plain', sans-serif;
    --font-weight-bold:     bold;
    --font-weight-normal:   normal;
    --font-weight-light:    300;
    --font-weight-thin:     100;

    --h1-font-size:         48px;
    --h2-font-size:         36px;
    --h3-font-size:         28px;
    --h4-font-size:         24px;
    --h5-font-size:         22px;
    --h6-font-size:         22px;
    --p-font-size:          18px;
    --base-font-size:       16px;
    --menu-font-size:       14px;

    --border-radius-large:  100%;
    --border-radius-small:  2px;
  }


  body {
    background: var(--white-color);
    font-family: var(--base-font-family);
  }


  /*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

  h1,h2,h3,h4,h5,h6 {
    font-weight: var(--font-weight-thin);
    line-height: normal;
  }

  h1 {
    font-size: var(--h1-font-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: -1px;
    text-transform: uppercase;
    margin: 20px 0;
  }

  h2 {
    font-size: var(--h2-font-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: -2px;
  }

  h3 {
    font-size: var(--h3-font-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: -1px;
    margin: 0;
  }

  h4 {
    font-size: var(--h4-font-size);
  }

  h5 {
    font-size: var(--h5-font-size);
  }

  h6 {
    color: var(--gray-color);
    font-size: var(--h6-font-size);
    line-height: inherit;
    margin: 0;
  }

  p {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
    line-height: 1.5em;
  }

  b, 
  strong {
    font-weight: var(--font-weight-bold);
    letter-spacing: 0;
  }

  .section {
    padding: 4.5rem 0;
  }


  /* BUTTON */

  .custom-btn {
    background: transparent;
    border-radius: var(--border-radius-small);
    padding: 14px 24px;
    color: var(--white-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
  }

  .custom-btn:hover {
    color: var(--primary-color);
  }

  .custom-btn:focus {
    box-shadow: none;
  }

  .custom-btn.bordered:hover,
  .custom-btn.bordered:focus,

  .custom-btn.bg-color:hover,
  .custom-btn.bg-color:focus {
    background: var(--white-color);
    border-color: transparent;
    color: var(--primary-color);
  }

  .bordered {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
  }

  .bg-color {
    background: var(--primary-color);
    color: var(--white-color);
  }



  /*---------------------------------------
     GENERAL               
  -----------------------------------------*/

  * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  *::before,
  *::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  a {
    color: var(--link-color);
    font-weight: normal;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  a:hover, 
  a:active, 
  a:focus {
    color: var(--primary-color);
    outline: none;
    text-decoration: none;
  }


  /* BG OVERLAY */

  .bg-overlay {
    background: transparent;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }


  /*---------------------------------------
     MODAL              
  -----------------------------------------*/

  .modal-content {
    padding: 2rem 3rem;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    border: 0;
    padding: 0;
  }

  .membership-form a {
    color: var(--primary-color);
  }


  /*---------------------------------------
    FEATURE          
  -----------------------------------------*/

  .feature {
    background: var(--dark-color);
    padding: 5rem 0;
  }

  /* Custom — Willa Świerkowa: green Dojazd button, lighter contact text, globe icon, dark‑green hovers */
  .feature p {
    color: rgba(255,255,255,0.92);
  }

  .feature .contact-number {
    color: #eef6ee; /* slightly brighter for phone */
    font-weight: 600;
  }

  .feature .fa-globe {
    margin-right: 8px;
    color: #b6d6bf;
  }

  .btn-forest {
    background: #2e8b57; /* forest green */
    border-color: #2e8b57;
    color: #ffffff;
  }

  .btn-forest:hover,
  .btn-forest:focus {
    background: #1b5e3a; /* darker green on hover */
    border-color: #1b5e3a;
    color: #ffffff;
    box-shadow: none;
  }

  /* Use dark-green highlights inside the feature section instead of the site turquoise */
  .feature a:hover,
  .feature a:focus {
    color: #1b5e3a;
  }


  /*---------------------------------------
     MENU             
  -----------------------------------------*/

  .navbar {
    background: var(--dark-color);
    padding: 1rem;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .navbar-brand {
    color: var(--white-color);
    font-size: var(--h3-font-size);
    font-weight: var(--font-weight-bold);
    line-height: normal;
    padding-top: 0;
  }

  .nav-item .nav-link {
    display: block;
    color: var(--white-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    padding: 2px 6px;
  }

  .nav-item .nav-link.active,
  .nav-item .nav-link:hover {
    color: var(--primary-color);
  }

  .navbar .social-icon li a {
    color: var(--white-color);
  }

  .navbar-toggler {
    border: 0;
    padding: 0;
    cursor: pointer;
    margin: 0 10px 0 0;
    width: 30px;
    height: 35px;
    outline: none;
  }

  .navbar-toggler:focus {
    outline: none;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
    top: 0;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
  }

  .navbar-toggler .navbar-toggler-icon {
    background: var(--primary-color);
    transition: background 10ms 300ms ease;
    display: block;
    width: 30px;
    height: 2px;
    position: relative;
  }

  .navbar-toggler .navbar-toggler-icon::before,
  .navbar-toggler .navbar-toggler-icon::after {
    transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
    position: absolute;
    right: 0;
    left: 0;
    background: var(--primary-color);
    width: 30px;
    height: 2px;
    content: '';
  }

  .navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
  }

  .navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
  }

  /*---------------------------------------
     HERO              
  -----------------------------------------*/

/* Room details modal carousel image sizing */
#roomDetailsModal .room-carousel-img { width:100%; height:400px; object-fit:cover; }
@media (max-width:768px) {
  #roomDetailsModal .room-carousel-img { height:auto; }
}

  .hero {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    vertical-align: middle;
    min-height: 100vh;
    position: relative;
  }

  .hero-text {
    background: rgba(12, 14, 18, 0.6);
    border-radius: 18px;
    padding: 28px 36px 30px;
    display: inline-block;
    max-width: 720px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  }

  .hero-text h6 {
    color: rgba(255,255,255,0.78);
  }

  @media (max-width: 767px) {
    .hero-text {
      padding: 22px 22px 24px;
      border-radius: 14px;
    }
  }


  /*---------------------------------------
     CLASS               
  -----------------------------------------*/

  .class-info {
    background: var(--white-color);
    box-shadow: 6px 0 38px rgba(20,20,20,0.10);
    border-radius: 0 0 2px 2px;
    padding: 1rem 2rem;
    position: relative;
    min-height: 310px;
    display: flex;
    flex-direction: column;
  }

  /* Rooms selector — filters and card tweaks */
  .room-filter .btn,
  .room-subfilter .btn {
    margin: 0 6px;
    padding: 8px 18px;
    text-transform: none;
    color: rgba(255,255,255,0.9);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    transition: all .18s ease;
  }
  .room-filter .btn.active,
  .room-subfilter .btn.active {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.22);
    color: #fff;
  }

  .room-filter .btn:focus,
  .room-subfilter .btn:focus {
    outline: none;
    box-shadow: none;
  }

  /* Light-background overrides for the Rooms section (visible on white) */
  .class .room-filter .btn,
  .class .room-subfilter .btn {
    color: var(--link-color); /* dark text on white */
    background: #f7f7f7;
    border: 1px solid rgba(0,0,0,0.06);
  }
  .class .room-filter .btn:hover,
  .class .room-subfilter .btn:hover {
    background: #eef6f2;
  }
  .class .room-filter .btn.active,
  .class .room-subfilter .btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
  }

  .room-card {
    display: flex;
    margin-bottom: 30px;
  }

  .room-card .class-thumb {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .room-card .class-info {
    flex: 1;
  }

  .room-card .room-features {
    margin-bottom: auto !important;
  }
  .room-card[style*="display: none"] { display: none !important; }

  /* highlight single result (used when capacity=4) */
  .room-card.highlight {
    box-shadow: 0 12px 40px rgba(30,80,40,0.35);
    transform: translateY(-6px);
    border: 3px solid #1b5e3a;
    transition: all .25s ease;
    z-index: 5;
  }

  .price-strap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16,18,22,0.85);
    color: #ffffff;
    padding: 12px 18px;
    font-size: 16px;
    text-align: center;
    border-radius: 0 0 2px 2px;
  }
  .price-strap strong { font-size: 22px; display: inline-block; margin: 0 6px; }

  .room-features li { color: #6b6b6b; margin-bottom: 6px; }

  /* dark reserve button */
  .btn-dark {
    background: #222033;
    border-color: #222033;
    color: #fff;
  }
  .btn-dark:hover,
  .btn-dark:focus { background: #16121f; border-color: #16121f; color: #fff; }

  /* small adjustments for mobile */
  @media (max-width: 767px) {
    .price-strap { font-size: 14px; }
    .price-strap strong { font-size: 18px; }
  }

  .class-info img {
    border-radius: 2px 2px 0 0;
  }

  .class-info strong {
    color: var(--gray-color);
  }

  .class-price {
    background: var(--primary-color);
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-weight: var(--font-weight-bold);
    display: block;
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    line-height: 3.5rem;
    text-align: center;
  }


  /*---------------------------------------
     SCHEDULE             
  -----------------------------------------*/

  .schedule {
    background: var(--dark-color);
  }

  .booking-form {
    margin-top: 2rem;
  }

  .booking-subtitle {
    color: rgba(255,255,255,0.85);
    margin: 10px 0 14px;
  }

  .booking-prompt {
    color: rgba(255,255,255,0.75);
    text-align: center;
    padding: 14px 18px;
    border: 1px dashed rgba(255,255,255,0.25);
    border-radius: 10px;
    max-width: 720px;
    margin: 0 auto 12px;
  }

  .booking-selected {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 12px;
    padding: 12px 16px;
    max-width: 720px;
    margin: 0 auto 12px;
  }

  .booking-selected-img {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
  }

  .booking-selected-label {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
  }

  .booking-selected-name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
  }

  .booking-room-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin: 1.2rem 0 1.6rem;
  }

  .room-choice-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .room-choice-card {
    width: calc(20% - 12px);
    background: #111215;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 10px 10px 12px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  }

  .room-choice-card:hover {
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-2px);
  }

  .room-choice-input:checked + .room-choice-card {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
  }

  .room-choice-img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
  }

  .room-choice-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
  }

  .room-choice-meta {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 2px;
  }

  .booking-input {
    text-align: center;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.2);
    background: #fff;
  }

  .booking-submit {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    padding: 12px 34px;
    border-radius: 6px;
  }

  .booking-submit:hover,
  .booking-submit:focus {
    background: #ffffff;
    color: var(--primary-color);
  }

  #priceSummary {
    max-width: 900px;
    margin: 1.5rem auto 0;
  }

  #priceSummary .alert {
    margin: 0 auto;
    border-radius: 8px;
  }

  #priceSummary .alert-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
  }

  #priceSummary .alert-primary a {
    color: #ffffff;
    text-decoration: underline;
  }

  .schedule-table {
    display: table;
    border: 0;
    text-align: center;
  }

  @media (max-width: 991px) {
    .room-choice-card { width: calc(33.333% - 12px); }
  }

  @media (max-width: 767px) {
    .room-choice-card { width: calc(50% - 12px); }
    .booking-form { margin-top: 1.5rem; }
    .booking-selected { flex-direction: column; text-align: center; }
    .booking-selected-img { width: 100%; height: 160px; }
  }

  @media (max-width: 575px) {
    .room-choice-card { width: 100%; }
  }

  .schedule-table strong,
  .schedule-table span {
    display: block;
    text-align: center;
  }

  .schedule-table strong {
    color: var(--white-color);
  }

  .schedule-table span {
    color: var(--gray-color);
  }

  .schedule-table span,
  .schedule-table small {
    font-size: var(--menu-font-size);
    text-transform: uppercase;
  }

  .schedule-table small {
    position: relative;
    top: 10px;
  }

  .table .thead-light th,
  .schedule-table tr td:first-child {
    background: var(--primary-color);
    border: 1px solid #212122;
    color: var(--white-color);
  }

  .schedule-table .thead-light th {
    border-bottom: 0;
    text-transform: uppercase;
  }

  .table-bordered td, 
  .table-bordered th {
    border: 1px solid #212122;
  }

  .table-bordered td {
    padding-bottom: 22px;
  }

  .table td, .table th {
    padding: 1rem;
  }


  /*---------------------------------------
      ABOUT & TEAM            
  -----------------------------------------*/

  .about {
    background: var(--about-bg-color);
  }

  .about-working-hours {
    border-left: 2px solid;
    padding-left: 3.5rem;
  }

  .about-working-hours strong {
    color: var(--white-color);
    opacity: 0.85;
  }

  .team-thumb {
    position: relative;
  }

  .team-info {
    background: var(--white-color);
    border-radius: 0 0 2px 2px;
    box-shadow: 6px 0 38px rgba(20,20,20,0.10);
    padding: 20px;
    position: relative;
  }

  .team-info span {
    font-weight: var(--font-weight-light);
    opacity: 0.85;
  }

  .team-info .social-icon {
    position: absolute;
    top: 10px;
    right: 20px;
  }

  .team-info .social-icon li {
    display: block;
  }


  /*---------------------------------------
     CONTACT              
  -----------------------------------------*/

  .webform input,
  button#submit-button {
    height: calc(2.25rem + 20px);
  }

  .form-control {
    border-radius: var(--border-radius-small);
    margin: 1.3rem 0;
  }

  .form-control:focus {
    box-shadow: none;
    border-color: var(--dark-color);
  }

  button#submit-button {
    background: var(--dark-color);
    border-color: transparent;
    color: var(--white-color);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  button#submit-button:hover {
    background: var(--primary-color);
  }

  .contact h2 + p {
    max-width: 90%;
  }

  .google-map {
    border-top: 1px solid #efebeb;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
  }

  .google-map iframe {
    width: 100%;
  }


  /*---------------------------------------
     FOOTER              
  -----------------------------------------*/

  .site-footer {
    border-top: 1px solid #efebeb;
    padding: 3rem 0;
  }

  .site-footer a {
    color: var(--p-color);
    font-weight: var(--font-weight-light);
  }

  .site-footer p {
    font-size: calc(var(--base-font-size) + 3px);
  }

  .site-footer strong {
    font-size: calc(var(--base-font-size) + 5px);
  }

  .site-footer .footer-info-row > [class*="col-"] {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .contact .fa,
  .site-footer .fa {
    color: var(--primary-color);
  }


  /*---------------------------------------
     SOCIAL ICON              
  -----------------------------------------*/

  .social-icon {
    position: relative;
    padding: 0;
    margin: 5px 0 0 0;
  }

  .social-icon li {
    display: inline-block;
    list-style: none;
  }

  .social-icon li a {
    text-decoration: none;
    display: inline-block;
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-bold);
    margin: 5px 10px;
    text-align: center;
  }

  .social-icon li a:hover {
    color: var(--primary-color);
  }


  /*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/

  @media screen and (max-width: 992px) {

    .section {
      padding: 5rem 0;
    }

    .nav-item .nav-link {
      padding: 6px;
    }

    .navbar .social-icon {
      margin-top: 22px;
    }

    .navbar-collapse,
    .site-footer {
      text-align: center;
    }

    .schedule-table {
      display: block;
    }

    .modal-content {
      padding: 2rem;
    }
  }

  @media screen and (max-width: 767px) {

    h1 {
      font-size: 38px;
    }

    .about-working-hours {
      border-left: 0;
      padding: 22px 0 0 0;
    }

    .contact h2 span {
      display: block;
    }
  }