@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #E5E4E1;
   /* grilla provisoria */
}

/* navbar para todas las secciones */
.navbar {
  height: 80px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent; 
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar.scrolled {
  background: linear-gradient(135deg, #B1A3A2, #B1A3A2);
}

.navbar__container {
  max-width: 1200px; /* o el max-width que uses en index */
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.navbar__nav {
  display: flex;
  justify-content: flex-start;
  flex-grow: 1;
}

.navbar__nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding-left: 40px;
}

.navbar__nav a {
  text-decoration: none;
  color: #6D565B;
  font-family: 'Mainlux', serif;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.navbar__nav a:hover {
  color: #cfcfcf;
}

.navbar__logo img {
  height: 50px;
   margin-right: 0;/* para que no se desplace y quede alineado */
}



/* acerca de mi */

/* SOLO afecta al acerca.html */
.acerca-body .navbar {
  justify-content: flex-start;
  padding-left: 40px; /* Ajustá según el margen que querés */
}

.acerca-body .navbar__logo img {
  margin-right: 0;
}

.acerca-body .navbar__container {
  justify-content: flex-start;
  gap: 40px; /* separa logo del menú */
}

.acerca-body .navbar {
  background: linear-gradient(135deg, #B1A3A2, #E5E4E1);
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 50px;
  padding: 0 30px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}


.acerca-wrapper {
  background: linear-gradient(to right, #E5E4E1 60%, #5E293A 40%);
  padding: 100px 0;
}

.acerca-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.acerca-texto {
  flex: 1;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.acerca-imagen {
  flex-shrink: 0;
}

.acerca-imagen1 img {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.titulo-mainlux {
  font-family: 'MainLux', serif;
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #5E293A;
}

.subtitulo-montserrat,
.parrafo-montserrat {
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

.subtitulo-montserrat {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.parrafo-montserrat {
  font-size: 1rem;
  line-height: 1.5;
}

.acerca-imagen img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.cta-button {
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}


.cta-button button {
  --primary-color: #5E293A;   
  --secondary-color: #fff;
  --hover-color: #B1A3A2;     
  --arrow-width: 10px;
  --arrow-stroke: 2px;
  box-sizing: border-box;
  border: 0;
  border-radius: 20px;
  color: var(--secondary-color);
  padding: 1em 1.8em;
  background: var(--primary-color);
  display: flex;
  transition: 0.2s background;
  align-items: center;
  gap: 0.6em;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
}

.cta-button button .arrow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-button button .arrow {
  margin-top: 1px;
  width: var(--arrow-width);
  background: var(--primary-color);
  height: var(--arrow-stroke);
  position: relative;
  transition: 0.2s;
}

.cta-button button .arrow::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  border: solid var(--secondary-color);
  border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
  display: inline-block;
  top: -3px;
  right: 3px;
  transition: 0.2s;
  padding: 3px;
  transform: rotate(-45deg);
}

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

.cta-button button:hover .arrow {
  background: var(--secondary-color);
}

.cta-button button:hover .arrow:before {
  right: 0;
}

/* contacto */

.contacto-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px;
  max-width: 1200px;
  margin: 100px auto 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.contacto-texto {
  flex: 1;
  min-width: 280px;
}

.titulo-mainlux {
  font-family: 'Mainlux', serif;
  font-size: 2.5rem;
  color: #5E293A;
  margin-bottom: 10px;
}

.subtitulo-montserrat {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: #7a5b4a;
  margin-bottom: 20px;
}

.parrafo-montserrat {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 30px;
}

.cta-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-button {
  text-decoration: none;
}

.acerca-imagen img {
  max-width: 400px;
  width: 100%;
  border-radius: 20px;
}

@font-face {
  font-family: 'Mainlux';
  src: url('Mainlux-Light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.hero-img {
  width: 150px;
  height: auto;
  border-radius: 15%;
  margin-bottom: -2vw;
}

.hero-text h1 {
  font-size: 48px;
  font-family: 'Mainlux', sans-serif;
  margin-bottom: -2vw;
}

.hero-text h2,
.hero-text p,
.hero-quote,
.hero-button {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 0.5vw;
}

.hero {
  padding: 80px 20px;
  text-align: center;
}

.hero-text {
  max-width: 700px;
  margin: 0 auto;
}

.hero-text h2 {
  font-size: 20px;
  color: #555;
  line-height: normal;
  font-weight: lighter;
  margin-bottom: 0vw;
}

.hero-quote {
  font-style: italic;
  color: #7a4f3c;
  margin-top: 1vw;
  font-size: 18px;
}

.hero-button {
  display: inline-block;
  padding: 15px 28px;
  background-color: #5E293A;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
  margin-top: 10px;
}

.hero-button:hover {
  background-color: #B1A3A2;
}

.index-body {
    position: relative;
    min-height: 100vh;
}
.index-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('back-index.png');
    background-size: 100% 100%; /* fuerza a estirarse en ambos ejes */
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}


.services {
  max-width: 900px;
  margin: 100px auto;
  padding: 0 20px;
  font-family: 'Montserrat', Arial, sans-serif; /* texto */
  color: #5E293A;
  text-align: center;
}

.services h2 {
  font-family: 'Mainlux', cursive, sans-serif; /* título con Mainlux */
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #5E293A;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  flex: 1 1 250px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item h3 {
  color: #5E293A;
  margin-bottom: 15px;
}

.service-item p {
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
}

.footer {
  background-color: #f9f9f9;
  padding: 2rem 1rem 1rem;
  font-family: 'Montserrat', sans-serif;
  color: #333;
  border-top: 1px solid #ddd;
  text-align: center;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
}

.footer h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  color: #444;
  font-weight: 600;
}

.footer p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
  font-weight: 400;
}

.footer-copy {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #777;
}

/* explora */

/* Fondo general para index y explora (con imagen y grilla) */
.explora-body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #E5E4E1;
  /* grilla roja */
  background-image: 
    linear-gradient(to right, rgba(255, 0, 0, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 0, 0, 0.2) 1px, transparent 1px);
  background-size: 100px 100px;
}

/* Imagen de fondo fija */
.explora-body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('back-index.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}

.page-subtitle {
  margin-top: 80px; /* para que quede debajo del navbar fijo (que mide 80px) */
  margin-bottom: 10px; /* menos espacio para acercar las cards */
  font-family: 'Mainlux', serif;
  font-size: 1.8rem;
  color: #5E293A;
  text-align: center;
  font-style: italic;
  padding: 0 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.blog-section {
  padding-top: 20px; /* menos espacio arriba para acercar las cards */
  padding-bottom: 40px;
  background-color: transparent; /* que no opaque el fondo del body */
  text-align: center;
}

.blog-title {
  font-size: 2em;
  margin-bottom: 30px;
  color: #4f3b3b;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card h3 {
  margin-bottom: 10px;
  color: #4f3b3b;
}

.blog-card p {
  color: #5f5f5f;
  font-size: 0.95em;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-content {
  display: flex;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  max-width: 900px;
  width: 90%;
  position: relative;
  gap: 30px;
}

.popup-left {
  flex: 2;
  text-align: left;
}

.popup-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-right img {
  max-width: 100%;
  border-radius: 8px;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .navbar__nav a,
  .navbar__navmov a {
    font-size: 0.5rem; 
    text-align: center;
    white-space: normal;
    display: block; 
  }
}