/*  
  -------------------------------------------
  -----      CSS for the font used      -----
  -------------------------------------------
*/

/* @import url('./font/inter.css'); */
@import url('./font/fonts.css');
/* body {
    font-family: 'Inter var', sans-serif;
    font-feature-settings: "cv02","cv03","cv04","cv11";
} */

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: #212529;
}

.heading-font {
  font-family: "Cormorant", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.02em;
}

.regular-font {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

/*  
  ------------------------------------------- 
  -----      CSS for the preloader      -----
  -------------------------------------------
*/

.loader-wrapper {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  background-color: rgba(var(--bs-emphasis-color-rgb), 1) !important;
  display: flex;
  justify-content: center !important;
  align-items: center !important;
  z-index: 2000 !important;
}



/*  
  -------------------------------------------------------------------------------- 
  -----      CSS for the default styles for both directions RTL and LTR      -----
  --------------------------------------------------------------------------------
*/

.left-to-right {
  display: none !important;
}

.right-to-left {
  display: none !important;
}

[dir="ltr"] .left-to-right {
  display: inline !important;
}

[dir="rtl"] .right-to-left {
  display: inline !important;
}

[dir="rtl"] .rtl-flip {
  transform: scaleX(-1) !important;
}

[dir="rtl"] .breadcrumb-item+.breadcrumb-item::before {
  transform: scaleX(-1);
}




/*  
  -------------------------------------------  
  -----      CSS for the AOS's RTL      -----
  -------------------------------------------
*/

[dir="rtl"] [data-aos=fade-left] {
  transform: translate3d(-100px, 0, 0);
}

[dir="rtl"] [data-aos=fade-right] {
  transform: translate3d(100px, 0, 0);
}

[dir="rtl"] [data-aos=fade-up-left] {
  transform: translate3d(-100px, 100px, 0);
}

[dir="rtl"] [data-aos=fade-up-right] {
  transform: translate3d(100px, 100px, 0);
}

[dir="rtl"] [data-aos=fade-down-left] {
  transform: translate3d(-100px, -100px, 0);
}

[dir="rtl"] [data-aos=fade-down-right] {
  transform: translate3d(100px, -100px, 0);
}

[dir="rtl"] [data-aos=flip-right] {
  transform: perspective(2500px) rotateY(-100deg);
}

[dir="rtl"] [data-aos=flip-left] {
  transform: perspective(2500px) rotateY(100deg);
}

[dir="rtl"] [data-aos=flip-right].aos-animate {
  transform: perspective(2500px) rotateY(0);
}

[dir="rtl"] [data-aos=flip-left].aos-animate {
  transform: perspective(2500px) rotateY(0);
}

[dir="rtl"] [data-aos=slide-left] {
  transform: translate3d(-100%, 0, 0);
}

[dir="rtl"] [data-aos=slide-right] {
  transform: translate3d(100%, 0, 0);
}

[dir="rtl"] [data-aos=zoom-in-right] {
  transform: translate3d(100px, 0, 0) scale(.6);
}

[dir="rtl"] [data-aos=zoom-in-left] {
  transform: translate3d(-100px, 0, 0) scale(.6);
}

[dir="rtl"] [data-aos=zoom-out-right] {
  transform: translate3d(100px, 0, 0) scale(1.2);
}

[dir="rtl"] [data-aos=zoom-out-left] {
  transform: translate3d(-100px, 0, 0) scale(1.2);
}





/*  
  ----------------------------------------------------  
  -----      CSS for the button back to top      -----
  ----------------------------------------------------
*/

.btn-back-to-top {
  position: fixed;
  bottom: 20px;
  display: none;
  z-index: 10;
}

[dir="ltr"] .btn-back-to-top {
  right: 20px;
}

[dir="rtl"] .btn-back-to-top {
  left: 20px;
}




@media (min-width: 1200px) {
  .text-xl-white {
    color: white !important;
  }
}

.hero-section {
  position: relative;
  color: #fff;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
  transition: 1s opacity;
}

.hero-section h1, .hero-section p {
  text-shadow: 0 10px 10px rgba(0, 0, 0, 0.8);
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
  z-index: -1;
}

/*
  -------------------------------------------
  -----      CSS for the Layout Cards   -----
  -------------------------------------------
*/

.layout-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 12px;
  background-color: #ffffff;
  padding: 1.5rem;
  border: 1px solid #f0f0f0;
}

.layout-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.08) !important;
}

/*
  -------------------------------------------
  -----      CSS for the Graphic Block    -----
  -------------------------------------------
*/

.graphic-block-section {
  background-color: #f8f9fa;
  /* Or any other color that fits the design */
}

.graphic-block-content {
  position: relative;
  text-align: center;
  color: white;
}

.graphic-block-image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.graphic-block-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(10, 20, 30, 0.5);
  padding: 3.5rem;
  border-radius: 1rem;
  width: 85%;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

/*
  -------------------------------------------
  -----      CSS for the Gallery Section    -----
  -------------------------------------------
*/

#gallery .carousel-control-prev,
#gallery .carousel-control-next {
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease-in-out;
}

#gallery .carousel-control-prev:hover,
#gallery .carousel-control-next:hover {
  opacity: 1;
}

#gallery .carousel-control-prev-icon,
#gallery .carousel-control-next-icon {
  background-color: var(--bs-primary);
  border-radius: 0.5rem;
  padding: 1rem;
  background-size: 50%;
  box-shadow: var(--bs-box-shadow-sm);
}

#gallery ul li svg {
  flex-shrink: 0;
}

/*
  -------------------------------------------
  -----      CSS for the Advantages Section    -----
  -------------------------------------------
*/

#advantages .advantage-icon svg {
  color: var(--bs-primary);
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
}

.section-padding {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.bg-body-tertiary {
  background-color: #f8f9fa !important;
}

h1, .h1 {
  font-size: 4rem;
  line-height: 1.1;
}

h2, .h2 {
  font-size: 3rem;
  line-height: 1.2;
}

h3, .h3 {
  font-size: 2.5rem;
  line-height: 1.25;
}

h4, .h4 {
  font-size: 2rem;
  line-height: 1.3;
}


h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: #1a1a1a;
  font-family: "Cormorant", serif;
  font-weight: 400;
}

p, span, li, a, .regular-font {
  color: #141516;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

a.text-primary-emphasis {
  color: var(--bs-primary) !important;
  text-decoration: none !important;
  font-weight: 400 !important;
  transition: letter-spacing 0.3s ease;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-dark {
  background-color: #212529;
  border-color: #212529;
  color: #fff;
}

.form-control {
  padding: 1.2rem 1.5rem;
  border-radius: 15px;
  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.15);
}

.layout-card .text-body-secondary {
  color: #6c757d !important;
}

.text-body-secondary {
  color: #6c757d !important;
}

.card.layout-card {
  box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.05);
  border: 0;
}

/*
  -------------------------------------------
  -----      Media Queries for Mobile     -----
  -------------------------------------------
*/

@media (max-width: 768px) {
  .graphic-block-text h2 {
    font-size: 2.2rem;
    /* Adjust font size for mobile */
    line-height: 1.2;
  }

  .graphic-block-text p {
    font-size: 1rem;
    /* Adjust font size for mobile */
  }

  .graphic-block-text {
    padding: 2rem 1.5rem;
    width: 90%;
  }

  .section-padding {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  h1, .h1 {
    font-size: 2.5rem;
  }

  h2, .h2 {
    font-size: 2rem;
  }

  h3, .h3 {
    font-size: 1.75rem;
  }

  h4, .h4 {
    font-size: 1.5rem;
  }

}

@media (max-width: 576px) {
  .graphic-block-text h2 {
    font-size: 1.8rem;
  }

  .graphic-block-text {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 767px) {
  .hero-video {
    display: none;
  }

  .hero-section {
    background: url('../img/back.jpg') no-repeat center center/cover;
  }
}

@media (max-width: 767px) {
  .hero-section .form-control {
    flex-grow: 1;
    font-size: 0.9rem;
  }

  .hero-section .btn {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    flex-shrink: 0.1;
  }
}

/*
  -------------------------------------------
  -----      CSS for the Offer Images     -----
  -------------------------------------------
*/

.offer-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: auto;
}

.offer-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
}

.layout-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.layout-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.layout-card .card-img-top {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
/*
  -------------------------------------------
  -----      CSS for the Floor Plan       -----
  -------------------------------------------
*/

.floor-plan-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* Smooth scrolling on iOS */
  padding: 1rem 0;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floor-plan-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.floor-plan-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  min-width: 800px;
  /* Prevent image from becoming too small on wider mobile screens */
}

@media (min-width: 768px) {
  .floor-plan-container {
    padding: 2rem;
  }

  .floor-plan-container img {
    min-width: 1200px;
    /* Adjust for desktop view */
  }
}

@media (min-width: 1200px) {
  .floor-plan-container img {
    min-width: 100%;
    /* Allow full width on large screens */
  }
}