/* FONTS */

@font-face {
  font-family: 'geologicaReg';
  src: url('../assets/type/Geologica-Regular.ttf');
}

@font-face {
  font-family: 'geologicaLight';
  src: url('../assets/type/Geologica-Light.ttf');
}

@font-face {
  font-family: 'geologicaBold';
  src: url('../assets/type/Geologica-Bold.ttf');
}

@font-face {
  font-family: 'syneMedium';
  src: url('../assets/type/Syne-Medium.ttf');
}

@font-face {
  font-family: 'syneSemi';
  src: url('../assets/type/Syne-SemiBold.ttf');
}

@font-face {
  font-family: 'syneBold';
  src: url('../assets/type/Syne-Bold.ttf');
}

/* GENERALS */

* {
  border: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::-moz-selection {
  /* Code for Firefox */
  color: var(--secondary-color);
  background: var(--third-color);
}

::selection {
  color: var(--secondary-color);
  background: var(--third-color);
}

:root {
  --primary-color: rgb(57, 65, 76);
  --secondary-color: rgb(214, 115, 76);
  --third-color: rgb(121, 136, 158);
  --fourth-color: rgb(226, 153, 125);
  --black: rgb(0, 0, 0);
  --black2: rgba(0, 0, 0, 0.7);
  --white: rgb(255, 255, 255);
  --grey: rgb(104, 104, 104);

  --type-alfa: 'syneMedium', sans-serif;
  --type-beta: 'geologicaBold', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--primary-color);
  font-family: var(--type-alfa);
  overflow-x: hidden;
  width: 100vw;
  font-size: 12px;
}

a {
  color: var(--white);
  text-decoration: none;
}

/* REVEALERS */

.revealer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.rBlack {
  background: var(--black);
  z-index: 20000;
}

.rGold {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--primary-color);
  z-index: 10000;
}

.logoRevealerContainer {
  max-width: 350px;
  max-height: 350px;
}

.logoBrand {
  width: 100%;
  height: 100%;
}

/* NAVBAR */

.navbar {
  background-color: var(--black2);
  border-bottom: 1px solid var(--third-color);
  font-family: var(--type-alfa);
  position: relative;
  transition: background-color 0.4s ease, top 0.4s ease;
  width: 100%;
  z-index: 10;
}

.navbar.sticky {
  position: fixed;
  top: 0;
  background-color: var(--primary-color);
  z-index: 20;
  transition: all ease-in-out 0.4s;
}

.navbarDesk {
  align-items: center;
  display: flex;
  justify-content: space-evenly;
  padding: 15px;
}

.navElement {
  cursor: pointer;
  padding: 4px;
  position: relative;
}

.nElUnderline:hover::after {
  animation: underline 0.3s forwards;
  background-color: var(--secondary-color);
  bottom: 0;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  width: 100%;
}

@keyframes underline {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

#en-button,
#es-button {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 5px;
  border-radius: 5px;
  cursor: pointer;
}

#en-button:hover,
#es-button:hover {
  background-color: var(--fourth-color);
  color: var(--dark);
  transition: all ease-in 0.3s;
}

/* RESPONSIVE MENU */

.respButton {
  display: none;
}

.menu-button {
  border: 0;
  background-color: var(--secondary-color);
  padding: 15px;
  border-radius: 50px;
  margin: 10px;
  width: 60px;
  height: 60px;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 19;
  outline: none;
  cursor: pointer;
  transition: all ease-in-out 0.3s;
}

.menu-button:hover,
.menu-button.activeM {
  background-color: var(--third-color);
}

.menu-button:hover .menu-bar,
.menu-button.activeM .menu-bar {
  background-color: var(--black);
}

.menu-button .menu-bar {
  width: 30px;
  height: 2px;
  background-color: var(--white);
  position: relative;
  margin: 4px 0;
  transform-origin: center center;
}

#menuResp {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: var(--secondary-color);
  top: 50%;
  left: -200%;
  transform: translate(-50%, -50%);
  z-index: 17;
}

.menu-nav {
  list-style: none;
  margin: 0;
  padding: 30px 0;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  font-size: 2rem;
  overflow: hidden;
}

.menu-nav a {
  text-decoration: none;
  color: var(--white);
  padding: 10px;
  display: block;
  opacity: 0;
  font-family: var(--type-alfa);
}

.menu-nav a:hover {
  background-color: var(--third-color);
}

/* 3D SCENE SECTION */

.sceneContainer {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: -53px;
}

.modal-content {
  background-color: #fefefe;
  overflow: hidden;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-height: 450px;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/*  HERO SECTION */

.heroSection {
  display: flex;
  background-image: url('../assets/img/hero-banner.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: -65px;
  z-index: -1;
}

.logoHero {
  width: 400px;
  filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.8));
}

/* FIRST DATA SECTION */

.colorSep {
  width: 100vw;
  height: 20px;
  background-color: var(--primary-color);
}

.presale {
  background: var(--third-color);
  width: 100vw;
  padding: 30px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.icoAR {
  width: 135px;
  margin: 50px;
}

.tourVR {
  background: var(--fourth-color);
  font-size: 20px;
  padding: 10px;
  transition: all ease-in-out 0.3s;
}

.tourVR:hover {
  background: var(--secondary-color);
}

h1.apartments {
  font-size: 33px;
  padding: 15px;
  color: var(--white);
}

p.views {
  font-size: 24px;
  font-family: 'syneMedium', sans-serif;
  color: var(--white);
  padding: 15px;
}

p.adress {
  font-size: 18px;
  font-family: 'syneSemi', sans-serif;
  color: var(--white);
  padding: 15px;
}

/* Gallery Grid */

.galleryTitle {
  padding: 35px 0;
  font-size: 36px;
  text-align: center;
}

.grid-container {
  display: grid;
  width: 65%;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 35px;
}

.resp-grid-container {
  display: none;
}

.grid-item-wrapper {
  overflow: hidden;
}

.grid-item {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 450px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease-in-out;
}

.grid-item:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.gridSpan2 {
    grid-column: span 2;
}

/* .gridSpan3 {
  grid-column: span 3;
} */

.item1 {
  background-image: url('../assets/img/grid-1.webp');
}

.item2 {
  background-image: url('../assets/img/grid-5.webp');
}

.item3 {
  background-image: url('../assets/img/grid-6.webp');
}

.item4 {
  background-image: url('../assets/img/grid-2.webp');
}

.item5 {
  background-image: url('../assets/img/grid-3.webp');
}

.item6 {
  background-image: url('../assets/img/grid-4.webp');
}
/* 
.item7 {
    background-image: url('../assets/img/grid-8.webp');

}
.item8 {
    background-image: url('../assets/img/grid-7.webp');
} */

/* LIGHTBOX */

.lightbox {
  display: none;
  position: fixed;
  z-index: 400;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* BRAND SECTION */

.brandContainer {
  display: flex;
}

.brandLeft,
.brandRight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
  padding: 65px;
}

.brandLeft {
  background: var(--primary-color);
}

.brandRight {
  background: var(--fourth-color);
}

.brandLogo {
  width: 120px;
}

.brandTxt {
  text-align: center;
  color: var(--white);
  padding: 20px;
}

.brandTxt1 {
  font-size: 32px;
  padding: 10px;
  font-family: 'syneMedium', sans-serif;
}

.brandTxt2 {
  font-size: 28px;
  padding: 10px;
  font-family: 'geologicaBold', sans-serif;
}

.moreInfoBtn {
  font-family: 'geologicaBold', sans-serif;
  color: var(--primary-color);
  background: var(--fourth-color);
  padding: 15px;
  border-radius: 25px;
  transition: all ease-in-out 0.3s;
}

.moreInfoBtn:hover {
  background: var(--third-color);
}

.apartmentsInfo {
  font-size: 35px;
  padding: 15px;
}

.apartmentsTxt {
  font-family: 'geologicaBold', sans-serif;
}

.areaInfo,
.bedroomInfo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.icoArea,
.icoBedroom,
.areaTxt {
  padding: 25px;
}

.areaTxt,
.bedroomTxt {
  text-align: left;
}

.icoArea,
.icoBedroom {
  width: 150px;
}

.areaInfoTxt,
.bedroomInfoTxt {
  font-family: 'geologicaBold', sans-serif;
  font-size: 26px;
}

/* AMENITIES ICONS */

.amenitiesIcons {
  background: var(--secondary-color);
}

.amenitiesTitle {
  padding: 50px 0;
}

h3.amenitiesT {
  text-align: center;
  font-size: 36px;
  color: var(--white);
}

.icoContainer {
  display: flex;
  justify-content: space-evenly;
  padding-bottom: 50px;
}

.icoSize {
  height: 100px;
}

/* AMENITIES SWIPER GALLERY */

.amenitiesTitle {
    padding: 50px 0;

}

h3.amenitiesT {
    text-align: center;
    font-size: 36px;
}

.fSwiperContainer {
    width: 100%;
    height: 100vh;
}

.swiperSize1 {
    margin: 0 auto;
    width: 80%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
} 

/* TYPOLOGY SECTION */

.typology {
  width: 100vw;
  height: 100%;
  background-color: var(--white);
  padding: 35px 0;
}

.typologyTitle {
  text-align: center;
  padding: 40px 0;
}

h3.typoTitle {
  font-size: 36px;
  color: var(--primary-color);
}

.typologyContainer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 80%;
  height: 90vh;
  margin: 0 auto;
}

.typoLeft {
  flex: 2;
  padding: 10px;
  position: relative;
}

.typoRight {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.galleryImage {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  display: none;
}

.galleryImage.active {
  opacity: 1;
  display: block;
}

.typoTab {
  padding: 10px;
  margin: 5px 0;
  cursor: pointer;
  color: var(--white);
  background-color: var(--primary-color);
  text-align: center;
  transition: background-color 0.3s ease-in-out;
}

.typoTab:hover {
  background-color: var(--fourth-color);
}

.typoTab.active {
  background-color: var(--fourth-color);
  color: var(--primary-color);
  font-family: 'geologicaBold', sans-serif;
  text-transform: uppercase;
}

/* BROCHURE SECTION */

.brochureSection {
  /* background-image: url('../assets/img/bg-vector.svg'); */
  background: var(--third-color);
  width: 100vw;
  height: 100%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brochurteButton {
  margin-bottom: 60px;
}

.brochureBtn {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 25px;
  border-radius: 35px;
  transition: all ease-in-out 0.3s;
}

.brochureBtn:hover {
  background-color: var(--fourth-color);
  color: var(--black);
}

/* APARTMENTS SWIPER SECTION */
/* 
.apartmentsGallery {
    display: flex;
    width: 100vw;
    background: var(--grey);
    height: 100%;
    margin-top: 60px;
}

.leftApContainer,
.rightApContainer {
    width: 65%;
    height: 35%;
}

.leftApContainer>.swiper {
    width: 100%;
    height: 720px;
}

.rightApContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15%;
}

.rightTitleTxt {
    font-size: 36px;
}

.visitTxt {
    color: var(--white);
    font-family: 'syneSemi', sans-serif;
}

.apartmentM {
    color: var(--secondary-color);
    font-family: 'syneMedium', sans-serif;
}

.rightContentBtn {
    padding: 25px 0;
}

.moreInfobtn {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px;
    border-radius: 25px;
    transition: all ease-in-out 0.3s;
}

.moreInfobtn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.icoBrandGrey img {
    width: 130px;
} */

/* MAP CONTAINER */

.mapContainer {
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.locationMapSvg {
  width: 65%;
  margin: 0 auto;
}

.locationButtons {
  display: flex;
  justify-content: space-around;
  padding: 25px;
}

.wazeButton,
.mapsButton {
  padding: 10px;
}

.icoLocationBtn {
  width: 75px;
}

/* DIVIDER IMAGE */

.imgDivider {
  width: 100vw;
  height: 350px;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-image: url('../assets/img/img-divider.webp');
}

/* DEVELOPERS SECTION */

.developersContainer {
  background: var(--secondary-color);
  display: flex;
  height: 200px;
  align-items: center;
  justify-content: space-evenly;
}

p.devTxt1 {
  color: var(--white);
  font-size: 24px;
}

.dev2 {
  width: 200px;
}

.dev4 {
  width: 100px;
  height: 120px;
}

.devDivider {
  width: 20px;
}

.devDivider img {
  max-height: 65px;
}

/* CONTACT SECTION */

.contactContainer {
  height: 800px;
  background-color: var(--third-color);
}

.ctcTxt {
  font-size: 36px;
  font-family: 'geologicaReg', sans-serif;
  color: var(--white);
  padding: 20px 0;
}

.centerDiv {
  display: flex;
  width: 60%;
  margin: 0 auto;
}

.contactImg {
  background-position: bottom center;
  background-image: url('../assets/img/img-bg-contact.webp');
  height: 800px;
  width: 530px;
}

.contactFormContainer {
  padding: 60px;
  width: 50%;
}

.contactTitle {
  padding: 15px 0;
  font-size: 2.3rem;
  color: var(--white);
}

.contact-method {
  color: var(--white);
  padding: 15px 0;
}

.submit-form {
  background-color: var(--secondary-color);
  padding: 13px;
  font-size: 25px;
  color: var(--white);
  margin: 25px 0;
  cursor: pointer;
  transition: all ease 0.3;
}

.submit-form:hover {
  background-color: var(--fourth-color);
}

.submit-form:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(80%);
}

.type-of-clients,
.contact-methods {
  display: flex;
}

.contact-item {
  padding: 10px;
}

/* reCaptcha */
.grecaptcha-badge {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  position: fixed !important; /* asegura posición global */
  right: 16px !important; /* prueba cambiar a left si algo lo tapa */
  bottom: 16px !important;
  z-index: 2147483647 !important; /* encima de todo */
}

/* CONTACT INPUT STYLES */

label {
  color: var(--white);
}

.inputclass {
  color: var(--primary-color);
}

input[type='text'],
input[type='email'] {
  border-radius: 4px;
  color: var(--primary-color);
  font-size: 14px;
  margin-bottom: 15px;
  padding: 10px;
  width: 100%;
}

input[type='tel'] {
  border-radius: 4px;
  color: var(--primary-color);
  font-size: 14px;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 10px;
  width: 100%;
}

.button {
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-transition: all 0.15s ease;
  appearance: none;
  background: var(--secondary-color);
  border: none;
  border-radius: 20px;
  color: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
  padding: 15px;
  position: relative;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.button_text {
  position: relative;
  cursor: pointer;
}

.button:hover {
  color: #0f1923;
}

.button:hover {
  background-color: var(--fourth-color);
}

.button:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.text-danger {
  color: var(--third-color);
}

.inputPhone {
  color: var(--white);
  display: flex;
}

.countryCode,
.clientPhone {
  padding: 10px;
}

select {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
}

.icoCtcForm {
  width: 120px;
}

/* FOOTER SECTION */

.footer {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100%;
  padding: 45px 0;
  background: var(--white);
  align-items: center;
}

.dirTxt {
  font-size: 14px;
}

.footerSocial {
  display: flex;
  font-size: 14px;
  color: var(--primary-color);
}

.socialItem {
  display: flex;
  padding: 15px;
}

.socialIco {
  width: 20px;
  margin-right: 10px;
}

.socialTxt > a {
  color: var(--black);
}

.footerTerms {
  display: flex;
}

.policyOne,
.policyTwo {
  padding: 0 10px;
}

.policyOne a,
.policyTwo a {
  color: var(--black);
}

/* Modal General Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /*overflow: auto;*/
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  overflow-y: scroll;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-height: 650px;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* RESPONSIVE */

/* GENERAL RESPONSIVE MENU */

@media only screen and (min-width: 0px) and (max-width: 990px) {
  .navbar {
    display: none;
  }

  .respButton {
    display: block;
  }

  .heroSection {
    margin-top: 0;
    background-image: url('../assets/img/hero-banner-mobile.webp');
  }

  .logoHero {
    width: 250px;
  }

  .grid-container {
    display: none;
  }

  .resp-grid-container {
    display: block;
  }

  .grid-item {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 250px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease-in-out;
  }

  .brandContainer {
    flex-direction: column;
  }

  .brandLeft,
  .brandRight {
    width: 100%;
  }

  .fSwiperContainer {
    height: 50vh;
  }

  .swiperSize1 {
    width: 100%;
    height: 100%;
  }

  .typologyContainer {
    flex-direction: column-reverse;
    width: 100%;
  }

  .typoLeft {
    width: 100%;
  }

  .typoRight {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }

  .typoTab {
    font-size: 11px;
    height: 55px;
  }

  .typoTab.active {
    font-size: 10px;
  }

  .devDivider {
    display: none;
  }

  .brochureSection {
    width: 100%;
  }

  .brochureImg img {
    max-width: 100%;
  }

  .apartmentsGallery {
    flex-direction: column;
  }

  .leftApContainer > .swiper {
    height: 400px;
  }

  .leftApContainer,
  .rightApContainer {
    width: 100%;
  }

  .locationMapSvg {
    width: 100%;
  }

  .imgDivider {
    display: none;
  }

  .developersContainer {
    flex-direction: column;
    height: 100%;
    padding: 20px 0;
  }

  .dev1,
  .dev2,
  .dev3,
  .dev4 {
    padding: 20px 0;
  }

  .contactFormContainer {
    width: 100%;
  }

  .centerDiv {
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .contactImg {
    display: none;
  }

  .direction {
    text-align: center;
  }

  .footerSocial {
    flex-direction: column;
    align-items: center;
  }

  .footerTerms {
    flex-direction: column;
    align-items: center;
  }

  .policyOne,
  .policyTwo {
    padding: 10px;
  }

  .inputPhone {
    flex-direction: column;
  }

  .modal-content {
    margin: 30% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-height: 600px;
  }

  .icoContainer {
    flex-wrap: wrap;
  }

  .itemAmenities {
    padding: 20px;
  }

  h1.apartments {
    font-size: 16px;
  }

  .contactContainer {
    height: 100%;
  }

  .sceneContainer {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
  }
}
