@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%;
} 


.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%); }
}

@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;
  }
}


/* Fondo exterior */
.carta-editora {
    padding: 55px 20px;
    background-image: url("fondoblog.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Papel de la carta */
.carta-papel {
    width: 100%;
    max-width: 650px;
    box-sizing: border-box;
    padding: 45px 55px;
    background: #fdfbf5;
    border: 5px double #315b4a;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    color: #354638;
}

/* Encabezado */
.carta-etiqueta {
    text-align: center;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 0.9rem;
    color: #6a3146;
    background: #f5dce2;
    padding: 5px 10px;
    width: fit-content;
    margin: 0 auto 30px;
}

.carta-papel h2 {
    text-align: center;
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: normal;
    color: #234b3a;
    margin-bottom: 28px;
}

.carta-papel > p:not(.carta-etiqueta) {
    font-family: Georgia, serif;
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* Firma */
.carta-firma {
    margin-top: 35px;
    text-align: right;
}

.carta-firma p {
    font-family: Georgia, serif;
    font-style: italic;
    margin-bottom: 5px;
}

.carta-firma h3 {
    font-family: Georgia, serif;
    font-size: 1.5rem;
    font-weight: normal;
    color: #6a3146;
    margin: 0;
}

/* Tu sello */
.carta-sello {
    display: block;
    width: 95px;
    height: auto;
    object-fit: contain;
    margin: 12px 0 0 auto;
}

/* Celulares */
@media (max-width: 600px) {
    .carta-editora {
        padding: 30px 14px;
    }

    .carta-papel {
        padding: 32px 24px;
        border-width: 4px;
    }

    .carta-papel h2 {
        font-size: 1.7rem;
    }

    .carta-papel > p:not(.carta-etiqueta) {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .carta-sello {
        width: 78px;
    }
}

.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: #f5e4e9; /* rosita crema */
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
}