@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: "Poppins", sans-serif;
}

#logo {
    margin-top: 20px;
}

.container-menu {
    max-width: 100%;
    margin: 0 0;
    padding-left: 50px;
    padding-right: 50px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/*.header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../assets/fondo.jpg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 88vh;
    display: flex;
    align-items: center;
}*/

.menu {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: black;
    overflow: hidden;
    z-index: 9999;
}

.logo {
    color: white;
    font-size: 25px;
    font-weight: 800;
}

.menu .navbar ul li {
    position: relative;
    float: left;
}

.menu .navbar ul li a {
    font-size: 18px;
    padding: 20px;
    color: white;
    display: block;
    font-weight: 600;
}

.menu .navbar ul li a:hover {
    color: burlywood;

}

.menu .navbar ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #8a774b;
    /* color dorado/ocre */
    transition: width 0.3s ease;
}

.menu .navbar ul li a:hover::after {
    width: 100%;
}

#menu {
    display: none;
}

.menu-icono {
    width: 25px;
}

.menu label {
    cursor: pointer;
    display: none;
}

.header {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
    opacity: 1.0;
}

.header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.header-content h1 {
    font-size: 75px;
    line-height: 80px;
    color: white;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.header-content p {
    font-size: 36px;
    color: white;
    padding: 0 250px;
    margin-bottom: 25px;
}


.btn-1 {
    /*display: inline-block;
    padding: 11px 35px;
    background-color: burlywood;
    color: white;
    text-transform: uppercase;*/

    display: inline-block;
    background-color: #ff8c42;
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-1:hover {
    background-color: rgb(192, 142, 77);
}

.coffee {
    padding: 100px 0;
    background-color: rgb(199, 192, 192);
    position: relative;
}

.coffee-content {
    text-align: center;
}

.coffee-content h2 {
    font-size: 55px;
    line-height: 70px;
    text-transform: uppercase;
    padding: 0 250px;
    margin-bottom: 15px;
}

.txt-p {
    font-size: 16px;
    color: #414247;
    padding: 0 250px;
    margin-bottom: 50px;
}

.coffee-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.coffee-1 img {
    width: 200px;
}

.coffee-2 img {
    height: 200px;
}

.coffee-3 img {
    height: 200px;
}

.coffee-img {
    position: absolute;
    top: 0;
    right: 0;
}

/*.coffee-1 h3 {
    color: #323337;
    font-size: 20px;
    margin-bottom: 15px;
}*/

.services {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)),
        url(../assets/fondo1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;

}

.services1 h3 {
    color: white;
    font-size: 25px;
}

.services-content {
    text-align: center;
}

.services-content h2 {
    font-size: 55px;
    line-height: 70px;
    color: white;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.services-content p {
    font-size: 16px;
    color: white;
    margin-bottom: 50px;
    padding: 0 100px;
}

.services-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.services-1 {
    padding: 0 100px;
}

.services-1 img {
    width: 25px;
    margin-bottom: 15px;
}

.services-1 h3 {
    color: #eaccb3;
    font-size: 18px;
}

.general {
    display: flex;
}

.general-1 {
    width: 50%;
    padding: 100px 250px 100px 100px;
    background-color: #E1E2E6;
}

.general-1-1 {
    width: 100%;
    padding: 100px 100px 100px 100px;
    background-color: #E1E2E6;
    text-align: justify;
}

.general-4 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.general-2 {
    background-image: url(../assets/hogar.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
}

.general-3 {
    background-image: url(../assets/gasa-industrial.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
}

h2 {
    font-size: 55px;
    line-height: 70px;
    color: #323337;
    text-transform: uppercase;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    color: #414247;
    margin: 25px 0 45px 0;

}

.blog {
    padding: 100px 0;
    text-align: center;
}

.blog-content {
    display: flex;
    justify-content: center;
    /* o space-between, como prefieras */
    flex-wrap: wrap;
    gap: 40px;
    /* espacio entre cards */
    max-width: 1200px;
    /* opcional, para limitar el ancho */
    margin: 0 auto;
    padding: 0 20px;
    /* margen interno para evitar que se peguen a los bordes */
}

.blog-1 {
    width: 300px;
    /* tamaño fijo o flexible */
    padding: 15px 20px;
    box-sizing: border-box;
}

.blog-1 img {
    width: 250px;
    border-radius: 15px;
    margin-bottom: 15px;

}

.blog-content p {
    text-align: justify;
}

.blog-1 h3 {
    font-size: 25px;
    color: #323337;
}

/*.footer{
    padding: 100px 0;
    background-color: black;
}
.footer-content{
    display: flex;
    justify-content: space-between;
}*/
/*.footer {
  background-color: #333;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-left p{
    color: white !important;
}
.footer-left,
.footer-right {
  flex: 1 1 300px;
  margin: 10px;
}

.footer-left h3,
.footer-right h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-left p {
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 20px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #f2c94c;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #aaa;
}*/
/* Footer estilos generales */
.footer {
    background: black;
    color: #fff;
    padding: 40px 20px 20px 20px;
    font-family: sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h2,
.footer-section h3 {
    color: #f9a825;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section ul,
.footer-section li,
.footer-bottom p {
    font-size: 14px;
    line-height: 1.6;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #f9a825;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
    color: #fff;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: #f9a825;
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid #555;
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    font-size: 13px;
    color: #bbb;
}


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        margin: 20px 0;
    }
}

.link h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 15px;
}

.link a {
    font-size: 16px;
    color: white;
    display: block;
    margin-bottom: 15px;
}

@media(max-width:991px) {
    .menu {
        padding: 20px;
    }

    .menu label {
        display: initial;
    }

    .menu .navbar {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        background-color: #111;
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 60px;
        text-align: center;
    }

    .menu .navbar ul li {
        width: 100%;
    }

    #menu:checked~.navbar {
        display: initial;
        z-index: 9999;
        width: 100%;
    }

    .header {
        min-height: 0vh;
    }

    .header-content {
        padding: 150px 3px;
    }

    .header-content p {
        padding: 0px;
    }

    .header-content h1 {
        font-size: 60px;
    }

    .coffee {
        padding: 30px;
    }

    .coffee-content h2 {
        padding: 0px;
    }

    .txt-p {
        padding: 0px;
    }

    .coffee-group {
        flex-direction: column;
        margin-bottom: 0;
    }

    .coffee-img {
        display: none;
    }

    .services {
        padding: 30px;
    }

    .services-content p {
        padding: 0px;
    }

    .services-group {
        flex-direction: column;
        margin-bottom: 0;
    }

    .services-1 {
        margin-bottom: 25px;
    }

    .general {
        flex-direction: column;
    }

    .general-1 {
        width: 100%;
        padding: 30px;
        text-align: center;
    }

    .general-2 .general-3 {
        display: none;
    }

    .blog {
        padding: 30px;
    }

    .blog-content {
        flex-direction: column;
    }

    .blog-1 {
        padding: 0;
    }

    .footer {
        padding: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}


#whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column-reverse;
    /* Asegura que el botón quede abajo */
    align-items: flex-end;
    /* Alinea a la derecha */
}

#whatsapp-widget .button {
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px;
    padding-top: 15px;
    cursor: pointer;
    font-size: 24px;
    width: 60px;
    height: auto;
}

#whatsapp-box {
    position: absolute;
    /* Permite posicionarlo sobre el botón */
    bottom: 70px;
    /* Coloca el cuadro arriba del botón */
    right: 0;
    display: none;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    width: 260px;
    z-index: 10000;
}

#whatsapp-box h4 {
    margin-top: 0;
    color: #25D366;
}

.whatsapp-contact {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px;
    margin-top: 8px;
    cursor: pointer;
    text-decoration: none;
    color: #000;
}

.whatsapp-contact img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/******************************card negra************************/

.hero {
    padding: 50px 20px;
    background-color: black;
    color: white;
    height: 600px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1 1 300px;
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    background-color: #ff8c42;
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.hero-btn:hover {
    background-color: #ff9f60;
}

.hero-image {
    flex: 1 1 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-btn {
        padding: 10px 25px;
    }

    .hero-image img {
        width: 50%;
        height: auto;
    }
}

/*****************************Nosotros********************************/
.header-nosotros {
    background: gray;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    font-size: 2.5em;
    letter-spacing: 2px;
}

.container-nosotros {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 40px auto;
    gap: 30px;
    padding: 0 20px;
}

.slideshow {
    flex: 1 1 45%;
    min-width: 300px;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 2s ease, transform 2s ease;
    transform: scale(1.1);
}

.slideshow img.active {
    opacity: 1;
    transform: scale(1);
}

.history {
    flex: 1 1 45%;
    min-width: 300px;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.history.show {
    opacity: 1;
    transform: translateY(0);
}

.history h2 {
    color: black;
    margin-bottom: 20px;
    font-size: 2em;
}

.history p {
    line-height: 1.6;
    font-size: 1.1em;
    color: #555;
}

/******************************************* flip mision visio valores***************************************/
.mvv-section {
    padding: 60px 20px;
    text-align: center;
}

.mvv-title {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 40px;
}

.mvv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.mvv-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}


.mvv-card:hover h3,
.mvv-card:hover p,
.mvv-card:hover i,
.mvv-card:hover {
    transform: translateY(-10px);
    background-color: #f9a825;
    color: white;
}

.mvv-card i {
    font-size: 40px;
    color: #f9a825;
    margin-bottom: 20px;
}

.mvv-card h3 {
    font-size: 1.5rem;
    color: #f9a825;
    margin-bottom: 15px;
}

.mvv-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}


/***********************************estilos cards usos**********************************************/
:root {
    --overlay: rgba(0, 0, 0, 0.7);
    --radius: 18px;
    --speed-overlay: .5s;
    --speed-img: .8s;
}

* {
    box-sizing: border-box
}

.grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));/*para tamaño de cards*/
}

.card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
    background: #111;
}

.card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--speed-img) cubic-bezier(.25, .8, .25, 1),
        filter var(--speed-img) cubic-bezier(.25, .8, .25, 1);
    will-change: transform, filter;
}

/* Overlay ocupa toda la card */
.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: var(--overlay);
    color: #fff;
    text-align: center;
    transform: translateY(100%);
    opacity: 0;
    transition: transform var(--speed-overlay) ease, opacity var(--speed-overlay) ease;
    z-index: 2;
}

.overlay h3,
.overlay p {
    transform: translateY(20px);
    opacity: 0;
    transition: all .5s ease;
}

.overlay h3 {
    transition-delay: .1s;
}

.overlay p {
    transition-delay: .2s;
}

/* Hover */
.card:hover img,
.card:focus-within img {
    transform: scale(1.1);
    filter: brightness(.9) contrast(1.05) saturate(1.1);
}

.card:hover .overlay,
.card:focus-within .overlay {
    transform: translateY(0%);
    opacity: 1;
}

.card:hover .overlay h3,
.card:focus-within .overlay h3,
.card:hover .overlay p,
.card:focus-within .overlay p {
    transform: translateY(0);
    opacity: 1;
}

.overlay p {
    color: #fff;
}