@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --colorOne: #036147;
    --colorTwo: #fff;
    --colorThree: #f6f3ee;
    --colorFour: #fd6518;
    --colorFive: #1291de;
    --colorSix: #000000;
    --colorSeven: #252525;
}

/*CSS HEADER */

#navbar-v1 .navbar-container-main {
    display: grid;
    padding: 5px;
    background-color: var(--colorThree);
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
}

#navbar-v1 .navbar-logo {
    height: 80px;
    width: 280px;
    display: flex;
    justify-content: start;
    align-items: center;
}

.hamburger {
    display: none;
}

.menuppal {
    display: none;
}

#navbar-v1 .navbar-contact {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#navbar-v1 .navbar-logo>img {
    width: inherit;
    height: inherit;
    object-fit: cover;

}

#navbar-v1 .navbar-links>ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    list-style: none;
}

#navbar-v1 .navbar-links>ul li a {
    text-decoration: none;
    color: var(--colorSeven);
    font-family: "Heebo", sans-serif;
    font-weight: 700;
    font-size: 20px;
}

#navbar-v1 .navbar-links>ul li a:hover {
    color: var(--colorOne);
}

#navbar-v1 .navbar-contact a {
    text-decoration: none;
    color: var(--colorTwo);
    font-size: 20px;
    background-color: var(--colorFive);
    padding: 16px 30px;
    border-radius: 5px;
    font-family: "Heebo", sans-serif;
    font-weight: 500;
    margin-left: 180px;
    border-radius: 20px;
}

#navbar-v1 .navbar-contact a:hover {
    background-color: var(--colorFour);
}

.header-container {
    height: 580px;
    width: 100%;

}

.header-background {
    background-color: var(--colorThree);
    height: 100%;
}

.header-container .header-image {
    width: 100%;
    height: inherit;
}

.header-container .header-image img {
    width: 100%;
    height: inherit;
    object-fit: cover;
}

.header-container .header-content {
    color: var(--colorOne);
    padding: 4% 15%;
}

.header-container .header-content h1 {
    font-size: 5.90rem;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    text-align: left;
    margin-bottom: 20px;
}

.header-container .header-content a {
    text-decoration: none;
    color: var(--colorTwo);
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    background-color: var(--colorFour);
    padding: 6px 30px;
    font-weight: 700;
    border-radius: 20px;
    width: max-content;
    margin: auto;
}

.grid-content-header {
    display: grid;
    height: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    align-items: center;
    gap: 10px;
}

.grid-1-content-header {
    grid-row: span 7 / span 7;
}

.grid-2-content-header {
    grid-row: span 7 / span 7;
}



/*FORMULARIO*/
.contact-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 28%;
    height: max-content;
    background-color: var(--colorTwo);
    border-radius: 25px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.contact-bubble.show {
    display: block !important;
    opacity: 1;
    transform: scale(1);
}

.bubble-header {
    background-color: var(--colorFive);
    color: var(--colorTwo);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.bubble-header h3 {
    margin: 0;
    font-size: 1.2em;
}

.bubble-header button {
    background: none;
    border: none;
    color: var(--colorTwo);
    font-size: 1.2em;
    cursor: pointer;
    padding: 5px;
}

.bubble-form {
    padding: 18px;
}

.bubble-form .form-group {
    margin-bottom: 10px;
}

.bubble-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--colorSeven);
}

.bubble-form input[type="text"],
.bubble-form input[type="email"],
.bubble-form input[type="tel"] ,
.bubble-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9em;
}

.bubble-form textarea {
    resize: vertical;
}

.bubble-form button[type="submit"] {
    background-color: var(--colorOne);
    color: var(--colorTwo);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
    margin-top: 15px;
    transition: background-color 0.2s ease;
}

.bubble-form button[type="submit"]:hover {
    background-color: var(--colorFour);
}

.alert {
    padding: 5px;
    margin-top: 5px;
    border-radius: 3px;
}
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    font-size: 0.85em;
}

/*MEDIA QUERYS*/

@media (max-width: 1536px) {
    #navbar-v1 .navbar-links>ul li a {
        font-size: 18px;
    }

    #navbar-v1 .navbar-contact a {
        font-size: 18px;
        padding: 14px 25px;
    }

    #navbar-v1 .navbar-container-main {
        padding: 5px 35px;
    }

    .header-container .header-content h1 {
        font-size: 5.7rem;
        line-height: 118px;
    }
}

@media (max-width: 1280px) {
    #navbar-v1 .navbar-container-main {
    display: block;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0px 8px 20px 5px var(--colorOne)17;
    transition: transform 0.3s ease-out; 
}

#navbar-v1 .navbar-container-main.hide-on-scroll {
    transform: translateY(-100%); 
}

    .grid-content-header {
        display: flex;
    }

    .header-container .header-content,
    .header-container .header-image {
        width: 100%;
        height: 600px;
    }

    .header-container .header-image {
        padding: 10%;
        padding-left: 10%;
    }

    .header-container .header-content {
        padding: 15% 6% 5%;
    }

    .navbar-contact2 {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .navbar-contact2 a {
        text-decoration: none;
        color: #fff;
        font-size: 18px;
        background-color: var(--colorFive);
        padding: 16px 30px;
        border-radius: 5px;
        font-weight: 500;
        margin-left: 180px;
        border-radius: 20px;
    }

    .header-container .header-content h1 {
        font-size: 4.8rem;
        line-height: 90px;
    }

    .header-container .header-image img {
        width: 100%;
        height: 100%;
        border-radius: 25px;
    }

    .navbar-links {
        display: none;
    }

    .navbar-contact {
        display: none !important;
    }

    .navbar-links3>ul li a {
        font-size: 16px;
    }

    .header-container {
        height: auto;
    }

    .hamburger {
        display: block !important;
        position: fixed !important;
        background-color: transparent;
        left: 0;
        top: 0;
        height: 30px;
        width: 30px;
        padding: 30px 40px;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
        transition: transform 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
        z-index: 1002;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none
    }

    .hamburger.is-active {
        background-color: none;
    }

    ._layer {
        background: var(--colorSeven);
        margin-bottom: 4px;
        border-radius: 2px;
        width: 28px;
        height: 4px;
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        -webkit-transition: all 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
        transition: all 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
    }

    .hamburger:hover .-top {
        -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    .hamburger:hover .-bottom {
        -webkit-transform: translateY(50%);
        -ms-transform: translateY(100%);
        transform: translateY(100%);
    }

    .hamburger.is-active .-top {
        -webkit-transform: translateY(200%) rotate(45deg) !important;
        -ms-transform: translateY(200%) rotate(45deg) !important;
        transform: translateY(200%) rotate(45deg) !important;
    }

    .hamburger.is-active .-mid {
        opacity: 0;
    }

    .hamburger.is-active .-bottom {
        -webkit-transform: translateY(-200%) rotate(135deg) !important;
        -ms-transform: translateY(-200%) rotate(135deg) !important;
        transform: translateY(-200%) rotate(135deg) !important;
    }

    .menuppal.is_active {
        transform: translate3d(0px, 0px, 0px);
    }

    .menuppal {
        background-color: rgba(255, 255, 255, 0.95);
        bottom: 0;
        height: 100%;
        left: 0;
        overflow-y: scroll;
        position: fixed;
        display: block !important;
        top: 0;
        transform: translate3d(0px, -100%, 0px);
        transition: transform 0.35s cubic-bezier(0.05, 1.04, 0.72, 0.98) 0s;
        width: 100%;
        z-index: 1001;
    }

    .menuppal ul {
        margin: 60px;
        padding: 0;
    }

    .menuppal ul li {
        list-style: none;
        text-align: center;
        color: var(--colorSix);
        font-size: 1.5rem;
        line-height: 3em;
        height: 3em;
        color: var(--colorOne);
        text-transform: none;
        font-weight: bold;
    }

    .menuppal ul li a {
        text-decoration: none;
        font-family: "Oswald", sans-serif;
        color: var(--colorOne);
    }

    .menuppal ul li a:hover {
        text-decoration: none;
        color: var(--colorSix);
    }
}

@media (max-width: 1024px) {
    .header-container .header-content h1 {
        font-size: 4.2rem;
        text-align: center;
    }

    .header-button{
        display: grid;
        justify-content: center;
    }

    .header-container .header-content {
        padding: 16% 10% 5%;
        height: auto;
    }

    .header-container .header-image {
        display: none;
    }

    .contact-bubble {
        height: auto;
    }

}

@media (max-width: 768px) {

    .header-container .header-content h2 {
        font-size: 3.6rem;
        line-height: 72px;
    }

    .grid-content-header {
        padding-top: 20px;
    }

    .contact-bubble {
        width: 40%;
        height: auto;
    }
}

@media (max-width: 640px) {
    .header-container .header-content {
        padding: 18% 10% 9%;
        height: auto;
    }

    .grid-content-header{
        padding-top: 40px;
    }

    .header-container .header-content h1 {
        font-size: 2.8rem;
        line-height: 62px;
    }

    .header-container .header-image img {
        width: 80%;
    }

    .header-container .header-content a {
        font-size: 16px;
    }

    .navbar-links3>ul {
        line-height: 30px;
    }

    .hamburger {
        width: 25px;
        padding: 30px 30px;
    }

    .contact-bubble {
        width: 60%;
        height: max-content;
    }
    #navbar-v1 .navbar-logo {
        width: 230px;
    }
}

