@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Bebas+Neue&family=Fjalla+One&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Oswald:wght@200..700&family=Spicy+Rice&display=swap');

body{
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
} 

html, body {
  overflow-x: hidden;
}


@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-photo {
    width: 200px;
  }

  .about-title {
    font-size: 1.8rem;
  }

  .about-text {
    font-size: 1rem;
  }
}


@media (max-width: 768px) {

  /* Header */
  header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .logo {
    width: 180px;
  }

  .naver ul {
    flex-direction: column;
    
  }

  /* Banner */
  .banner-move h6 {
    font-size: 0.75rem;
  }

  /* Hero */
  .hero {
    min-height: 60vh;
  }

  /* Sección de blogs */
  .recent-posts-wrapper {
    padding: 2rem 1rem;
  }

  .recent-title {
    font-size: 1.6rem;
  }

  .card {
    padding: 1rem;
  }

  .card img {
    border-radius: 8px;
  }
}


.hero {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;

    background-image:
        url('hileradeflorpng'),
        repeating-linear-gradient(
            90deg,
            #fce3df,
            #fce3df 12px,
            #f4d8d6 12px,
            #f4d8d6 24px
        );

    background-repeat: no-repeat, repeat;
    background-position: center top, left top;
    background-size: 1250px auto, auto;

    padding: clamp(65px, 9vw, 100px) 20px;
    min-height: 440px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    background-size: 300px auto, auto; /* flor más pequeña */
    background-position: center 20px, left top; /* la bajas un poquito */
  }
}

@media (max-width: 480px) {
  .hero {
    background-size: 200px auto, auto; /* tamaño perfecto para cel */
    background-position: center 10px, left top;
  }
}

.hero .hero-card {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 35px clamp(10px, 4vw, 40px);

    text-align: center;
    background: transparent;
    border: none;
    border-radius: 30px;
    box-shadow: none;
}

.hero .hero-card::before {
    content: "";
    position: absolute;
    inset: -15px;
    z-index: -1;

    background: radial-gradient(
        ellipse at center,
        rgba(255, 250, 244, 0.96) 0%,
        rgba(255, 250, 244, 0.82) 55%,
        rgba(255, 250, 244, 0) 100%
    );

    filter: blur(10px);
    border-radius: 50%;
    pointer-events: none;
}

.hero-card h3 {
    font-family: 'Lobster Two', cursive;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #5A2A3A;
    margin: 0 0 15px;
}

.hero-card p {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.6;
    color: #5A2A3A;
    margin: 0;
}


.header-centro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #afcf85;
    height: 120px;
    padding: 0 20px;
}

/* Menú izquierdo en computadora */
.nav-left {
    position: absolute;
    right: calc(50% + 150px);
    display: flex;
    gap: 1.5rem;
}

/* Menú derecho en computadora */
.nav-right {
    position: absolute;
    left: calc(50% + 150px);
    display: flex;
    gap: 1.5rem;
}

/* Enlaces */
.nav-left a,
.nav-right a,
.menu-movil a {
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #5A2A3A;
    font-weight: 600;
}

.nav-left a:hover,
.nav-right a:hover,
.menu-movil a:hover {
    color: #03270b;
}

/* Logo centrado */
.logo-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

img.logo-header {
    width: auto;
    height: 100px;
    object-fit: contain;
    display: block;
}

.estrella {
    font-size: 22px;
    color: #5A2A3A;
    opacity: 0.9;
}

/* El menú móvil no aparece en computadora */
.menu-movil {
    display: none;
}


/* ------------------------------ */
/* 📱 MODO CELULAR */
/* ------------------------------ */

@media (max-width: 768px) {

    .header-centro {
        height: auto;
        padding: 10px 4px 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    /* Logo arriba */
    .logo-wrapper {
        position: static;
        transform: none;
        order: 1;
        gap: 8px;
    }

    img.logo-header {
        height: 65px;
        width: auto;
    }

    .estrella {
        font-size: 16px;
    }

    /* Ocultamos los menús de computadora */
    .nav-left,
    .nav-right {
        display: none;
    }

    /* Los cuatro enlaces en una sola línea */
    .menu-movil {
        order: 2;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: clamp(8px, 3vw, 16px);
        width: 100%;
        white-space: nowrap;
    }

    .menu-movil a {
        font-size: clamp(23px, 3.6vw, 15px);
        white-space: nowrap;
        font-weight: 600;
    }

}


.banner-move {
  width: 100%;
  overflow: hidden;
  background-color: #588b6d; 
  padding: 0.2rem 0;
}

.banner-move h6 {
  display: inline-block;
  white-space: nowrap;
  color: rgb(245, 235, 235);
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  line-height: 0.85rem;
  margin: 0;
  width: 100%;
  animation: moveText 27s linear infinite;
}

@keyframes moveText {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}


.card {
  background-color: #FFF7F2; /* crema suave */
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.card h3 {
  color: #610c0c; /* tu color vino */
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.card p {
  color: #4A4A4A;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-family: 'Oswald', sans-serif;
}

.btn-card {
  display: inline-block;
  background-color: #F2D7E8; /* rosa pastel que combina con tu header */
  color: #350603;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-card:hover {
  background-color: #E8C2D4;
}


.ondas {
  display: flex;
  gap: 0;
  z-index: 1;
}

.ondas span {
  width: 100vw;
  height: 50px;
  margin-left: calc(50% - 50vw);
  background: #F7DDE2; /* rosa pastel */
  border-radius: 0 0 50% 50%;
  display: inline-block;
}


.recent-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 4rem; /* <-- espacio arriba/abajo y a los lados */
  max-width: 1200px;  /* <-- evita que se estiren demasiado */
  margin: 0 auto;     /* <-- centra todo */

}

.card {
  background-color: #FFF7F2;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12); /* <-- más visible */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 2rem;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16); /* <-- efecto editorial */
}

.recent-posts-section{
    background-color: #588b6d;
    width: 100%;
    margin-top: -23px;
    position: relative;
    overflow: hidden;
}

/* MARIPOSA */
.butterfly-corner {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 200px;
  height: 200px;

  background-image: url('mariposa.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  pointer-events: none;
  z-index: 50;
}

/* TABLET */
@media (max-width: 768px) {
  .butterfly-corner {
    width: 140px;
    height: 140px;
    bottom: 0;
    right: 0;
  }
}

/* TELÉFONO */
@media (max-width: 480px) {
  .butterfly-corner {
    width: 110px;
    height: 110px;
    bottom: 5px;
    right: 5px;
  }
}

.recent-posts-wrapper{
    padding: 0 0 2rem 0;
}

.recent-title {
  font-family: 'Lobster Two', serif;
  font-size: 2rem;
  color: #fde8f5; /* tu color vino del header */
  margin: 2rem 0 1.0rem 0;
  text-align: center; /* o center si lo prefieres */ 
  position: relative;
}

.about-section {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 45px 25px;
    overflow: hidden;

    background-image:
        linear-gradient(
            rgba(255, 249, 247, 0.45),
            rgba(255, 249, 247, 0.45)
        ),
        url("fondoblog.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Contenido encima del overlay */
.about-content {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;

    gap: clamp(25px, 4vw, 55px);
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.about-photo {
    display: block;
    flex: 0 1 400px;
    width: 100%;
    max-width: 400px;
    height: auto;
    min-width: 0;
    border-radius: 14px;
}

.about-info {
    flex: 1 1 0;
    min-width: 0;
    max-width: 600px;
    font-family: 'Oswald', sans-serif;
}

.about-title {
    font-family: 'Lobster Two', cursive;
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    color: #8A3B52;
    margin: 0 0 1rem;
}

.about-text {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    color: #4A4A4A;
    line-height: 1.7;
    text-align: left;
    overflow-wrap: break-word;
}

@media (max-width: 950px) {
    .about-section {
        padding: 35px 24px;
    }

    .about-content {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 25px;
        max-width: 680px;
    }

    .about-photo {
        flex: 0 1 auto;
        width: clamp(550px, 42vw, 440px);
        max-width: 100%;
    }

    .about-info {
        width: 100%;
        max-width: 620px;
        flex: 0 1 auto;
    }

    .about-title {
        text-align: center;
    }
}

@media (max-width: 850px) {
    .about-section {
        padding: 35px 24px;
    }

    .about-content {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        gap: 25px;
        max-width: 680px;
    }

    .about-photo {
        flex: 0 1 auto;
        width: clamp(220px, 42vw, 340px);
        max-width: 100%;
    }

    .about-info {
        width: 100%;
        max-width: 620px;
        flex: 0 1 auto;
    }

    .about-title {
        text-align: center;
    }
}

@media (max-width: 750px) {
    .about-section {
        padding: 35px 24px;
    }

    .about-content {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        gap: 25px;
        max-width: 680px;
    }

    .about-photo {
        flex: 0 1 auto;
        width: clamp(220px, 42vw, 340px);
        max-width: 100%;
    }

    .about-info {
        width: 100%;
        max-width: 620px;
        flex: 0 1 auto;
    }

    .about-title {
        text-align: center;
    }
}

/* CELULARES */
@media (max-width: 600px) {
    .about-section {
        padding: 25px 18px;
    }

    .about-content {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        gap: 20px;
        max-width: 580px;
    }

    .about-photo {
        width: min(75%, 280px);
    }

    .about-text {
        font-size: 1rem;
        line-height: 1.65;
    }
}

.about-corner-deco {
  position: absolute;
  top: 160px;     /* súbela o bájala */
  right: -100px;   /* muévela hacia la derecha */
  width: 200px;   /* tamaño de la imagen */
  height: 200px;
  background-image: url('hadia.png'); /* tu imagen */
  background-size: contain; /* NO se deforma */
  background-repeat: no-repeat;
  pointer-events: none; /* no molesta al hacer click */
  opacity: 0.95; /* opcional */
  z-index: 10; /* encima del fondo pero debajo del texto si quieres */
}

@media (max-width: 768px) {
  .about-corner-deco {
    width: 150px;
    height: 150px;
    top: -10px;
    right: -5px;
  }
}

@media (max-width: 480px) {
  .about-corner-deco {
    width: 120px;
    height: 120px;
    top: -5px;
    right: -5px;
  }
}

.about-corner-dec,
.about-corner-de {
    position: absolute;
    z-index: 0;

    width: clamp(200px, 80vw, 450px);
    aspect-ratio: 1;
    height: auto;

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    pointer-events: none;
    opacity: 0.95;
}

.about-corner-dec {
    background-image: url('rana.png');
    left: 1%;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
  .about-corner-dec {
    width: 150px;
    height: 150px;
    top: 100px;
    right: -5px;
  }
}

@media (max-width: 480px) {
  .about-corner-dec {
    width: 120px;
    height: 120px;
    top: -5px;
    right: -5px;
  }
}

.about-corner-de {
    background-image: url('rani.png');
    right: 1%;
    top: 50%;
    transform: translateY(-50%);
}


/* Pantallas intermedias */

@media (max-width: 950px) {
    .hero {
        min-height: 390px;
        padding: 65px 15px;
    }

    .hero .hero-card {
        max-width: 620px;
    }

    .about-corner-dec {
        left: -2%;
    }

    .about-corner-de {
        right: -2%;
    }
}

/* Celulares */

@media (max-width: 600px) {
    .hero {
        min-height: 360px;
        padding: 75px 18px;

        background-size: 200px auto, auto;
        background-position: center 10px, left top;
    }

    .hero .hero-card {
        padding: 25px 8px;
    }

    .about-corner-dec,
    .about-corner-de {
        width: 200px;
        opacity: 0.65;
    }

    .about-corner-dec {
        left: -28px;
        top: 18%;
    }

    .about-corner-de {
        right: -28px;
        top: 82%;
    }
}

@media (max-width: 768px) {
  .about-corner-de {
    width: 150px;
    height: 150px;
    top: 100px;
    right: -5px;
  }
}

@media (max-width: 480px) {
  .about-corner-de {
    width: 160px;
    height: 120px;
    top: -5px;
    right: -5px;
  }
}


.footer-section {
  background-color: #06351b; /* vino del header */
  padding: 2rem 0;
  width: 100%;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-text {
  color: #f8cbd8; /* rosita crema */
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.llavero {
    position: absolute;
    top: 20px;
    right: 85%;
    z-index: 20;
}

/* LAPTOP - CELULAR */
@media (max-width: 768px) {
    .llavero {
        top: 20px;
        left: 5%;
        right: auto;
        z-index: 20;
    }
}


.llavero img {
    width: 180px;
}

.llavero:hover img {
    animation: vueltita 1.2s ease-in-out infinite;
}

@keyframes vueltita {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}