.location-content-btn {
    background-color: #013339;
    padding: 50px 0px;
    border-radius: 10px;
}
.location-content-btn h1 {
    color: #fff !important;
}
.location-section {
    padding: 0px 0 0px!important;
    z-index: 80;
}
.location-bottom-boxes {
  padding: 0px!important;
}
/* Main container styling */
.location-section {
    padding: 0px 20px 30px 0px;
    background-color: #fff;
    position: relative;
}

.location-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 20px; /* ⬅️ add some breathing room below the links */
}

.location-tabs {
  display: flex;
  justify-content: space-evenly; /* Spread buttons evenly across available space */
  align-items: center;
  flex: 1; /* Take up available width between arrows */
  transition: transform 0.3s ease-in-out;
  will-change: transform;
  gap: 0; /* We'll let space-evenly handle spacing */
}

.tab-button {
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  font-size: 16px;
  padding: 10px 25px; /* Slightly larger hit area */
  text-align: center;
  white-space: nowrap;
  flex: 0 1 auto; /* Allow buttons to size naturally */
}

.tab-button.active {
    color: #1a1a1a;
    background-color: #fff0;
    box-shadow: none;
}
.tab-button:hover {
    color: #1a1a1a;
    background-color: #fff0;
    box-shadow: none;
}

.nav-arrow {
    background-color: #487794;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 15px 20px !important;
    margin-right: 20px;
}



.location-info {
  display: none; /* Hide by default */
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* Image styling */
.location-image {
    max-width: 50%; /* Adjust width as needed */
    height: 400px;
    border-radius: 10px; /* Optional: rounded corners */
    object-fit: cover; /* Ensures the image maintains aspect ratio */
    width: 50%;
}

.location-details {
    max-width: 50%;
    text-align: left;
}

.location-details h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.location-details p {
    font-size: 14px;
    color: #666;
}

.location-tags {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.location-tag {
    background: #d3dde8;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.booking-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #673ab7; /* Purple button */
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 15px;
}


.location-section:before {
    position: relative;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff!important;
    z-index: -1;
}
.location-info {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateX(50px); /* Start slightly off-screen */
}

.location-info.show {
    opacity: 1;
    transform: translateX(0); /* Bring it back to its place */
}

.location-content {
    position: relative;
    width: 100%;
    height: auto; /* Ensures container height adjusts to the content */
}

.location-info {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%); /* Initially position off-screen */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.location-info.show {
  display: block;
  opacity: 1;
}

.location-info.hide {
  display: none;
  opacity: 0;
}
.location-content-two {
    background: #013339;
    display: inline-block;
    height: auto;
    text-align: center;
    width: 50%;
    padding: 50px;
    border-radius:15px;
    color: #fff;
}
.location-content-two h3 {
  color:#fff;
}
.location-content-two {
    align-items: center;
    background-color: #103b40;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    max-width: 650px;
    min-height: 200px;
    padding: 40px 20px;
    width: 100%;
    margin-top: 20px;
    z-index: 9;
    position: relative;
}

.location-title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
}

.location-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    border: 2px solid #fff;
    border-radius: 40px;
    text-decoration: none;
    font-size: 18px;;
    color: #fff;
    background-color: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}



.location-icon {
    display: inline-block;
    margin-right: 10px;
}

.location-icon svg {
    stroke: #fff;
    width: 35px;
    height: 35px;
}



.location-label {
    display: inline-block;
    font-size:24px;
}

/* Optional - Media query to adjust the size for smaller screens */
@media (max-width: 768px) {
    .location-title {
        font-size: 24px;
    }

    .location-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}
.custom-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #7e398e; /* Purple background */
    color: #ffffff; /* White text */
    font-size: 16px;
    text-decoration: none;
    border-radius: 50px; /* Fully rounded button */
    text-align: center;
    transition: background-color 0.3s ease;
    border: 2px solid #7e398e;
}


.available-options p {
    font-size: 16px;
    margin-bottom: 10px;
}

.options-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.option {
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 14px;
    text-align: center;
    display: inline-block;
}

.self-storage {
    background-color: #1b4f3b; /* Green background for Self Storage */
    color: #ffffff; /* White text */
  border-radius: 0px 30px 30px 0px;
      border: 1px solid #1b4f3b;
}

.trade-storage {
    border: 2px solid #1b4f3b; /* Green border for Trade Storage */
    color: #1b4f3b;
    background-color: #ffffff;
  border-radius: 0px 30px 30px 0px;
}

.office-space {
    background-color: #3c556d; /* Blue background for Office Space */
    color: #ffffff; /* White text */
  border-radius: 0px 30px 30px 0px;
      border: 1px solid #3c556d;
}

.co-working {
    border: 2px solid #3c556d; /* Blue border for Co-working */
    color: #3c556d;
    background-color: #ffffff;
    border-radius: 0px 30px 30px 0px;
}
button.nav-arrow.left-arrow:hover {
    background-color: #dae3e9;
}
button.nav-arrow.right-arrow:hover {
    background-color: #dae3e9;
}
button.nav-arrow:focus {
      background-color: #7e398e!important;
}
a.custom-button:hover {
    background-color: #fff0;
    border: 2px solid #7e398e;
    text-decoration: none;
    color: #7e398e;
}
.location-tabs-container {
    overflow: hidden;
    position: relative;
    width: 100%; /* Adjust based on design */
    max-width: 800px; /* Adjust based on design */
}
.location-flex-container {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between image and content */
}
/* For 3 options between 768px and 1000px */
@media (max-width: 1000px) and (min-width: 768px) {
    .location-tabs {
        justify-content: space-between; /* Optional: Add spacing */
        flex-wrap: nowrap;
    }
}
  .location-image {
    max-width: 50%;
    height: auto;
    width: 40%;
}
  .location-details {
    max-width: 60%;
    text-align: left;
}
}
/* For 2 options below 768px */
@media (max-width: 767px) {
    .location-tabs {
        justify-content: space-between; /* Optional: Add spacing */
        flex-wrap: nowrap;
    }
}
}

/* Content column reverse for screens below 1000px */
@media (max-width: 767px) {
  .location-flex-container {
    flex-direction: column-reverse; /* Reverse the order of image and content */
    align-items: flex-start; /* Align items to the left */
  }

  .location-image,
  .location-details {
    max-width: 100%; /* Full width for smaller screens */
    width:100%;
  }
}
button.tab-button:hover {
    color: #7f398e;
    text-decoration: underline;
}
button.tab-button.active {
    color: #7f398e;
    text-decoration: underline;
    font-weight: bold;
}

/* --- Location layout: responsive fixes --- */

/* Desktop/tablet (default) */
.location-flex-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.location-image {
  flex: 0 0 45%;
  max-width: 45%;
  width: 45%;
  height: auto;           /* ensure responsive height */
  border-radius: 10px;
  object-fit: cover;
}

.location-details {
  flex: 1 1 55%;
  max-width: 55%;
  text-align: left;
}

/* Stack on mobile: image on top, content below */
@media (max-width: 767px) {
  .location-flex-container {
    flex-direction: column;        /* ⬅️ was column-reverse */
    align-items: stretch;
  }

  .location-image {
    max-width: 100%;
    width: 100%;
    height: auto;                  /* ⬅️ overrides any fixed 400px height */
    /* If you want a consistent crop, uncomment next line: */
    /* aspect-ratio: 16 / 9; object-fit: cover; */
  }

  .location-details {
    max-width: 100%;
  }
}

/* (Optional) Slightly earlier stack for phablets */
@media (max-width: 900px) {
  .location-flex-container { flex-direction: column; }
  .location-image,
  .location-details { max-width: 100%; width: 100%; }
}
