/* Reset */
* {
  box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #111;
  padding-top: var(--header-height);
}



#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  background: #0d132d; 
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: opacity 0.8s ease;
}

#preloader video {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  pointer-events: none; 
}










/* ################################  Scroll to page header button STYLING  ###################### */

.page-up-btn {
  position: fixed;
  bottom: 20px;
  left: 90%;
  transform: translateX(-50%);
  z-index: 1500;
  display:none;
}

.page-up-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid white;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease,
              background-color 0.3s ease,
              box-shadow 0.3s ease;
}

.page-up-btn a:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid white;
}

.page-up-btn a:active {
  transform: translateY(-2px);
}

.page-up-btn i {
  pointer-events: none;
}



@media (max-width: 700px){
  .page-up-btn{
    display: block;
  }
}







/* ################################  HEADER  STYLING  ###################### */


header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 50px;
  border-bottom: 2px solid #000;
  flex-wrap: wrap;
  gap: 20px;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;

  position: fixed;
  width: 100%;
}

.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: 10px 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: 8px 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; 
}


#row1,
#row2,
#row3 {
  scroll-margin-top: 180px; 
}



.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;
}


.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;
}

/* 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;
    margin-bottom: 3rem;
}

.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;
    }
}



@media (max-width: 900px) {
    .booking-section {
        justify-self: center;
        max-width: 600px !important;
        width: 100%;
    }
}







/* ################################      Membership Form   SECTION  STYLING  ###################### */


.membership-form-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: 1rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}



.membership-form-section-content{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #000000, rgb(13,19,45));
    transition: background 0.3s ease;
}


.membership-form-section-content small{
  color:white;
  max-width: 50%;
  text-align: center;
  order: 1;
  font-style: italic
}


.open-memebrship-form-btn{
  background: white;
  color: rgb(0, 0, 0);
  font-size: 16px;
  font-family: 'Be Vietnam Pro';
  padding: 8px 8px;
  border-radius: 15px;
  cursor:pointer;
  box-shadow: 0 2px 5px rgb(0, 0, 0);
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  border: 1px solid white;
}

.open-memebrship-form-btn:hover{
  box-shadow: 0 2px 5px rgb(255, 255, 255);
  transform: translateY(-2px);
}


.open-memebrship-form-btn i{
  padding: 5px 5px;
  border-radius: 5px;
  color: #0d132d;
  margin-right: 5px;
  font-size: 18px;
}



/* Modal Overlay & Container */
.membership-form-modal .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: flex-start;
    padding-top: 5vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.membership-form-modal .modal-overlay.active {
    display: flex;
}

.membership-form-modal .modal-container {
    background-color: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    animation: fadeInDown 0.3s ease-out;
    max-height: 85vh;
    overflow-y: auto;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Close Button */
.membership-form-modal .modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}
.membership-form-modal .modal-close-btn:hover {
    color: #333;
}

/* Steps Management */
.membership-form-modal .modal-step {
    display: none;
}
.membership-form-modal .modal-step.active {
    display: block;
}

/* Typography */
.membership-form-modal h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 24px;
}
.membership-form-modal p {
    color: #555;
    line-height: 1.5;
}
.membership-form-modal .form-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
    color: #7f8c8d;
}

/* Buttons */
.membership-form-modal .btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}
.membership-form-modal .btn:active {
    transform: scale(0.98);
}
.membership-form-modal .btn-secondary {
    background-color: #1d1c1c;
    color: white;
    border: 1px solid white;
}
.membership-form-modal .btn-secondary:hover:hover {
    background-color: #000000;
}
.membership-form-modal .btn-primary {
    background-color: #ecf0f1;
    color: #2c3e50;
}
.membership-form-modal .btn-primary:hover {
    background-color: #bdc3c7;
}
.membership-form-modal .full-width {
    width: 100%;
    margin-top: 10px;
}
.membership-form-modal .question-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}
.membership-form-modal .question-buttons .btn {
    flex: 1;
}

/* Info Notice (Yes Answer) */
.membership-form-modal .info-notice {
    text-align: center;
    padding: 20px 0;
}
.membership-form-modal .info-icon {
    width: 60px;
    height: 60px;
    background-color: #0d132d;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto 15px auto;
}
.membership-form-modal .info-notice h3 {
    color: #0d132d;
    margin-bottom: 10px;
}

/* Form Elements */
.membership-form-modal .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.membership-form-modal .form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.membership-form-modal label {
    font-size: 14px;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 6px;
}

.membership-form-modal input[type="text"],
.membership-form-modal input[type="tel"],
.membership-form-modal input[type="date"],
.membership-form-modal select {
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s;
    outline: none;
}
.membership-form-modal input:focus,
.membership-form-modal select:focus {
    border-color: #0d132d;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Custom Radio Buttons */
.membership-form-modal .radio-group {
    display: flex;
    gap: 20px;
}
.membership-form-modal .radio-label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    font-size: 15px;
}
.membership-form-modal .radio-label input {
    display: none;
}
.membership-form-modal .radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #7f8c8d;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: border-color 0.2s;
}
.membership-form-modal .radio-label input:checked ~ .radio-custom {
    border-color: #000000;
}
.membership-form-modal .radio-label input:checked ~ .radio-custom::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 10px;
    height: 10px;
    background-color: #0d132d;
    border-radius: 50%;
}


/* Scrollbar styling for the modal */
.membership-form-modal .modal-container::-webkit-scrollbar {
    width: 8px;
}
.membership-form-modal .modal-container::-webkit-scrollbar-track {
    background: #0d132d;
    border-radius: 4px;
}
.membership-form-modal .modal-container::-webkit-scrollbar-thumb {
    background: #0d132d;
    border-radius: 4px;
}




@media (max-width: 560px){

  .membership-form-section-content small{
    max-width: 100%;
  }
}




/* ################################  PAGE FOOTER  STYLING  ###################### */









footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 5%; 
  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;
  }
}