/* ===== VARIABLES ===== */
:root {
  --color-verde-oscuro: #94B24F;
  --color-verde-claro: #7E8F54;
  --color-verde-suave: #DAF7A6;
  --color-naranja: #EA9828;

  --heading-font: "Marcellus", sans-serif;
  --nav-font: "Roboto Slab", sans-serif;
  --body-font: "Noto Sans", "Liberation Sans", sans-serif;
}

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

body {
  font-family: var(--body-font);
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== RESET GENERAL DE ESTRUCTURA ===== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
  display: flex;
  width: 100%;
  align-items: stretch;
  justify-content: space-between;

  
}

 
	 .nav {
		 height: 190px;
	    background-image: url(../img/fondobotonnera.png);
		background-size: cover;         /* que ocupe todo */
  background-position: center;    /* centrada */
  background-repeat: no-repeat;   /* que no se repita */
  display: flex;
  flex-direction: row;
  justify-content: flex-end; /* manda los links al fondo */
  align-items: flex-end; /* opcional: alinea a la derecha */
}

.nav a {
  margin: 0.3rem 0;
}
/* ===== UTILIDADES ===== */
.section-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-desc {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #666;
}

.btn {
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1rem;
  transition: 0.3s;
}

.btn.primary {
  background: var(--color-verde-oscuro);
  color: white;
}

.btn.primary:hover {
  background: var(--color-naranja);
}

.btn.secondary {
  background: #f0f0f0;
  color: #333;
}

.btn.secondary:hover {
  background: #ddd;
}

/* ===== HEADER ===== */

header {
  height: 50vh;
  background-attachment: scroll;
  background-image: url("../img/fondoyerba2.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;

  display: flex;
  align-items: stretch; 
  
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
}



.logo img {
  height: 245px; /* Ajustalo a gusto */
  width: auto;
  display: block;
  margin-right: 50px;
  align-self:center;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
	background-image: url('../img/fondopareja_2.png'); /* tu ruta */
  background-size: contain; /* o cover, según efecto */
  background-position: bottom center;
  background-repeat: no-repeat;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  align:center;
}


.icono {
  width: 40px;
  height: 40px;
  background: var(--color-naranja);
  border-radius: 50%;
  margin-right: 0.5rem;
}

.nav a {
  margin: 0.5rem 0.5rem;
  text-decoration: none;
  font-family: var(--nav-font);
  color: #333;
  font-size:20px;
  padding: 0 0.5rem;
    vertical-align: baseline;
	padding-bottom: 35px;

}

.nav a:hover {
  color: var(--color-verde-oscuro);
}

/* ===== HERO ===== */
.hero-carousel {
      position: relative;
      width: 100%;
      height: 63vh;
      overflow: hidden;
    }

    .slide {
      position: absolute;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center top;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }

    .slide.active {
      opacity: 1;
      z-index: 1;
    }

.slide .text-content {
  font-family: var(--heading-font);
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 40px;
  color: #1d2410;

  animation: fadeDown 1.2s ease both;
}

    .slide h2 {
      font-size: 3rem;
      margin-bottom: 1rem;
    }

    .slide p {
      font-size: 1.2rem;
      max-width: 600px;
      margin: 0 auto;
    }

    @keyframes fadeDown {
      0% {
        opacity: 0;
        transform: translate(-50%, -40px);
      }
      100% {
        opacity: 1;
        transform: translate(-50%, 0);
      }
    }

/* ===== TARJETAS VISUALES ===== */

.imagenes-container {
  margin: 40px auto;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1300px;
}

.tarjeta {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3/4;
  perspective: 1000px;
  position: relative;
}

.tarjeta-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

.tarjeta:hover .tarjeta-inner {
  transform: rotateY(180deg);
}

.tarjeta-front,
.tarjeta-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  top: 0;
  left: 0;
}

.tarjeta-front {
  z-index: 2;
  background: #000;
}

.tarjeta-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tarjeta-front .contenido-front {
  position: absolute;
  top: 40px;
  width: 100%;
  text-align: center;
  color: white;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
  z-index: 3;
}

.tarjeta-back {
  transform: rotateY(180deg);
  background-color: #111;
  color: white;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.tarjeta-back .fondo {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.tarjeta-back .contenido {
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
  padding: 1rem;
  text-align: center;
}

.boton {
  margin-top: 1rem;
  padding: 0.75rem;
  border: none;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
  header {
    padding: 0.5rem;
  }

  .logo img {
    height: 150px;
  }

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

  .logo {
    justify-content: center;
    margin-bottom: 0.5rem;
  }

  

  .nav a {
    font-size: 16px;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem;
  }



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

  .tarjeta {
    max-width: 90%;
  }
}

@media (max-width: 1068px) {
  .hero2 {
    margin-top: 90px;
  }
}


.about-section {
  margin: 0;
  padding: 0;
  background-attachment: scroll;
  background-image: url("../img/fondoyerba4.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.about-content {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 7rem 0;
}

.about-container {
	
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 80px;
  padding: 0 2rem;
  gap: 2rem;
}

.about-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.about-image-wrapper {
  flex: 1 1 45%;
  margin-top: -150px;
  opacity: 0;
  transform: translateY(-40px) scale(1.2);
  transition: all 1s ease;
}

.about-image-wrapper.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.about-text-wrapper {
  flex: 1 1 45%;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.about-text-wrapper.in-view {
  opacity: 1;
  transform: translateY(0);
}

.about-subtitle {
  text-transform: uppercase;
  font-size: 1.8rem;
  font-weight: 400;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.about-title {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.about-title strong {
  font-weight: 700;
}

.about-description {
  opacity: 0.7;
  margin-bottom: 2rem;
}

.about-icons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-icon-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--contrast-color);
}

.about-icon-item .icon {
  font-size: 2rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .about-image-wrapper {
    margin-top: 0;
  }

  .about-container,
  .about-row {
    flex-direction: column;
    align-items: center;
  }

  .about-image-wrapper,
  .about-text-wrapper {
    flex: 1 1 100%;
    text-align: center;
  }

  .about-text-wrapper {
    margin-top: 2rem;
  }
}
/* ==== Publicaciones (tarjetas estilo que pediste) ==== */

.publicaciones-container {
  max-width: 1200px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}



.publicacion-card {
  background-color: white;
  color: #000;
  border-radius: 8px;
  box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.2);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
   width: 100%;
  }

.publicacion-card:hover {
  transform: translateY(-10px);
}

.publicacion-wrapper {
  position: relative;
  flex: 1;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.publicacion-date {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--color-verde-claro);
  color: white;
  padding: 0.8em;
  font-family: 'Open Sans', sans-serif;
  z-index: 10;
  text-align: center;
  width: 60px;
}

.publicacion-date span {
  display: block;
}

.publicacion-day {
  font-weight: 700;
  font-size: 24px;
  text-shadow: 2px 3px 2px rgba(0, 0, 0, 0.18);
}

.publicacion-month {
  text-transform: uppercase;
  font-size: 12px;
}

.publicacion-year {
  font-size: 12px;
}

.publicacion-data {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: white;
  padding: 1rem;
  box-sizing: border-box;
  transform: translateY(calc(70px + 1em));
  transition: transform 0.3s;
}

.publicacion-card:hover .publicacion-data {
  transform: translateY(0);
}

.publicacion-content {
  position: relative;
  z-index: 1;
}

.publicacion-author {
  font-size: 12px;
  color: #555;
  margin-bottom: 0.25rem;
}

.publicacion-title {
  margin-top: 10px;
  font-weight: 600;
  font-size: 1.2rem;
}

.publicacion-text {
  margin: 0.5rem 0 0 0;
  font-size: 0.95rem;
  height: 70px;
  overflow: hidden;
  color: #444;
}

.publicacion-button {
  margin-top: 1rem;
  padding: 0.75rem;
  border: none;
  width: 100%;
  background: var(--color-verde-claro);
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.publicacion-button:hover {
  background: var(--color-verde-oscuro);
}

/* Responsive */
@media (max-width: 768px) {
  .publicacion-card {
    width: 90%;
    min-height: auto;
  }
  .publicacion-date {
    width: 50px;
    padding: 0.5em;
  }
}

 footer {
            background: linear-gradient(135deg, var(--color-verde-oscuro) 0%, var(--color-verde-claro) 100%);
            color: white;
            margin-top: 3rem;
            padding: 2rem 0 1rem 0;
        }

        footer .container {
            background-image: none; /* Override del background de pareja */
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            align-items: start;
        }

        .footer-seccion h3 {
            font-family: var(--heading-font);
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--color-verde-suave);
        }

        .footer-seccion ul {
            list-style: none;
            padding: 0;
        }

        .footer-seccion li {
            margin-bottom: 0.5rem;
        }

        .footer-seccion a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease;
            font-family: var(--body-font);
        }

        .footer-seccion a:hover {
            color: var(--color-naranja);
        }

        .contacto-item {
            display: flex;
            align-items: center;
            margin-bottom: 0.8rem;
        }

        .contacto-item i {
            width: 20px;
            margin-right: 10px;
            text-align: center;
        }

        .redes-sociales {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .redes-sociales a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .redes-sociales a:hover {
            background: var(--color-naranja);
            transform: translateY(-2px);
        }

        .footer-bottom {
            text-align: center;
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
        }

        /* Media queries para el footer */
        @media (max-width: 768px) {
            footer .container {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                text-align: center;
            }
            
            .contacto-item {
                justify-content: center;
            }
