/* Reset */
* {
  box-sizing: border-box;
}

.html{
    scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #111;
}




/* ################################  HEADER  STYLING  ###################### */


header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 50px;
  background-color: white;
  border-bottom: 2px solid #000000;
  position: relative;
  flex-wrap: wrap; 
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 1000; 
  background-color: #ffffff; 
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.logo img {
  height: 80px;
  width: auto;
}

.logo span {
  font-family: 'Italianno', cursive;
  font-size: 2.1rem;
  font-weight: bold;
  color: #000;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Horizontal menu styling */
.horizontal-menu ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.horizontal-menu ul li a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.7s ease;
}

.horizontal-menu ul li a:hover {
  color: #ffffff;
  background-color: rgb(0, 0, 0);
  border-radius: 5px;
  padding: 10px 10px;
}













/* Languages menu styling */

/* Header language toggle button */


.header-lang-toggle {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #f5f5f5;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  margin-left: 15px;
}

.header-lang-toggle:hover {
  background: #111;
}

.header-lang-toggle i {
  color: #111;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.header-lang-toggle:hover i {
  color: #fff;
}


.header-lang-options {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;       /* hidden by default */
  flex-direction: column;
  background: white;
  border: 1px solid #000;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(13, 19, 45, 0.1);
  width: 220px;
  z-index: 1000;
  user-select: none;
  padding: 15px 0;
}

.header-lang-options ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-lang-options ul li {
  padding: 10px 20px;
}

.header-lang-options .lang-btn {
  position: relative;
  padding: 10px 20px;
  width: 100%;
  color: rgb(0, 0, 0);
  font-weight: bold;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.header-lang-options .lang-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  background-color: rgb(13, 19, 45);
  opacity: 0.9;
  transition: width 0.3s ease;
  z-index: -1;
  border-radius: 4px;
}

.header-lang-options .lang-btn:hover::before,
.header-lang-options .lang-btn:focus::before {
  width: 100%;
}

.header-lang-options .lang-btn:hover,
.header-lang-options .lang-btn:focus {
  color: white;
}


.header-lang-toggle.active .header-lang-options {
  display: flex;
  flex-direction: column;
}


/* ==================== Header Language Dropdown for Small Screens ==================== */



@media (max-width: 768px) {
  .header-lang-options {
    position: absolute; 
    top: 100%;          
    left: 0;
    width: 100%;        
    border: none;
    box-shadow: none;
    padding: 10px 0;
    flex-direction: column;
    background: white;
    display: none;     
    z-index: 1000;
  }

  .header-lang-options ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .header-lang-options ul li {
    padding: 12px 30px;  
  }


  .header-lang-toggle.active .header-lang-options {
    display: flex;
  }
}











/* Hamburger icon */
.nav-icon {
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.nav-icon div {
  height: 4px;
  background-color: black;
  border-radius: 2px;
}

/* Dropdown menu - hidden by default */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 50px;
  background: white;
  border: 1px solid #000000;
  box-shadow: 0 4px 8px rgba(13, 19, 45, 0.1);
  width: 220px;
  padding: 15px 0;
  display: none;
  flex-direction: column;
  z-index: 1000;
  border-radius: 5px;
  user-select: none;
}

.dropdown-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu ul li {
  padding: 10px 20px;
}

.dropdown-menu ul li a {
  position: relative;
  padding: 10px 20px;
  color: rgb(0, 0, 0);
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
  overflow: hidden;
}


.dropdown-menu ul li a:hover,
.dropdown-menu ul li a:focus {
  color: white;
  outline: none;
}

/* Creating a sliding highlight bar */
.dropdown-menu ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background-color: rgb(13, 19, 45);
  opacity: 0.9;
  transition: width 0.3s ease;
  z-index: -1;
  border-radius: 4px;
}

/* Animating highlight bar on hover/focus */
.dropdown-menu ul li a:hover::before,
.dropdown-menu ul li a:focus::before {
  width: 100%;
}

/* Showing dropdown when active */
.dropdown-menu.active {
  display: flex;
}



/* =========================================================================== */
/* =========================================================================== */




/* Responsive Design adjustments */

@media (max-width: 768px) {
  /* Hide horizontal menu on small screens */
  .horizontal-menu {
    display: none;
  }

  /* Dropdown menu - position fixed full width below header */
  .dropdown-menu {
    position: static;
    width: 100%;
    border: none;
    box-shadow: none;
    padding: 10px 0;
  }

  .dropdown-menu ul li {
    padding: 12px 30px;
  }

  /* Make header flex wrap so logo + hamburger stack nicely */
  header {
    padding: 15px 30px;
  }
}

@media (max-width: 768px) {
  .logo span {
    display: none;
  }
}







/* ################################  PAGE CONTENT's HEADER  STYLING  ###################### */



.memberships-header {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #0d132d;
    color: #fff;
    font-family: 'Arial', sans-serif;
    border-bottom: 3px solid #fff;
}

.memberships-header h3 {
    font-size: 2rem;
    margin: 0;
    font-weight: bold;
    letter-spacing: 1px;
}

.memberships-header h3 u {
    text-decoration-color: #fff;
    text-decoration-thickness: 3px;
}





/* ################################  PAGE CONTENT  LAYOUT  STYLING  ###################### */



.memberships-layout {
    display: grid;
    grid-template-columns: 1.5fr 3.5fr;
    min-height: 90vh;
    width: 100%;
}



/* ################################  CONTENT   LEFT  SIDE (Membership categories)  STYLING  ###################### */



.categories-list {
    background-color: #0d132d;
    color: #fff;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 4px 0 15px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
}




.categories-list h2 {
    margin: 0;
    font-size: 1.2rem;
    border: 1px solid #fff;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    margin-bottom: 14rem;
    margin-top: 10rem;
    box-shadow: 4px 0 15px rgba(255, 255, 255, 0.1);
    transition: all 0.4 ease-in-out;
}

.categories-list a {
    text-decoration: none;
    color: inherit;      
    display: block;   
}

.categories-list h2:hover {
    border: 1px solid #000000;
    color:black;
    box-shadow: 4px 0 15px rgba(255, 255, 255, 0.7);
    background-color: white;
}




/* ################################  CONTENT   RIGHT  SIDE (Membership Cards)  STYLING  ###################### */



/* Background image */
.image-side {
    position: relative;
    background-image: url('../graphics/Bckground-about 2.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 3rem 1rem;
    overflow: visible;
}

/* Cards container */
.memberships-cards {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

/* Each row: vertical alignment with respective category */
.membership-section {
    display: flex;
    align-items: center; 
    gap: 2rem;
    width: 100%;
}

/* Card rows - stretch cards equally */
.card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; 
}

.card-row .membership-card {
    flex: 1 1 calc((100% - 2rem) / 3); 
    max-width: 100%;
    margin: 0;
    margin-bottom: 3rem;
    margin-top: 2rem;
}




/* Card styling */

.membership-card {
    background-color: rgba(255, 255, 255);
    color: #000000;
    border-radius: 4px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease-in-out, border 0.3s ease-in-out;
    cursor: pointer;
    border: 1px solid black;
}

.membership-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.85);
    background-color: rgb(0, 0, 0);
    color: white;
    border: 1px solid white;
}

/* Highlighting first card in first row (special offer) */

#row1 .membership-card:first-child {
    border: 3px solid #b98d13;   
    box-shadow: 0 15px 35px rgba(255,255,255,0.3);  
    background-color: rgba(184, 173, 173, 0.95);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}


#row1 .membership-card:first-child:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(128, 98, 18, 0.9);
    color: #ffffff;
}

#row1 .membership-card:first-child:hover a {
    text-decoration: underline;
    color: rgb(13, 19, 45);
}

.membership-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}

.membership-card p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.membership-card a {
    color: inherit;
    text-decoration: none;
}


.membership-card .price i,
.membership-card .info-line i {
    transition: transform 0.3s ease;
}

.membership-card:hover .price i,
.membership-card:hover .info-line i {
    transform: rotate(20deg);
}


.membership-card .price {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-decoration: underline;
    margin-top: 2rem;
}

.membership-card .info-line {
    font-size: 0.85rem;
}




/* =========================================================================== */
/* =========================================================================== */


/* Responsive Design adjustments */


@media (max-width: 768px) {
    .memberships-layout {
        grid-template-columns: 1fr;
    }

    .categories-list {
        width: 100%;
        height: auto;
        gap: 0.8rem;
        padding: 2rem;
    }


    .categories-list h2 {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .membership-section {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .card-row .membership-card {
        flex: 1 1 100%;
        max-width: 100%;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}














/* ################################      INFO + BOOKING       SECTION  STYLING  ###################### */


/* Content Wrapper (Background) */

.booking-wrapper {
    position: relative;
    background-image: url('../graphics/Bckground-about 2.png');
    background-size: cover;
    background-position: center;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 3px solid white;
}

/* Dropdown Section Box */
.booking-section {
    width: 100%;
    max-width: 1200px; 
    background: #ffffff;
    font-family: 'Be Vietnam Pro', sans-serif;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 3rem;
    border-radius: 20px;
}

.booking-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* Dropdown Section   Header */
.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    cursor: pointer;
    background: linear-gradient(135deg, #000000, rgb(13,19,45));
    transition: background 0.3s ease;
}

.booking-header:hover {
    background: linear-gradient(135deg, rgb(13,19,45), #000000);
}

.booking-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
}

/* Dropdown Section   Toggle Button */
.toggle-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.booking-section.active .toggle-btn {
    transform: rotate(180deg);
}

/* Dropdown Section   Description */
.booking-description {
    display: none;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    color: #000000;
    line-height: 1.6;
}

.booking-section.active .booking-description {
    display: block;
}





/* =========================================================================== */
/* =========================================================================== */


/* Responsive Design adjustments */

@media (max-width: 768px) {
    .booking-section {
        margin-top: 2rem;
        border-radius: 15px;
    }

    .booking-header {
        padding: 1rem;
        font-size: 1.2rem;
    }

    .booking-description {
        font-size: 1rem;
        padding: 1rem;
    }
}






/* ################################  NAVIGATION BUTTONS  STYLING  ###################### */



.end-btns {
  display: flex;
  justify-content: center; 
  align-items: center;
  background: linear-gradient(135deg, #000000, rgb(13,19,45));
  padding: 20px 40px;
  margin-top: 10px;
  gap: 3rem; 
  border-radius: 20px;
  flex-wrap: wrap; 
  max-width: 1200px;
  width: 100%;
}

.section-end-btn {
  background-color: white;
  color: black;
  border: 2px solid black;
  padding: 12px 24px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.5s ease-in-out,
              color 0.5s ease-in-out,
              border-color 0.5s ease-in-out,
              box-shadow 0.5s ease-in-out,
              transform 0.3s ease-in-out;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.1);
}

.section-end-btn:hover {
  background-color: black;
  color: white;
  border-color: white;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.4);
}



/* =========================================================================== */
/* =========================================================================== */



/* Responsive Design adjustments */

@media (max-width: 768px) {
  .end-btns {
    flex-direction: column;
    gap: 1rem;
    padding: 15px;
  }

  .section-end-btn {
    width: 100%; 
    text-align: center;
  }
}












/* ################################  BOOKING SECTION (Left - Poster ; quote) | (Right - Booking Form)  STYLING  ###################### */











.contacts-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: white;
  border-top: 2px solid #fafafa;
  box-sizing: border-box;
  overflow: hidden; 
}

.contacts-left, .contacts-right {
  flex: 1 1 100%; 
  max-width: 600px; 
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  
  align-items: center;
  padding: 20px; 
  border-radius: 20px 20px 0 0;
}

.contacts-left {
  background-color: white;
  color: black;
  text-align: center;
}

.contacts-right {
  background-color: black;
  color: white;
  text-align: center;
}

/* LEFT SIDE */

.contacts-image {
  width: 80%;
  max-width: 360px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin: 4rem auto 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.9);
}

.gym-quote {
  font-style: italic;
  font-size: 1.4rem;
  margin-bottom: 4rem;
  color: #070505;
  border-left: 4px solid #000;
  padding-left: 5px;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

/* RIGHT SIDE */

form {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.contacts-right h3 {
  font-family: "Be Vietnam Pro";
  font-size: 2rem;
  margin-bottom: 40px;
}

form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 400;
  font-size: 0.8rem;
}

form input, form textarea {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 20px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

form textarea {
  resize: vertical;
}

.agreement {
  display: flex;
  align-items: center;
  margin: 40px 0 20px 0;
  font-size: 0.9rem;
  color: #ffffff;
}

.agreement input[type="checkbox"] {
  margin-right: 0px;
}

/* Honeypot field */
.honeypot {
  display: none;
}

/* Emoji captcha */
.emoji-captcha {
  margin-bottom: 25px;
  font-size: 1rem;
  text-align: center;
  color: white;
}

.emoji-captcha p {
  margin-bottom: 12px;
  font-weight: 500;
}

.emoji-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 2rem;
}

.emoji-options span {
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease;
  padding: 8px 12px;
  border-radius: 8px;
}

.emoji-options span:hover {
  transform: scale(1.2);
  background-color: rgba(255, 255, 255, 0.1);
}

.emoji-options span.selected {
  background-color: rgba(255, 255, 255, 0.2);
  outline: 2px solid white;
  transform: scale(1.15);
}

form button {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  outline: 2px solid rgb(0, 0, 0);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #000000;
  color:#ffffff;
  outline: 2px solid #fff;
}



/* ======================= */
/* Responsive Design */



@media (max-width: 900px) {
  .contacts-section {
    flex-direction: column;
    padding: 20px;
    max-width: 100%;
  }

  .contacts-left, .contacts-right {
    flex: 1 1 100%;
    padding: 20px;
  }

  .contacts-image {
    width: 80%;
    max-width: 280px;
    margin: 2rem auto 1rem;
    height: auto;
  }

  .gym-quote {
    margin-bottom: 2rem;
  }

  form {
    max-width: 100%;
  }
}


@media (min-width: 600px) {
  .contacts-left, .contacts-right {
    flex: 1 1 50%;
  }
}

.contacts-image {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin: 2rem auto 1rem;
}

.gym-quote {
  max-width: 90%;
  margin: 0 auto 2rem;
}


body, html {
  overflow-x: hidden;
}













/* ################################  PAGE FOOTER  STYLING  ###################### */












footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 5%; /* make horizontal padding % instead of fixed px */
  background-color: #f8f8f8;
  color: rgb(0, 0, 0);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1rem;
  border-top: 2px solid black;
  flex-wrap: wrap; 
}

.footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Contact links styling */
.left-contact, .right-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgb(0, 0, 0);
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 4px;
  transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
  cursor: pointer;
  flex-shrink: 0; 
}

/* Hover effects */
.left-contact:hover, .right-contact:hover {
  background-color: rgb(13, 19, 45);
  color: #f0f0f0;
}

.left-contact:hover i, .right-contact:hover i {
  color: #f0f0f0;
}

/* Footer headings */
footer h5 {
  margin: 0;
  font-weight: 400;
  font-size: 1rem;
}


/* RESPONSIVE: For screens smaller than 768px */
@media (max-width: 768px) {
  .lang-toggle {
    display: none;
  }
}




