
:root {
  --color-font: #FFFFFF;
  --color-header: #34B1BF;
  --color-coral:#C2948A;
  --color-botones: #7EA8BE;
  --color-contrast:#000000;
  --font-body: 'Raleway', Helvetica, Arial, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}



/* header styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--color-header);
  border-bottom:10px solid#F2C335;
  padding: 0px 0px;
  font-family: var(--font-heading);
  font-weight: 700;
  color : var(--color-font);
  background-image: url('/images/hypnotize.png');
  background-blend-mode: multiply;
}
.brand {
  display: flex;
  align-items: center; 
}


.brand h2 {
   
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  margin-left: 10px;
  display: inline-block;
  letter-spacing: .000005px;
}

.logo img {
  height: 90px;
  width: 90px;
  border-radius: 50%; 
  display: block; 
}


body{
   overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
    background-color:#FDFBEF;
    background-image: url('/images/cream_dust.webp');
    background-blend-mode: multiply;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  
}

/* logo*/

/* nav menu */
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color:var(--color-font);
  font-weight: 600;
  transition: color 0.3s ease;
}

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


.menu-toggle {
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  color: var(--color-contrast);
}
/*wayFinding styles*/
.nav-menu a.active {
  color: var(--color-contrast);
  border-bottom: 2px solid var(--color-header);
}
/* Hero Section */
.hero {
   position: fixed; 
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
   overflow: hidden;
  height: 60vh;
    
}


.video-local-container {
    /* Asegura que el contenedor de video ocupe todo el espacio */
    width: 100%;
    height: 100%;
    overflow: hidden; /* Oculta cualquier parte del video que se desborde */
    position: relative;
}
.video-local-container video {
    /* Propiedades para que el video cubra todo el contenedor sin estirarse */
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centra el video perfectamente */
}
.hero-cta-button {
  position: absolute;
  bottom: 30px;
  left: 30px;
  padding: 12px 24px;
  background-color:#BF754B ;
  color: var(--color-white, #ffffff);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  z-index: 2; 
}

.hero-cta-button:hover {
  background-color:  #F2C335;
}
/*Cards container section*/

.testimonial-properties {
   margin-top: calc(60vh + 100px);
   position: relative;
   z-index: 100;
  background-color:#FDFBEF; 
  padding: 2rem;
  text-align: center;
  background-image: url('/images/cream_dust.webp');
  background-blend-mode: multiply;
}
h3 {
  margin: 0 0 1rem 1rem; 
  color: var(--color-navy);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  position: static;
  left: auto;
  transform: none;
  z-index: auto;
  line-height: 1.2;
  font-family: var(--font-primary);
  user-select: none; 
}
.portrait-container {
    display: flex;
    justify-content: center; /* Centra los retratos */
    gap: 30px; /* Espacio entre los retratos */
    margin-top: 40px;
    margin-bottom: 60px;
}
.client-portrait {
    width: 80px; /* Tamaño del retrato */
    height: 80px;
    border-radius: 50%; /* CLAVE: Para que sean circulares */
    object-fit: cover;
    cursor: pointer;
    border: 3px solid transparent; /* Borde sutil */
    transition: all 0.3s ease;
}
.client-portrait:hover {
    transform: scale(1.1);
    border-color: #F2C335; /* Color que contraste al pasar el ratón (tu color dorado) */
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.testimonial.animate {
    animation: slideIn 0.5s ease-out;
}

.testimonial {
  background-color: var(--cream); 
  padding: 1.5rem; 
  border-left: 5px solid var(--navy); 
  border-radius: 0.5rem; 
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6; 
}
.testimonial footer {
  margin-top: 1rem;
  font-weight: bold;
  color: var(--navy);
  text-align: right;
}
/* Estilos para la sección de servicios */
.services-offered {
     position: relative;
    z-index: 100;
    padding: 60px 20px;
    text-align: center;
    background-color: #FDFBEF; /* Fondo sutilmente diferente al blanco de la página */
    background-image: url('/images/cream_dust.webp');
    background-blend-mode: multiply;
}

.services-offered h2 {
    font-family: var(--font-heading);
    margin-bottom: 40px;
}

/* Contenedor Flexbox/Grid para las tarjetas */
.services-offered .cards-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px; 
}
/* Estilos para cada tarjeta de servicio */
.service-card {
    background-color: white;
    text-align: center;
}
.service-card img {
    width: 60px;
    height: 60px;
    
    /* Añade margen inferior para separarlo del título */
    margin-bottom: 20px; 
    
    /* Aseguramos que el icono sea un bloque para centrado total, aunque ya lo hace el text-align */
    display: inline-block; 
}


/*for sale section*/
h4 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  margin: 2rem 0 1.5rem;
  position: relative;
}

h4::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-gold);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.last-viewed-section {
  margin: 1rem auto;
  padding: 0.8rem 1rem;
  max-width: 500px; 
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  font-family: var(--font-primary, Arial, sans-serif);
}

/* Título */
.last-viewed-section h2 {
  font-size: 1.1rem;
  color: var(--color-navy, #002147);
  text-align: center;
  margin-bottom: 0.5rem;
}

/* Contenedor interno */
.last-viewed-property-card {
  display: flex;
  flex-direction: column; 
}

/* Información textual */
.last-viewed-property-info {
  flex: 1;
  min-width: 0;
}

.last-viewed-property-info h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--color-navy, #002147);
}

.last-viewed-property-info p {
  margin: 0.2rem 0;
  font-size: 0.85rem;
  color: #010101;
}

.last-viewed-property-info .price {
  font-weight: bold;
  color: var(--color-navy);
  margin-bottom: 0.4rem;
}

/* Botón Buy Now */
.buy-now-btn {
  display: inline-block;
  background-color: var(--color-navy);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85rem;
  transition: background-color 0.3s ease;
  text-align: center;
}

.buy-now-btn:hover {
  background-color: #0056b3;
}
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
  max-width: 1200px; 
  margin-left: auto; 
  margin-right: auto;
  padding: 0 1rem; 
}
.property-card {
  background-color: var(--color-cream);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.property-card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  object-fit: cover;
}

.property-card h4 {
  margin: 0 0 0.5rem;
  color: var(--color-navy);
}

.property-card p {
  margin: 0.25rem 0;
  color: #750000;
}

.property-card .price {
  font-weight: 700;
  color: var(--color-navy);
}

/* Modal styles */

.modal {
  display: none; 
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; 
  background-color: rgba(0, 0, 0, 0.7);
}
.modal-content {
  background-color: var(--color-white);
  margin: 5% auto;
  padding: 1.5rem;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
}
.close {
  position: absolute;
  top: 12px;
  right: 16px;
  color: var(--color-navy);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
}
.close:hover {
  color: var(--color-gray);
}
#modalTitle {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--color-navy);
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}
#modalDescription {
  margin-top: 1rem;
  color: var(--color-navy);
  font-family: var(--font-primary);
  line-height: 1.5;
  text-align: justify;
}
.image-slider {
  position: relative;
  overflow: hidden;
  max-height: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  margin: 0 auto;
  max-width: 100%;
}
.image-slider img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  opacity: 0;
  border-radius: 8px;
  user-select: none;
  transition: opacity .9s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.image-slider img.active {
  opacity: 1;
  position: relative;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.4);
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  transition: background 0.3s ease;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slider-arrow.left {
  left: 10px;
}

.slider-arrow.right {
  right: 10px;
}
.slider-dots {
  text-align: center;
  margin-top: 10px;
}
.slider-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--color-gray);
  border-radius: 50%;
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-dots .dot.active {
  background: var(--color-navy);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .modal-content {
    width: 95%;
    padding: 1rem;
  }
  .image-slider img {
    height: 250px;
  }
}


/*footer styles*/
footer {
  background-color: #F2E6D0;
  color: var(--color-white);
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-primary);
  text-align: center;
  margin-top: 2rem;
  background-image:url('/images/hypnotize.png');
  background-blend-mode: multiply;
  border-top:10px solid #F2C335 ;

}

.footer-info {
  flex: 1 1 200px;
}

.footer-info p {
  margin: 0.3rem 0;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons img {
  width: 28px;
  height: 28px;
  display: block;
  filter: brightness(0) invert(1); 
  transition: filter 0.3s ease;
}

.social-icons a:hover img {
  filter: brightness(0.8) invert(1); 
}
.video-link {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.video-link a {
  color: var(--color-white);
    font-weight: bold;
}
/*contact page styles*/


.contact-container {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 0 1rem; 
    box-sizing: border-box;
}

/* Form */
.contact-form {
    flex: 2;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    min-width: 280px;
    box-sizing: border-box;
}

.contact-form label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.contact-form button {
    background-color:var(--color-navy);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.contact-form button:hover {
    background-color: #003366;
}

/* Exchange rates */
.exchange-rates {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    max-width: 320px;
    font-weight: bold;
    margin: 0 auto;
}

.exchange-rates h2, .exchange-rates h3 {
    margin-bottom: 10px;
    color: #003366;
}

.exchange-rates ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.exchange-rates li {
    padding: 4px 0;
}

.converter input, 
.converter select, 
.converter button {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    padding: 6px;
    font-size: 14px;
    font-weight: bold;
}

.converter button {
    background-color:var(--color-navy);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.converter button:hover {
    background-color: #003366;
}

#conversion-result {
    margin-top: 8px;
    color: #003366;
}

