* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face{
    font-family: 'CenturyGothic';
    src: url('centurygothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    
}
/*Header Info - Color Background*/
header {
  position: sticky;
  top: 0; 
  z-index: 1000;
  background-color: #F4F4EF;
  padding: 18px 0;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem; /* Espacio a izquierda y derecha */
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/*Size of Logo */
.logo-img {
  width: 250px; 
  height: auto;
  margin-left: 2rem;
}



/* Navigation Links */  
.nav-links ul {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.btn-nav {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid black;
  color: black;
  text-decoration: none;
  font-size: 1.1rem;

}
.btn-nav:hover {
  background: #e6e6e6;
}
.btn-primary {
  background: black;
  color: white;
  border: none;
}
.btn-primary:hover {
  background: #444; /* gris oscuro al pasar */
}

.nav-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 30px; /* 100% rounded */
  font-size: 1rem;
  text-decoration: none;
  color: black;
  background-color: transparent;  
  min-width: 150px;       /* asegura mismo ancho */
  text-align: center; 
}
.nav-btn--black {
  margin-right: 1rem;
  background-color: black;
  color: white !important;
  border: none;
}
.nav-links ul li a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 600;
}
.nav-btn:hover {
  background-color: #000;
  border: 1px solid black;
  color: #ffffff;
}
.nav-btn--black:hover {
  border: 0px solid rgb(152, 152, 152);
  color: black !important;
  background-color: gray;
}
.container {
  width: 100%;
  max-width: 1500px;
  margin: auto;
  padding: 25px 0;
}
header h1 {
  font-size: 28px;
  color: #fff;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}
/*Botones Home-Contact-Portfolio*/
nav a {
  color: #f0f0f0;
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
}

/*Contact Button*/
.getStarted {
  margin-right: 1rem;
}
.getStarted a {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}
.getStarted:hover {
  color: black;
  background-color: #838282;
}
.getStarted:hover a {
  color: black;
}
.nav-group {
  display: flex;
  gap: 2rem;
  align-items: center;
}


.vertical-slider-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
}

.slider-image {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.slider-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.slider-image.after {
  z-index: 1;
}

.slider-image.before {
  z-index: 2;
  height: 50%;
  overflow: hidden;
  transition: height 0.0s ease-in-out;
}

.slider-handle {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 6px;
  background-color: white;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  z-index: 3;
  cursor: ns-resize;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-handle::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px; 
  background-size: contain;
} 

.slider-icon {
  width: 30px;
  height: 30px;
  background: url('ArrowImage.png') no-repeat center center;
  background-size: contain;
  pointer-events: none;
  user-select: none;
  opacity: 0.95;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.6)); 
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

/*Scroll*/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}


/*Space between text and body div*/
body {
  overflow-x: hidden;
  font-family: 'CenturyGothic';
  background: #121212;
  color: #f0f0f0;
  line-height: 1.6;
}


/*General Content*/
.before-after-section {
  position: relative;
  width: 320px;
  height: 650px;
  margin: 20px auto;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(97, 92, 92, 0.6);
  overflow: hidden;
  font-family: 'CenturyGothic', sans-serif;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  user-select: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*Shadow Behind*/
.before-after-section:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Imagenes superpuestas verticalmente */
.before-after-section .image-container {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-bottom: 2px solid #ffffff; /* naranja */
  cursor: pointer;
}
.before-after-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transition: clip-path 0.5s ease;
}
/*Cut of the image*/
.before-after-section .image-after {
  clip-path: inset(50% 0 0 0);
}
/*Arrows Image Changes*/
.before-after-section input[type="range"]::-webkit-slider-thumb {
  transform: rotate(-90deg);
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 40px;
  background-image: url('ArrowUpDown.png');
  background-position: center; 
  background-size: cover; 
  cursor: pointer;
}

/*Input Color*/
.before-after-section input[type="range"]:hover::-webkit-slider-thumb {
  box-shadow: 0 16px 32px rgba(0,0,0,0.75);
}

.before-after-section input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  background: #d4d4d4;
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}
.before-after-section input[type="range"]:hover::-moz-range-thumb {
  background: #c77c13;
}
.slider-vertical::-webkit-slider-thumb,
.slider-vertical::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid #c24b1b;
  border-radius: 50%;
  cursor: pointer;
}


/*Page Background*/
.before-after-gallery {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 60px 20px;
  background-color: #F4F4EF;
}
/*Space Between Houses*/
.before-after-row {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
}
/*Widht Of the Houses*/
.before-after-section {
  flex: 1 1 45%;
  max-width: 900px;
}


.image-container-vertical {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 10px;
}
.after-image-vertical {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.before-image-vertical {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.resizable-vertical {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 50%; 
  overflow: hidden;
  z-index: 2;
}
.resizable-vertical img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*Slider vertical */
.before-after-section input[type="range"] {
  width: 47%;
  height: 5px;
  background: black;
  border-radius: 5px;
  margin-top: 200px;
  margin-bottom: 190px;
  cursor: pointer;
  accent-color: #c24b1b;
}
.slider-vertical {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  bottom: 10px;
  width: 20px;
  z-index: 10;
  appearance: none;
  height: 3px;
  background: transparent;
  border-radius: 3px;
  cursor: pointer;
}



/*Initial Part - Construction House - Text - PPM&Agreements*/
.house-section {
  background-image: url('BackgroundContactUs.png'); /* fondo claro sin la casa */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 20px;
  text-align: center;
  position: relative;
}
.house-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.house-container {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.house-image {
  max-width: 900px;
  width: 90%;
  height: auto;
  margin: 0 auto;
}
.house-content {
  margin-top: 4rem;
}

.house-content h2 {
  color: #000;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.house-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.house-buttons .btn {
  width: 260px;               
  height: 80px;              
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  border-radius: 20px;          
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: black;
  color: white;
  border: 2px solid black;
}

.btn-primary:hover {
  background-color: #333333;
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid black;
  color: black;
}

.hero-inner {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  border-radius: 1rem;
  color: white;
}

.hero h1 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-text-container {
  background-color: rgba(255, 255, 255, 0.85); /* Fondo claro y limpio */
  padding: 40px 20px;
  margin-top: -4px; /* Unirlo visualmente a la imagen */
}

.hero-text-container h1 {
  font-size: 2.5vw;
  font-weight: 600;
  margin-bottom: 24px;
  color: #111;
}


.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-color: #F4F4EF; /*Change Bright Of the Image*/
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 960px;
  width: 100%;
  height: 100%; 
  z-index: 2;
  color: white;
}

.text-content {
  white-space: nowrap;      
}
.text-content h1 {
  font-size: 4vw;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 30px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  max-width: 90%;
}


/*Hero Buttons*/
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  background: #111;
  color: white;
  border: none;
}
.btn:hover {
  background-color: #838282;
  color: black;
}
.btn-outline {
  border: 2px solid #111;
  color: #111;
  background: transparent;
}
.btn-outline:hover {
  background-color: #000000;
  color: rgb(255, 255, 255);
}
.btn, 
.btn-outline {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s ease;
}

/*Footer Text*/
.features p{
  color: black;
  text-align: center;
  font-size: 15px;
}
.features {
  padding: 60px 0;
  background-color: #F4F4EF;
}
.features h3 {
  color: black;
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 5px;
}
.feature {
  flex: 1;
  min-width: 350px;
  max-width: 460px;
  background-color: transparent;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid black;
}
.feature h4 {
  color: black;
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px;
}
footer {
  background-color: #F4F4EF;
  text-align: center;
  padding: 20px;
  color: black;
}


.contactFormSection {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #F4F4EF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px;
  text-align: center;
  color: #000;
}
.contactFormBody {
  width: 100%;
  max-width: 800px;
  margin: auto;
}
.contactFormBody h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: bold;
}
.contactFormBody p {
  margin-bottom: 80px;
  color: #333;
}
.contactFormSection {
  background-size: cover;
  background-image: url('BackgroundContactUs.png');
  position: relative;
  width: 100%;
  min-height: 72vh;
  background-color: rgb(221, 221, 221);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: #000;
}
.contactFormBody {
  width: 100%;
  max-width: 800px;
}

/*Contact Form*/
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form .input-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.contact-form input,
.contact-form textarea {
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: white;
  flex: 1;
  width: 100%;
  font-family: 'CenturyGothic', sans-serif;
}
.contact-form textarea {
  resize: vertical;
  min-height: 150px;
  font-family: 'CenturyGothic', sans-serif;
}
.contact-form button {
  align-self: flex-end;
  padding: 14px 28px;
  background-color: #b4491f;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'CenturyGothic', sans-serif;
}
.contact-form button:hover {
  background-color: #8f3715;
}


/*Content Text Info House*/
.project-info {
  max-width: 1000px;
  margin: 0px;
  padding: 20px;
  background: #F4F4EF;
  border-radius: 0px;
  color: #000000;
  font-family: 'CenturyGothic', sans-serif;
}
.project-title {
  text-align: center;
  margin-bottom: 15px;
  font-size: 25px;
  color: #000000;
}
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid #000000;
}
.label {
  font-weight: 500;
}
.value {
  font-weight: 500;
  text-align: right;
  min-width: 100px;
  color: #000000;
}
.profit .label{
  font-weight: 600;
  color: #000000;
}
.profit .value {
  font-weight: 600;
  color:  #1a7f1a;
}

/*Mobile Adjustment*/
@media (max-width: 768px) {
  html, body {
  max-width: 100%;
  overflow-x: hidden;
  }
  .house-section {
  margin-top: -100px;
  }
  .house-image {
    margin-top: 80px;
    transform: scale(1.2);
  }
  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px;
  }
  .house-content h2 {
    font-size: 6vw;
  }
  .house-buttons .btn {
    width: 250px;
    height: 60px;
    font-size: 0.95rem;
    border-radius: 15px;
    padding: 12px 20px;
  }
  .logo-img {
    margin-left: 0rem;
    width: 180px;
  }
  .nav-links ul {
    flex-direction: column;
    gap: 12px;
  }
  .nav-btn {
    font-size: 1rem;
    padding: 10px 20px;
    min-width: 160px; /* más ancho en móvil si deseas */
  }
  .nav-btn--black {
    margin-right: 0rem;
  } 
  .btn-nav {
    font-size: 1rem;
    padding: 8px 20px;
  }
  .house-overlay h2 {
    font-size: 2.5rem;
  }
  .house-buttons .btn {
    font-size: 1.1rem;
  }
}

