/* Homepage two-column layout */


/* Common breakpoints for responsiveness */
/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {

  /* Styles for extra small devices */
  .two-column-layout {
    min-height: 200vh;
  }
}

/* @media (min-width: 1200px) {
  .image-bg-img{
    display: none;
  }
} 
   */
/* Small to medium devices (1200px) */
@media (max-width: 1200px) {
  /* Styles for small to medium devices */

  .video-wrapper {
    display: none;
  }

  .benefits, .design, #amenities-page {
    .video-wrapper {
      display: block;
    }
  } 

  .video-overlay-text {
    gap: 30px;
  }
  
  .video-overlay-text p {
    font-size: 42px;
    letter-spacing: 0.1em;
  }

  .video-overlay-text .middle-line {
    height: 160px;
    width: 1px;
  }

  /* Hero Section */
  .mobile-img-bg {
    display: flex;
  }

  .header {

    .container {
      justify-content: center;

      .logo-link {
        width: auto;

        img {
          width: 50px;
        }
      }
    }

    .main-nav {
      display: none;
    }

    .right-nav {
      position: absolute;
      right: 25px;

      .enquire-btn {
        display: none;
      }
    }
  }

  /* hamburger menu */
  .menu-container {
    .logo-container {
      padding: 20px 24px 17px;

      .logo {
        img {
          width: 50px;
        }
      }
    }

    .close-btn {
      top: 12px;
      right: 25px;
    }

    .menu {
      margin-top: 0px;

      a {
        font-size: 1.5rem;
      }
    }

    .brochure {
      margin-top: 0px;

      a.btn {
        min-width: 320px;
        font-size: 12px;
        padding: 12px 24px;
      }
    }

    .language-toggle {
      margin: 0px;
      font-size: 13px;
    }
  }

  .mobile-enquiry-button {
    display: block;
  }

  .one-column-layout,
  .two-column-layout,
  .three-column-layout {
    flex-direction: column;
    min-height: 100vh;

    .content {

      /* middle lines reduce height to be consistent */
      .middle-line {
        height: 160px;
        width: 1px;
      }
    }

    &.reversed {
      flex-direction: column;
    }
  }

  .one-column-layout {

    .content {
      p {
        font-size: 42px;
        letter-spacing: 0.1em;
      }

      .reduced-size-mobile {
        font-size: 32px;
      }
    }
  }


  .two-column-layout {
    min-height: 200vh;

    .text-column {
      min-height: 100vh;

      .content {
        p {
          font-size: 1rem;
        }

        .feature-btn {
          font-size: 12px;
          padding: 12px 24px;
        }
      }
    }

    .image-column {
      min-height: 100vh;
    }
  }

  .three-column-layout {
    flex-direction: column;
    height: auto;

    .two-column {
      &.with-map {
        display: flex;
        padding: 10px;
        align-items: center;
        justify-content: center;
      }
    }

    &.video-with-text {
      padding: 1.5rem;

      .two-column {
        padding: 0;
        display: flex;
        flex: 1;
        align-items: flex-end;
        flex-direction: column;
      }

      .one-column {
        padding: 1rem;

        h1 {
          font-size: 2rem;
          padding-bottom: 1.5rem;
        }
      }

    }
  }

  /* benefits */
  .services-wrapper {
    padding: 1.5rem;

    .services-img {
      display: none;
    }

    .services-content {
      img {
        display: block;
        margin: 0 auto 40px;
      }

      .service-items {
        flex-direction: column
      }

      p,
      .divider {
        margin-bottom: 24px;
      }
    }
  }

  .onvia {
    .onvia-wrapper {
      flex-direction: column;

      .onvia-content {
        justify-content: flex-start;
        padding: 5rem 2rem;

        .content {
          max-width: 100%;
        }
      }
    }
  }

  /* carousel */
  .carousel-item {
    min-width: 70vw;
    max-width: 70vw;
    flex-shrink: 0;
    margin: 0 1rem;
  }

  .nav {
    display: none;
  }

  /* design */
  .empire-city-special {
    .empire-city-weird-section-left {
      .text-section {
        justify-content: space-evenly;
      }

      .img-section {
        margin-top: 0;
      }
    }

    .empire-city-weird-section-right {
      padding: 0;
      padding-top: 2.5rem;

      .offset-section {
        margin: 0 auto;

        
      }
    }
  }

  .empire-city-special.mobile-only {
    .offset-section {
      img {
        width: 100%;
        height: auto;
      }
    }

    .video-section {
      video {
        width: 100%;
        height: auto;
      }
    }
  }

  .full-width.mobile-only {
    img {
      width: 100%;
      height: auto;
    }
  }

  .img-with-text {
    gap: 0;
  }

  /* Developer page */

  .property-section {
    .content {
      flex-direction: column;
      gap: 2rem;
    }
  
    .one-column-layout {
      min-height: auto;
      align-items: flex-start;
    }
  
  }

  .team-section {
    gap: 2rem;
    padding: 6rem;
  
    .container {
      gap: 1rem;
  
      .one-column {
  
        img {
          max-width: 140px;
  
          &.interior-design {
            max-width: 140px;
          }
        }
      }
  
      p {
        padding-bottom: 4rem;
      }
    }
  }

  .contact-us-section {
    min-height: auto;
  }

  .pre-form {
    min-height: auto;
  }

  .full-viewport-image {
    overflow-x: scroll;
  }

  .axo-facade {
    display: none;
  }

  .amenities-accordion.mobile-only {
    display: flex;
  }

  .residences-details {
    .container {
      row-gap: 4rem; /* Reduce spacing on mobile */
      padding: 6rem;
    }
  }
  
  .living-smart {
    .smart-wrapper {
      flex-direction: column;
      gap: 40px;
      padding: 6em;
    }

  }

  .artistry {
    padding: 4rem 6rem; 

    .container {
      row-gap: 120px;
    }
    
    .card {
      flex: 1 1 calc(50% - 1rem);
      max-width: calc(50% - 1rem);

      .logo-img {
        max-width: 160px;
        margin-top: 1rem;
        height: 100px;
      }
    }
  }

  .residences-stacking {
    display: none;
  }

  .residences-stacking-condensed {
    background-color: var(--dark-gray);
    
    .container {
      display: flex;
      flex-direction: column;
    }

    .stacking-logo, .stacking-content {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 5rem 2rem;
    }

    .stacking-logo {
      h4 {
        font-size: 21px;
        letter-spacing: 0.05em;
        color: var(--off-white);
      }
      .logo {
        width: 120px;
      }

      .middle-line {
        width: 2px;
        height: 60px;
        margin: 1rem 0;
      }
    }

    .stacking-content {
      .text {
        width: 40vw;
        p {
          font-size: 14px;
          text-align: center;
          padding-bottom: 1.5rem;
          letter-spacing: 0.05em;;
          color: var(--off-white);
        }
      }
    }
  }

  .full-viewport-image.scrollable {
    .scroll-container {
      display: inline-block;
      overflow-x: auto;
      cursor: grab;
      white-space: nowrap;
    }

    img {
      display: block;
      max-width: none;
      width: unset;
    }
  }

  .mobile-only {
    display: flex;
  }
  
  .desktop-only {
    display: none;
  }

  
}

@media (min-width: 1201px) {

  .residences-stacking-condensed {
    display: none;
  }
}



@media (min-width: 769px) {
  .desktop-hidden {
    display: none;
  }
}



@media (max-width: 768px) {

  .mobile-hidden {
    display: none;
  }
  .two-column-layout {
    flex-direction: column;
  }

  .image-column img {
    height: 300px;
    /* Prevent overly tall image on small screens */
  }

  .mobile-img-bg {
    .img-text-content {
      img {
        width: 100%;
      }
    }
  }

  .menu-container {
    .brochure {
      gap: 16px;
      a.btn {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 160px;
        max-width: 168px;
        width: 100%;
      }
    }
  }

  .carousel-wrapper {
    padding: 1rem 0;

    .caption {
      font-size: 8px;
      padding-top: 0.5rem;
    }
  }

  .accordion-container {
    padding-top: 0;
  }

  .accordion-header {
    font-size: 14px;
    padding: 8px 0;
  }

  .three-column-layout {
    &.video-with-text {
      p {
        font-size: 14px;
      }

      &.benefits {
        min-height: 50vh;
        padding: 4rem 1.5rem;

        p {
          font-size: 16px;
        }

        .one-column {
          padding: 2.5rem 1rem;
        }
      }
    }
  }

  /* Benefits */
  .services-wrapper {
    .services-content {
      h1 {
        font-size: 32px;
      }

      p {
        font-size: 16px;
      }

      .service-items {

        .column1,
        .column2 {
          ul {
            li {
              font-size: 12px;
              line-height: 1.5;
            }
          }
        }
      }

      .disclaimer {
        font-size: 8px;
      }
    }
  }

  .onvia {
    .onvia-wrapper {
      .onvia-content {
        .content {
          h1 {
            font-size: 32px;
          }

          p {
            font-size: 14px;
          }

          .onvia-logo {
            width: 129px;
            padding: 0;
          }
        }
      }
    }
  }


  .footer {
    min-height: 80vh;
    padding: 40px;

    .footer-wrapper {
      .footer-top {
        flex-direction: column;

        .footer-logo {
          width: auto;
          max-width: 300px;
        }

        .social-media {
          margin-top: 40px;
        }
      }

      .footer-copyright {
        flex-direction: column;

        a,
        p {
          text-align: center;
          font-size: 12px;
        }
      }

      .footer-bottom {
        margin-top: 40px;

        p {
          font-size: 8px;
          line-height: 1.5;
        }
      }
    }


    .scroll-to-top {
      right: 0px;
      z-index: 1;
    }
  }

  .empire-city-special {
    display: none;
  }

  .empire-city-special.mobile-only {
    display: block;
    padding: 1rem;
    
    .remove-padding {
      padding: 0;

      p {
        font-size: 8px;
        padding: 0;
        padding-top: 0.5rem;
      }
    }

    .reduce-padding {
      padding: 3rem 1.5rem 1.5rem;

      .text-section {
        h1 {
          font-size: 32px;
          padding-bottom: 1.5rem;
          font-family: 'W Supreme Web Semibold', sans-serif;
        }

        .text-container {
          font-size: 14px;
        }
      }
    }
    
  }

  .full-width.mobile-only {
    display: block;
  }

  .inspired-spaces {
    padding: 1rem;
    padding-top: 5rem;
    .remove-padding {
      padding: 0;

      p {
        font-size: 8px;
        padding: 0;
        padding-top: 0.5rem;
      }
    }

    .inspired-spaces-right {
      padding: 1.5rem;
      padding-top: 2.5rem;;
    }

    .text-section {
      padding-bottom: 0;

      h1 {
        font-size: 32px;
        padding-bottom: 1.5rem;
        font-family: 'W Supreme Web Semibold', sans-serif;
      }

      .text-container {
        font-size: 14px;
        max-width: 100%;
        min-width: auto;
      }
    }

    .img-section {
      gap: 1rem;
    }

  }

  .living-well {
    display: none;
  }

  .living-well-carousel.mobile-only {
    display: block;
    height: auto;

    .mobile-only-title {
      font-size: 32px;
      padding-top: 1.5rem;
      padding-bottom: 1.5rem;
      font-family: 'W Supreme Web Semibold', sans-serif;
      text-transform: uppercase;
      color: var(--dark-gray);
      text-align: center;
    }

    img {
      filter: grayscale(100%);
      opacity: 0.2;
      transition: all 0.3s ease-in-out;
    }

    .glide__slide--active {
      img {
        filter: grayscale(0%);
        opacity: 1;
      }
    }

    .text-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: var(--dark-gray);
      padding: 2.5rem 4rem 1.5rem;

      .slide-title {
        font-family: 'W Supreme Web Semibold', sans-serif;
        font-size: 21px;
        font-weight: 200;
        padding-bottom: 1.5rem;
        text-align: center;
      }

      p {
        font-size: 14px;
        padding-bottom: 1.5rem;
        text-align: center;
      }
    }

    .glide__bullets {
      display: flex;
      justify-content: center;
      padding-bottom: 3rem;
    }
    .glide__bullet {
      background-color: var(--light-gray);
      opacity: 0.5;
      width: 0.5rem;
      height: 0.5rem;
      margin: 0 0.5rem;
      transition: all 0.3s ease-in-out;
      border: none;
      border-radius: 50%;

      
    }

    .glide__bullet--active {
      background-color: var(--dark-gray);
      opacity: 1;
    }
    
  }

  .liberated-luxury {
    min-height: 50vh;
  }

  #hotel-page {
    .three-column-layout {
      padding: 0;
      min-height: auto;

      &.mobile-reversed {
        flex-direction: column-reverse;
      }

      .one-column {
        padding-top: 0;

        .content {
          font-size: 1rem;
          padding: 1rem;
        }
      }

      .img-caption {
        p {
          font-size: 8px;
        }
      }
    }
  }

    /* Developer page */

    .dev-section {
      .content {
          padding: 8rem 0 0;
      }

      .dev-logo {
        img {
          max-width: 220px;
        }
      }
    }

    .property-section {

      .one-column-layout {
        padding: 1rem 2rem;
      }

      .sub-text {
        font-size: 12px
      }

      
    }

    .team-section {
      gap: 2rem;
      padding: 6rem 2rem;

      h1 {
        font-size: 32px;
      }
    
      .sub-text {
        font-size: 16px;
      }
    
      .container {
        padding-top: 2rem;
        flex-direction: column;
    
        .one-column {   
          padding-bottom: 1rem;  
          
          .img-wrapper {
            align-items: flex-start;
            padding-top: 1.5rem;
            height: 90px;
          }

          img.interior-design {
            max-width: 100px;
          }
        }
    
        p {
          font-size: 12px;
          padding-bottom: 0;
        }
      }
    }
  
  .contact-us-section {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    &.menu-offset {
      padding-top: calc(97.5px + 5rem);
    }

    .content {
      gap: 2.5rem;
      .title {

      }
      .subtitle {
        font-size: 2rem;
      }

      .sub-text {
        font-size: 14px;
      }
    }

    .middle-line {
      max-height: 5rem;
    }
  }

  .contact-container {
    padding-bottom: 5rem;
  }

  .contact-us-map {
    padding: 0;
  }

  .pre-form {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;

    .content {
      gap: 24px;
      font-size: 1rem;
    }
  }

  .contact-form {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .form-row {
    flex-direction: column;
  }

  input, textarea {
    padding: 5px;
    font-size: 10px;
  }

  .form-checkbox {
    padding-right: 5%;
    font-size: 0.5rem;
  }

  .error-msg {
    font-size: 0.5rem;
  }

  .error-icon {
    min-width: auto;
    max-width: 17.5px;
  }

  .checkbox-label {
    font-size: 8px;
  }

  .form-submit {
    button {
      max-height: fit-content;
      min-width: 100px;
      font-size: 10px;
    }
  }

  .contact-info {
    display: flex;
    justify-content: space-between;
    padding: 0 2.5rem;

    p {
      flex: 1;
      font-size: 0.5rem;
      align-content: center;
      text-align: left;
    }

    a {
      flex: 1;
      font-size: 1rem;
      align-content: center;
      text-align: right;
    }
  }

  .contact-info.enquiry {

    padding-left: 0;
    padding-right: 0;

    .whatsapp {
      width: 100%;
      display: flex;
      justify-content: space-between;

      p {
        flex: 1;
        font-size: 0.5rem;
        align-content: center;
        text-align: left;
      }
  
      a {
        flex: 1;
        font-size: 1rem;
        align-content: center;
        text-align: right;
      }
    }
    
    
    .social-media {
      display: none;
    }
  }

  /* Enquiry */
  .enquiry-section {
    .contact-form {
      padding: 0;
    }

    .contact-container {
      padding-bottom: 0;
    }
  }

  .enquiry-hero {
    background-position: 20% 0%;
  }

  /* sliced */
  .sliced-desktop {
    display: none;
  }

  .sliced-mobile {
    display: block;
  }

  .privacy-policy {
    padding: 5rem 2.5rem;
    padding-top: calc(97.5px + 80px); /* top nav + 120px */
  
    h1 {
      font-size: 42px;
      padding-bottom: 2.5rem;
      text-align: center;
    }
  
    .subheader {
      font-size: 21px;
      padding-bottom: 0.5rem;
    }
  
    .section-header {
      font-size: 12px;
      padding-bottom: 0.5rem;
    }
  
    .text {
      font-size: 12px;
      padding-bottom: 0.5rem;
      
      &:last-child {
        padding-bottom: 24px;
      }
    }
  
    .indented {
      padding-left: 20px;
      padding-bottom: 0.15rem;
  
      &:last-child {
        padding-bottom: 0.5rem;
      }
    }

    .copyright {
      padding-top: 26px;
    }
  }

  .residences-details {
    .card {
      flex: 1 1 calc(50% - 1rem);
      gap: 0.5rem;
      min-width: auto;

      img {
        height: 32px;
      }
    }

    .container {
      row-gap: 2rem; /* Reduce spacing on mobile */
      padding: 5rem 1.2rem;
    }

    .title {
      font-size: 16px;
    }

    .details {
      font-size: 12px;
    }
  } 

  .living-smart {
    .smart-wrapper {
      flex-direction: column;
      gap: 20px;
      padding: 2rem;


      .smart-content {
        font-size: 16px;
        .title {
          font-size: 32px;
          margin-bottom: 1.5rem;
        }

        .list {
          font-size: 12px;
            li {
              padding-bottom: 1rem;
              &:last-child {
                padding-bottom: 0;
              }
            }
        }
  
        .disclaimer {
          font-size: 8px;
        }

        .divider {
          margin: 1.5rem 0;
        }
        
      }
    }
  }

  .artistry {
    padding: 2rem 2rem 5rem; 

    .title {
      font-size: 32px;
      margin-bottom: 1.5rem;
    }

    p {
      font-size: 16px;
      padding-bottom: 0;
    }

    .container {
      row-gap: 80px;
      margin-top: 3rem;
    }
    
    .card {
      flex: 1 1 100%;
      max-width: 100%;
      gap: 0.5rem;

      .logo-img {
        height: auto;
      }

      .text {
        font-size: 12px;
      }
    }
  }

  .residences-stacking-condensed {

    .stacking-content {
      .text {
        width: auto;
      }
    }
  }

  .amenities-hero, .residences-hero, .hotel-hero {
    .content {
      p {
        /* text-transform: uppercase; */
        font-size: 32px;
      }
    }
  
    .sub-text {
      font-size: 16px;
      /* text-align: center; */
      /* letter-spacing: 0.05rem; */
    }
  }

  .other-hero {
    .fade-out-text {
      /* display: none;  */
      max-width: unset; 
      bottom: 2rem;
    }
  }

  .hero-scroll-wrapper.location.desktop {
    display: none;
  }

  .hero-scroll-wrapper.location.mobile {
    display: block;
  }

  .video-overlay-text {
    padding-top: calc(2rem + 78px);
  }

}