/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Raleway:wght@300;400;700;900&display=swap');

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wrapper {
    position: relative;
    background-image: url(img/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    z-index: 40;
}

.opacity {
    background: rgba(79, 70, 62, 0.5);
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: -1;
}

.gravity {
    width: 100%;
    text-align: center;
    padding: 70px 0;
}

/* Estilos para el título principal */
.main-title {
    color: #EAEAEA;
    font-family: "Raleway", sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    padding-top: 90px;
    line-height: 1.4;
}

.subtitle {
    font-size: 28px;
    font-weight: 600;
    display: block;
    margin-top: 10px;
}

/* Estilos para los botones de contacto */
.contact-buttons {
    text-align: center;
    padding-top: 120px;
    z-index: 100;
}

.btn-contact {
    background: #188588;
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 15px 30px;
    border-radius: 5px;
    margin: 10px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-contact:hover {
    background: #146c6e;
}

.btn-contact.whatsapp {
    background: #25d366; /* Color de WhatsApp */
}

.btn-contact.whatsapp:hover {
    background: #128c7e; /* Color de WhatsApp (hover) */
}

.btn-contact i {
    margin-right: 10px;
}

/* Estilos para el pie de página */
.footer {
    position: fixed; /* Fija el pie de página en la parte inferior */
    bottom: 0; /* Lo coloca en la parte inferior */
    left: 0; /* Lo alinea a la izquierda */
    width: 100%; /* Ocupa todo el ancho de la página */
    padding: 10px 0; /* Padding reducido */
    background: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    text-align: center;
    z-index: 100; /* Asegura que esté por encima de otros elementos */
}

.footer p {
    color: #d0d0d0; /* Color de texto discreto */
    font-family: "Open Sans", sans-serif;
    font-size: 14px; /* Tamaño de texto reducido */
    font-weight: 400;
    margin: 0; /* Elimina el margen para que ocupe menos espacio */
}

.footer a {
    color: #13a3a7; /* Color del enlace */
    text-decoration: none;
    font-weight: 400; /* Texto menos llamativo */
}

.footer a:hover {
    text-decoration: underline; /* Subrayado al pasar el mouse */
}



/* Estilos para contadores */
.countdown {
  font-size: 50px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.countdown div {
  padding: 20px;
  border: 1px #fff solid;
  border-radius: 10px;
  background: #000;
  opacity: 0.7;
  margin: 5px;
}

.countdown div:first-child {
  background: #17a2b8;
}

.countdown span {
  display: block;
  font-size: 25px;
}



/* Media Queries para Responsividad */
@media (max-width: 768px) {
    .main-title {
        font-size: 28px;
        padding-top: 50px;
    }

    .subtitle {
        font-size: 20px;
    }

    .contact-buttons {
        padding-top: 40px; 
        padding-bottom: 80px; 
    }

    .btn-contact {
        font-size: 16px;
        padding: 10px 20px;
    }

    .footer {
        padding: 9.6px 0;
    }

    .footer p {
        font-size: 14.4px;
    }

    .countdown {
       	font-size: 30px;
    	flex-direction: column;
  }

    .countdown div {
    	display: none;
  }

    .countdown div:first-child {
    	display: block;
    	width: 80%;
    	padding: 10px;
  }

}

@media (max-width: 480px) {
    .main-title {
        font-size: 24px;
        padding-top: 30px;
    }

    .subtitle {
        font-size: 18px;
    }

    .contact-buttons {
        padding-top: 30px; 
        padding-bottom: 60px; 
    }

    .btn-contact {
        font-size: 14px;
        padding: 8px 16px;
    }

    .footer {
        padding: 6px 0;
    }

    .footer p {
        font-size: 12px; 
    }
}