/* content-index index */
/* Estilo base para todas las pantallas */
.content-desc {
    margin: 3em auto;
    padding: 0 2em;
    max-width: 1200px;
    text-align: center;
    color: #638c1cff;
}

.content-desc h3 {
    font-weight: 500;
    font-size: 2em;
    margin: 0;
    padding-left: 10em;
    padding-right: 10em;
    padding-top: 3em;
    padding-bottom: 3em;
    line-height: 1.6;
}

.white-line {
    border: 0;
    height: 1px;
    background-color: white;
    margin: 1em 0;
    width: 100%;
}

/* Pantallas extra grandes (4K y más) */
@media (min-width: 1600px) {
    .content-desc {
        max-width: 1400px;
        margin: 5em auto;
        padding: 0 4em;
    }
    
    .content-desc h3 {
        font-size: 2em;
    }
}

/* Pantallas grandes (laptops y desktops) */
@media (max-width: 1200px) {
    .content-desc {
        max-width: 900px;
        margin: 4em auto;
    }
}

/* Pantallas medianas (tablets) */
@media (max-width: 768px) {
    .content-desc {
        max-width: 600px;
        margin: 3em auto;
        padding: 0 2em;
    }
    
    .content-desc h3 {
        font-size: 1.3em;
        padding-left: 5em;
        padding-right: 5em;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .content-desc {
        max-width: 600px;
        margin: 3em auto;
        padding: 0 2em;
    }
    
    .content-desc h3 {
        font-size: 1.6em;
        padding-left: 5em;
        padding-right: 5em;
    }
}

/* Pantallas pequeñas (teléfonos) */
@media (max-width: 576px) {
    .content-desc {
        margin: 2em auto;
        padding: 0 1.5em;
    }
    
    .content-desc h3 {
        font-size: 1.2em;
        padding-top: 0.5em;
        padding-left: 1em;
        padding-right: 1em;
    }
}

/*-----------------------------------------------*/

.image-divider {
    display: flex;
    width: 100%;
    margin: 2em 0;
}

.image-divider img {
    flex: 1;
    width: 33.33%; /* Cada imagen ocupa un tercio del ancho */
    height: 500px; /* Ajusta esta altura según necesites */
    object-fit: cover; /* Mantiene la proporción de la imagen */
    display: block;
}

/* Responsive para tablets */
@media (max-width: 768px) {
    .image-divider img {
        height: 250px;
    }
}

/* Responsive para móviles */
@media (max-width: 576px) {
    .image-divider img {
        height: 150px;
    }
}

/*------------------------------------------------*/

.content-desc2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 10em;
    margin: 5em 17em;
    color: #F98E2B;
    position: relative;
}

.content-desc2::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px; /* Ancho de la línea */
    background-color: #FFFFFF; /* Color blanco */
}

.info-column1 {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em;
}

.image-column {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-column2 {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em;
}

.info-column1 h3,
.info-column2 h3 {
    font-size: 2em;
    text-align: center;
    margin: 0;
    font-weight: 500;
    line-height: 1.6;
}

.product-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-front,
.image-back {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-front {
    transform: translateY(0);
}

.image-back {
    transform: translateY(100%);
}

.product-image:hover .image-front {
    transform: translateY(-100%);
}

.product-image:hover .image-back {
    transform: translateY(0);
}

/* Efecto de elevación al hover */
.product-image {
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: translateY(-20px);
}

/* Responsive */
@media (max-width: 768px) {
    .product-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .product-image {
        height: 250px;
    }
}

/* Pantallas grandes (laptops y desktops) */
@media (max-width: 1024px) {
    .content-desc2 {
        margin: 5em 10em;
    }
}

@media (min-width:768px) and (max-width:1024px){
    .content-desc2 {
        margin: 5em 3em;
    }

    .content-desc2::before{
        background-color: #ffffff;
    }

    .info-column1 h3,
    .info-column2 h3 {
        font-size: 1.3em;
    }
}

/* Pantallas medianas (tablets) */
@media (max-width: 768px) {
    .content-desc2 {
        margin: 5em 5em;
        gap: 1em;
    }

    .content-desc2::before{
        background-color: transparent;
    }
    
    .info-column1 h3,
    .info-column2 h3 {
        font-size: 1.3em;
        text-align: left;
    }
}

/* Pantallas pequeñas (teléfonos) */
@media (max-width: 576px) {
    .content-desc2 {
        grid-template-columns: 1fr;
        margin: 2em;
    }

    .content-desc2::before{
        background-color: transparent;
    }
    
    .info-column1,
    .info-column2,
    .image-column {
        grid-column: 1;
    }
    
    .info-column1 {
        grid-row: 1;
    }
    
    .image-column {
        grid-row: 2;
    }
    
    .info-column2 {
        grid-row: 3;
    }
    
    .info-column1 h3,
    .info-column2 h3 {
        font-size: 1.2em;
        padding: 1em;
        text-align: center;
    }
}

/*-------------------------------------------------*/

/* Estilos base del contenedor */
.content-index {
    color: #3d1500;
    margin-bottom: 2em;
    align-content: center;
}

.content-index h2 {
    text-align: center;
    font-size: 2.5em;
}

/* Contenedor del carousel */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 3em;
    padding: 0 1em;
    box-sizing: border-box;
}

/* Carousel */
.carousel {
    display: flex;
    gap: 1rem;
    width: fit-content;
    padding: 1em 0;
}

.carousel.animando {
    animation: scroll var(--animation-duration) linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(var(--carousel-width));
    }
}

.carousel:hover {
    animation-play-state: paused;
}

.carousel {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

/* Productos */
.product {
    flex: 0 0 auto;
    padding: 1em;
    text-align: left;
    color: #3d1500;
    font-weight: 500;
    width: 17.5em;
    height: auto;
    margin-right: 1em;
    background-color: rgba(255, 255, 255, 0.825);
    border-radius: 20px;
    box-sizing: border-box;
}

.product p {
    height: 3em;
    width: 100%;
    font-size: 1.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product h3 {
    color: #F98E2B;
    text-align: left;
    font-size: 1.4em;
    text-transform: uppercase;
    margin: 0.5em 0;
}

.product img {
    height: 250px;
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.product img:hover {
    transform: scale(1.12);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.product a {
    text-decoration: none;
    color: #feeddd;
    padding: 10px 0;
    background-color: #aa0050;
    border: 2px solid #aa0050;
    border-radius: 20px;
    font-size: medium;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    display: block;
    width: 100%;
}

.product a:hover {
    background-color: rgba(255, 255, 255, 0.825);
    color: #aa0050;
    border: 2px solid #aa0050;
}

/* Media Queries */
@media (max-width: 1200px) {
    .product {
        width: 15em;
    }

    .product img {
        height: 200px;
    }

    .content-index h2 {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .product {
        width: 13em;
        max-height: 26em;
    }

    .product img {
        height: 180px;
    }

    .product h3 {
        font-size: 1.2em;
    }

    .product p {
        font-size: 1em;
    }

    .content-index h2 {
        font-size: 2em;
    }

    .carousel-container {
        margin-top: 2em;
    }
}

 
/*-----------------------------------------------------*/
/* content-index-2 */
.content-index-2 {
    margin: 5em;
    padding: 2em;
    width: auto;
}

.seagrass-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4em;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    border-bottom: 1px solid white;
    border-radius: 20px;
}

.image-section {
    width: 100%;
}

.post-card {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translatex(20px);
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-front1,
.image-back1 {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-front1 {
    transform: translateX(0);
}

.image-back1 {
    transform: translateX(-100%);
}

.post-card:hover .image-front1 {
    transform: translateX(100%);
}

.post-card:hover .image-back1 {
    transform: translateX(0);
}

.text-section {
    padding: 2em;
}

.text-section h2 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    font-weight: bolder;
    color: #F98E2B;
}

.text-section p {
    font-size: 1.8em;
    line-height: 1.6;
    color: #7e4115;
    margin-bottom: 2em;
    font-weight: 500;
}

.learn-more-btn {
    display: inline-block;
    padding: 0.5em 3em;
    background-color: #aa0050;
    color: #feeddd;
    text-decoration: none;
    font-weight: bolder;
    font-size: large;
    transition: background-color 0.3s ease;
    border-radius: 20px;
    border: 1px solid #aa0050;
}

.learn-more-btn:hover {
    background-color: #feeddd;
    color: #aa0050;
}

/* Responsive para tablets */
@media (max-width: 1024px) {
    .content-index-2 {
        margin: 3em;
    }
    
    .seagrass-container {
        gap: 2em;
    }
    
    .text-section h2 {
        font-size: 2em;
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .content-index-2 {
        margin: 2em;
    }
    
    .seagrass-container {
        grid-template-columns: 1fr;
        gap: 2em;
    }
    
    .post-card {
        height: 300px;
    }
    
    .text-section {
        padding: 1em;
    }
    
    .text-section h2 {
        font-size: 1.8em;
    }
    
    .text-section p {
        font-size: 1.1em;
    }
}


/*-----------------------------------------------------*/
/* store section */
.stores-section {
    padding: 4em 2em;
}

.stores-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 1.5em;
    color: #F98E2B;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    row-gap: 5em;
    max-width: 1400px;
    margin: 0 auto;
}

.store-card {
    background: #608521;
    padding: 2em;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

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

.store-icon {
    width: 35px;
    margin-bottom: 1em;
}

.store-icon img {
    width: 100%;
    height: auto;
}

.store-card h3 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
    color: #feeddd;
}

.store-card p {
    color: #feeddd;
    margin-bottom: 1.5em;
    line-height: 1.4;
    font-size: 1.2em;
}

.store-links {
    display: flex;
    gap: 1em;
}

.store-links a {
    text-decoration: none;
    padding: 0.5em 1em;
    border-radius: 10px;
    font-weight: 500;
}

.store-links a:first-child {
    background: #feeddd;
    color: #608521;
}

/* .directions {
    border: 1px solid #ee1133;
    color: #ee1133;
} */

@media (max-width: 768px) {
    .stores-section {
        padding: 2em 1em;
        font-size: 1em;
    }
    
    .store-card {
        padding: 1.5em;
    }
}

@media (max-width: 576px) {
    .stores-section {
        padding: 2em 1em;
        font-size: 0.8em;
    }
    
    .store-card {
        margin-left: 2.5em;
        margin-right: 2.5em;
    }
}

