:root {
    --section-padding: 2rem;
}
/* General styles */
body {
    font-family: libertinus-serif, serif; 
    background-color: #ffffff; 
    color: #333333; 
    line-height: 1.6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: libertinus-serif, serif; 
}

button {
    font-family: libertinus-serif, serif; 
    font-weight: 600;
    font-size: 1.2rem;
    background-color: #27467f; 
    color: #fff; 
    border: none; 
    padding: 0.5rem 1rem; 
    border-radius: 8px;
    cursor: pointer; 
    transition: background-color 0.3s ease; /* Transición suave para el color de fondo */
}

/* Header styles */
header {
    display: grid;
    padding: 1vh;
    background: #e8e3dd;
    height: 15vh;
    align-items: top;
    grid-template-columns: auto 1fr;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
header img {
    height: 5rem; /* Altura fija */
    width: auto;  /* Mantiene la proporción */
    max-width: 100%; /* No excede el contenedor */
    margin-right: 2vw;
}

/* Oculta el checkbox */
.menu-toggle {
    display: none;
}

/* Icono del menú */
.menu-icon {
    font-size: 2rem;
    color: #27467f;
    cursor: pointer;
    margin-left: auto;
    padding: 1rem;
    display: block;
    z-index: 101;
    user-select: none; /* Evita selección de texto al hacer clic */
}

/* Sidebar oculto por defecto */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 70vw;
    height: 100vh;
    background: #e8e3dd;
    box-shadow: 2px 0 8px rgba(0,0,0,0.08);
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 2rem 1rem;
}
.sidebar-menu nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.sidebar-menu nav ul li {
    margin: 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    width: 100%;
}
.sidebar-menu nav ul li a {
    text-decoration: none;
    color: #656565;
    transition: color 0.3s ease;
    width: 100%;
    display: block;
}

/* Cuando el checkbox está checked, muestra el sidebar */
.menu-toggle:checked ~ .sidebar-menu {
    transform: translateX(0);
}

/* Desktop: menú tradicional alineado a la derecha */
@media (min-width: 600px) {
    .menu-icon {
        display: none;
    }
    .sidebar-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        box-shadow: none;
        transform: translateX(0);
        flex-direction: row;
        align-items: center;
        padding: 0;
        margin-left: auto;
        justify-content: flex-end;
        margin-right: 10px;
    }
    .sidebar-menu nav ul {
        display: flex;
        justify-content: flex-end;
        gap: 2vw;
        list-style: none;
        padding: 0%;
        margin: 3px;
        align-items: top;
    }

header ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    gap: 2vw;
}

header ul li {
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
}
header ul li a {
    text-decoration: none;
    color: #656565;
    transition: color 0.3s ease;
}

header ul li a:hover {
    color: #27467f; /* Cambia el color al pasar el mouse */
    text-decoration: underline;

}
}

/* Hero styles */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 45vh;
    background: none; /* Elimina el fondo aquí */
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('./img/background_img_alt.JPG');
    background-size: cover;
    background-position: center;
    filter: blur(2px); /* Ajusta el nivel de blur */
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.centrar-texto {
    text-align: center;
}

.hero-content {
    background: #000000a4; /* Fondo semitransparente */
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px #00000085;
}

.hero h1{
    text-shadow: 4px 4px 10px #000000b3; /* Sombra al texto */
    font-size: 3rem;
    font-family: 'Alex Brush', cursive; /* Cambia la fuente a Alex Brush */
    font-size: 3.5rem;
    color: #244178; 
    text-align: center;
    margin: 2vh 0;
}

/* Main content styles */
.index-main {
    display: flex;
    flex-direction: column; 
    padding: var(--section-padding);
    background: #f5f5f5;
}
.index-main p {
    font-size: 1.2rem;
    color: #656565;
    text-align: center;
    margin-bottom: 2vh;
}
.index-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 2vh 0;
    color: #27467f; /* Color del título */
    order: 0; /* El título va primero */
}
.index-sections {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2vw;
    margin-top: 2vh;
}

.card-highlight-coffee, .card-highlight-tea, .card-highlight-accessories {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: var(--section-padding);
    margin: 1rem 0;
    flex: 1;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.index-sections img {
    width: 100%;
    height: 55vh; /* Altura fija para las imágenes */
    object-fit: cover; /* Mantiene la proporción de la imagen */
    border-radius: 8px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.index-sections h3 {
    font-size: 1.8rem;
    color: #27467f; /* Color del subtítulo */
}

@media (min-width: 768px) {
.index-sections {
        flex-direction: row; /* Cambia a fila en pantallas grandes */
    }

.card-highlight-coffee, .card-highlight-tea, .card-highlight-accessories {
    width: 25%;
    background: #fff;
    border-radius: 12px;
    padding: var(--section-padding);
    margin: 1rem 0;
    flex: 1;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.index-sections img {
    width: 100%;
    height: 55vh; /* Altura fija para las imágenes */
    object-fit: cover; /* Mantiene la proporción de la imagen */
    border-radius: 8px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.index-sections h3 {
    font-size: 1.8rem;
    color: #27467f; /* Color del subtítulo */
}
}
/* About page styles */
.about-sections {
    margin-left: auto;
    box-sizing: border-box;
    padding: var(--section-padding);
    background: #f5f5f5;
    text-align: center;
}
.about-sections h2 {
    font-size: 2.5rem;
    color: #27467f;
    margin-bottom: 1rem;
}
.about-sections img {
    width: 100%;
    height: 55vh; /* Altura fija para las imágenes */
    object-fit: cover; /* Mantiene la proporción de la imagen */
    border-radius: 8px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .about-sections img {
        width: 50%;
        height: 60vh; /* Altura fija para las imágenes */
        object-fit: cover; /* Mantiene la proporción de la imagen */
        border-radius: 8px;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

.about-sections p {
    font-size: 1.2rem;
    color: #656565;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}
.about-team {
    font-size: 1.2rem;
    color: #656565;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}
.team {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2vw;
    padding: var(--section-padding);
    background: #f5f5f5;
}

@media (min-width: 600px) {
    .team {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2vw;
    }
}

.team-member {
    background: #fff;
    border-radius: 12px;
    padding: var(--section-padding);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1 1 250px; /* Flexibilidad para adaptarse */
    max-width: 300px; /* Ancho máximo */
    margin: 0 auto;
    transition: transform 0.2s;
}
.team-member:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(39, 70, 127, 0.15);
}
.team-member img {
    width: 100%;
    height: 300px; /* Altura fija para las imágenes */
    object-fit: cover; /* Mantiene la proporción de la imagen */
    border-radius: 8px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.team-member h3 {
    font-size: 1.4rem;
    color: #27467f;
    margin-bottom: 0.5rem;
    font-family: 'Alex Brush', cursive;
}
.team-member p {
    font-size: 1rem;
    color: #656565;
    margin-bottom: 0.5rem;
}

/* Blog page styles */
.blog-main {
    display: flex;
    flex-direction: column; 
    padding: var(--section-padding);
    background: #f5f5f5;
}       
.blog-main h2 {
    text-align: center;
    font-size: 2.5rem;
    margin: 2vh 0;
    color: #27467f; /* Color del título */
}
.blog-main p {
    font-size: 1.2rem;
    color: #656565;
    text-align: center;
    margin-bottom: 2vh;
}
.tratados {
    display: flex;
    flex-direction: column;
    gap: 2vw;
    margin-top: 2vh;
}
.jesus-pago-deudas {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: var(--section-padding);
    margin: 1rem 0;
    flex: 1;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.jesus-pago-deudas h3 {
    font-size: 1.8rem;
    color: #27467f; /* Color del subtítulo */
    margin-bottom: 1rem;
}
.jesus-pago-deudas iframe {
    display: none; /* Oculta el iframe en pantallas pequeñas */
}
.jesus-pago-deudas p {
    font-size: 1.2rem;
    color: #656565;
    margin-top: 1rem;
}
@media (min-width: 550px) {
.tratados {
        flex-direction: row; /* Cambia a fila en pantallas grandes */
        flex-wrap: wrap; /* Permite que los artículos se envuelvan */
        justify-content: center; /* Centra los artículos */
    }
.jesus-pago-deudas {
    width: 45%; /* Ajusta el ancho para pantallas grandes */
    background: #fff;
    border-radius: 12px;
    padding: var(--section-padding);
    margin: 1rem;
    flex: 1;
    box-shadow: 0 4px 24px rgba(0, 0,
    0, 0.1);
    text-align: center;
}
.jesus-pago-deudas h3 {
    font-size: 1.8rem;
    color: #27467f; /* Color del subtítulo */
    margin-bottom: 1rem;
}
.jesus-pago-deudas iframe {
    display: block;
    width: 100%;
    height: 60vh; /* Altura fija para el iframe */
    border: none;
    border-radius: 8px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.jesus-pago-deudas p {
    font-size: 1.2rem;
    color: #656565;
    margin-top: 1rem;
}
}

/* Footer styles */
footer {
    background: #e8e3dd;
    padding: 2vh;
    text-align: center;
    font-size: 1rem;
    color: #656565;
}

.social-links {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2vw;
}
.social-links li {
    display: inline-block;
    margin: 1vh 1vw;
}

.social-links li a img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1; /* Fuerza proporción cuadrada */
    max-width: 2rem;
    max-height: 2rem;
}

