* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    /* height: 100vh; */
    background-color: black;
}

@font-face {
    font-family: 'edo';
    src: url('../fonts/edo.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'ZingRust';
    src: url('../fonts/ZingSansRustLDemo-Base.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Regular.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
/* LOADER */
/* Animación de desvanecimiento del logo */
@keyframes fadeOutLogo {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Animación de desvanecimiento del fondo */
@keyframes fadeOutBackground {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
/* scrollbar */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #000000;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background-color: #ff7828;
    border-radius: 10px;
    border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #e86620;
}
/* Seleccion */
::selection {
    background-color: #ff7828;
    color: #ffffff;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: progress;
    animation-fill-mode: forwards;
}

.loader img {
    max-width: 250px;
    height: auto;
    animation-fill-mode: forwards;
}

/* NAV */
li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #a6a6a6;
    font-family: 'ZangRust', sans-serif;
    font-size: 1.2rem;
}

a:hover {
    color: whitesmoke;
    border-bottom: #ff7828 2px solid;
    transition: all 0.08s;
}

.navbar .logo a:hover {
    border-bottom: none; 
}

/* HEADER */
header {
    position: relative;
    padding: 0;
}

.navbar {
    width: 100%;
    height: 110px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5rem;
}

.navbar .logo img {
    max-width: 150px;
    height: 100px;
    margin-top: 10px;
}

.navbar .links {
    display: flex;
    gap: 2rem;
}

.navbar .toggle_btn {
    color: #ff7828;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.action_btn {
    background-color: transparent;
    color: #ff7828;
    padding: 0.5rem 1rem;
    border: 1px solid #ff7828;
    outline: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 ease;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.action_btn:hover {
    transform: scale(1.05);
    background-color: #ff7828;
    color: #fff;
}

.action_btn:active {
    transform: scale(0.95);
}

/* DROPDOWN MENU */
.dropdown_menu {
    position: absolute;
    right: 2rem;
    top: 60px;
    height: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
    height: 240px;
}

.dropdown_menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu .action_btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* RESPONSIVE DESIGN NAVBAR */
@media(max-width: 992px) {
    .navbar .links,
    .navbar .action_btn {
        display: none;
    }

    .navbar .toggle_btn {
        display: block;
    }

    .dropdown_menu {
        display: block;
    }

}

@media(max-width: 576) {
    .dropdown_menu {
        left: 2rem;
        width: unset;
    }
}
/* HERO */
.floating-section {
    background-color: #212023;
    border-radius: 15px;
    padding: 20px;
    margin: 30px auto;
    max-width: 1200px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.text-content {
    color: white;
    max-width: 50%;
}

.text-content h2, #typing-text {
    font-size: 60px;
    font-family: 'ZingRust';
    font-weight: bold;
}

.text-content p {
    font-size: 25px;
    color: #a6a6a6;
    font-family: 'Lato';
}

.spline-container {
    width: 50%;
    height: 450px;
    border-radius: 10px;
    margin: 10px auto;
}

spline-viewer {
    width: 100%;
    height: 110%;
    border-radius: inherit;
}

/* hero responsivo */
@media (max-width: 1200px) {
    .floating-section {
        margin: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .text-content {
        max-width: 100%;
        text-align: center;
    }

    .spline-container {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .text-content h2, #typing-text {
        font-size: 35px;
    }

    .text-content p {
        font-size: 20px;
    }

    .spline-container {
        height: 350px;
    }
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    background-color: #ff7828;
    color: white;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Lato';
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact-btn:hover {
    background-color: #e6691f;
    transform: scale(1.05);
}
/* Efecto typing */
.typing-effect {
    display: inline;
    font-family: 'ZingRust';
    font-size: 45px;
}

.typing-effect::after {
    content: '|';
    animation: blink 0.7s infinite;
    color: #ff7828;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.image-container {
    position: absolute;
    text-align: center;
    margin-top: 0px;
    z-index: 1;
}

.image-container img {
    max-width: 640px;
    height: auto;
    margin-left: 68%;
    margin-top: -100px;
}

.separator-gradient {
    margin-top: 0;
    position: relative;
    z-index: 0;
}

/* BENEFITS */
.benefits-section {
    margin: 5rem;
}

.benefits-text {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.benefits-text h2 {
    font-size: 50px;
    font-family: 'ZingRust';
    font-weight: bold;
    text-wrap: balance;
    margin-bottom: 20px;
    margin-top: 0px;
}

.benefits-list {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    color: white;
    justify-items: center;
    text-align: center;
}

.benefits-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
    padding-left: 10px;
    padding-right: 10px;
}

.benefits-list h3 {
    margin-top: 1rem;
    font-size: 20px;
    font-weight: bold;
    color: azure;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #223554;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.icon-wrapper i {
    font-size: 36px;
    color: #ff7828;
    transition: color 0.3s ease;
}

.benefits-list li:hover i {
    color: #ffffff;
}

.benefits-list p {
    margin-top: 1rem;
    font-size: 16px;
    line-height: 1.5;
    color: white;
}
/* benefits responsive */

@media (max-width: 768px) {
    .benefits-list p {
        display: none;
    }
}

/* SEPARADOR */
.separator-gradient1 {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, #ff7828, #ffffff);
    width: 80%;
    margin: 8.5rem auto;
    margin-top: 195px;
}
.separator-gradient {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, #ff7828, #ffffff);
    width: 80%;
    margin: 2rem auto;
}

@media (max-width: 480px) {
    .image-container, body {
        position: absolute;
        text-align: center;
        margin-top: 0px;
        z-index: 1;
    }
    
    .image-container img {
        max-width: 245px;
        height: 290px;
        margin-left: 65%;
        margin-top: -100px;
    }
    
    .separator-gradient {
        margin-top: 0;
        position: relative;
        z-index: 0;
    }
    .separator-gradient1 {
        margin: 55px;
    }
    .benefits-section {
        margin-left: 105px;

    }
}


@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(180deg);
    }
}

/* SERVICES */
.services-section {
    margin: 3rem;
}

.services-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.services-text h2{
    font-size: 45px;
    font-family: 'ZingRust';
    font-weight: bold;
    text-wrap: balance;
}

.img-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: space-evenly;
    justify-items: center;
    align-content: space-evenly;
    align-items: center;
}
.img-grid img{
    width: 500px;
    margin-top: 20px;
}

.services-bttn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
.services-bttn {
    background-color: #ff7828;
    color: #fff;
    padding: 0.5rem 1rem;
    border: 1px solid #ff7828;
    outline: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: scale 0.2 ease;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.services-bttn:hover {
    transform: scale(1.05);
    cursor: pointer;
}
.services-bttn:active {
    transform: scale(0.95);
    background-color: #d26323;
}
.short-text {
    display: none;
}
/* Servicios responsive */
@media (max-width: 768px) {
    .long-text {
        display: none;
    }
    .short-text {
        display: block;
        color: white;
    }

}
/* BRANDS */
.brands-section {
    margin: 3rem;
}

.brands-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brands-text {
    flex-direction: column;
    align-items: center;
    text-align: center;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.brands-text h2{
    font-size: 45px;
    font-family: 'ZingRust';
    font-weight: bold;
    text-wrap: balance;
}

.grid {
    justify-content: space-evenly;
    justify-items: center;
    align-content: space-evenly;
    align-items: center;
}

/* Responsivo */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .text-content, .spline-container {
        max-width: 100%;
    }

    .spline-container {
        display: none;
    }
}


/* CONTACT SECTION */
.contact-section {
    position: relative;
    padding: 3rem;
    background-image: url('../img/kitchen-bg.svg');
    background-size: cover;
    background-position: center;
}

@keyframes gradientFade {
    0% {
        background-position: 0% 0%;
        opacity: 1;
    }
    50% {
        background-position: 100% 0%;
        opacity: 0.7;
    }
    100% {
        background-position: 0% 0%;
        opacity: 1;
    }
}

.contact-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(85, 84, 84, 0.2);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.contact-container h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #fff;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.contact-form button {
    padding: 0.75rem;
    background-color: #ff7828;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.contact-form button:hover {
    background-color: #e65a1b;
}

/* FOOTER */
.footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section {
    margin-inline: auto;
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ff7828;
}

.footer-section p, .footer-section a {
    color: #ddd;
    line-height: 1.6;
}

.footer-section a {
    text-decoration: none;
}

.footer-section a:hover {
    color: #ff7828;
}

.footer-section .social-icon {
    font-size: 24px;
    color: #ddd;
    margin: 0 0.5rem;
    text-decoration: none;
}

.footer-section .social-icon:hover {
    color: #ff7828;
    border: none;
    text-decoration: none;
}

.footer-bottom {
    background-color: #222;
    color: #aaa;
    text-align: center;
    padding: 1rem;
    font-size: 14px;
}

.footer-bottom a {
    font-size: 14px;
    color: #ffbd59;
}

.footer-bottom a:hover {
    font-size: 14px;
    text-decoration: none;
    color: white;
    border: none;
}

/* Animación para los elementos que aparecen en el viewport */
/* Estilos para el contenido */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos para las imágenes de lazy loading */
.lazy-load {
    opacity: 0;
    transition: opacity 2s ease;
}

.lazy-load[src] {
    opacity: 1;
}
/* Review section */
.reviews-section {
    position: relative;
    padding: 20px 0; /* 2rem 0 */
    background-color: #000;
}

.reviews-title {
    text-align: center;
    margin-bottom: 2rem;
}

.reviews-title h2 {
    font-size: 45px;
    font-family: 'ZingRust';
    font-weight: bold;
    color: azure;
}

.box h2 {
    color: #ffffff60;
    text-transform: uppercase;
    margin: 15px 0;
}

.wrapper {
    width: 1152px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 66vh;
    margin: 0 auto; /* 0 auto  */
    position: relative;
}

.round-1 {
    position: absolute;
    top: 5%;
    left: 3%;
    width: 16em;
    height: 16em;
    border-radius: 50%;
    box-shadow: 0 0 40px #ff7828;
    /* background: linear-gradient(-26deg, #d84869, #f46641); */
    background: linear-gradient(-26deg, #ff7828, #ffa64d);
}

.round-2 {
    position: absolute;
    top: 50%;
    right: 4%;
    width: 20em;
    height: 20em;
    border-radius: 50%;
    box-shadow: 0 0 50px #a9a9a9;
    background: linear-gradient(-180deg, #a9a9a9, #696969);
}

.box {
    width: 350px;
    height: 350px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff1a;
    padding: 1.5em;
    border-radius: 25px;
    border: 2px solid #0000002a;
    backdrop-filter: blur(20px);
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
}

.profile-img img {
    width: 100%;
}

.box h2 {
    color: #ffffff60;
    text-transform: uppercase;
    margin: 15px 0;
}

.box p {
    color: #ffffff90;
    font-size: 14px;
}

.socials {
    margin-top: 35px;
}

.socials i {
    margin: 0 10px;
    font-size: 25px;
}

/* Google review button */
.google-review-link {
    text-align: center;
    margin-top: 1rem;
}

.google-review-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #ff7828;
    color: white;
    font-size: 1rem;
    font-family: 'poppins', sans-serif;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.google-review-btn:hover {
    background-color: #e77e40;
}

/* responsive design */
@media (max-width: 1200px) {
    .wrapper {
        max-width: 1152px;
    }
}
@media (max-width: 992px) {
    .wrapper {
        max-width: 960px;
    }
}
@media (max-width: 768px) {
    .wrapper {
        max-width: 720px;
        flex-direction: column;
    }
    .box {
        margin-bottom: 30px;
        width: 400px;
        height: 400px;
    }
}
@media (max-width: 576px) {
    .wrapper {
        max-width: 540px;
        flex-direction: column;
    }
}
@media (max-width: 320px) {
    .wrapper {
        max-width: 30px;
        flex-direction: column;
    }
    .box {
        margin-bottom: 30px;
        width: 300px;
        height: 300px;
    }
    .box h2 {
        font-size: 15px;
    }
    .box p {
        font-size: 10px;
    }
    .box i {
        font-size: 15px;
    }
}