@import url('https://fonts.googleapis.com/css2?family=Revalia&display=swap');

:root {
    --clr--primary: #000000;
    --clr--secondary: #223B3C;
    --clr--secondary2: #021713;
    --ff--primary: "Revalia", sans-serif;
    --transition: all 0.3s ease-in-out;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: var(--ff--primary);
    transition: var(--transition);
}

/* Navbar */
nav {
    font-size: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: white;
    align-items: center;
}

.nav-hamburger {
    display: none;
}

.logo {
    align-self: center;
    width: 120px;
    margin: 15px 0px 0px 95px;
    padding-bottom: 10px;
}

.logo2 {
    display: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--clr--primary);
    padding: 8px 35px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #223B3C;
}


.nav-links button {
    border: 0;
    background-color: var(--clr--secondary2);
    color: white;
    font-family: var(--ff--primary);
    font-size: 18px;
    padding: 18px 25px;
    border-radius: 10px;
    margin-right: 90px;
    cursor: pointer;
    transition: color 0.3s ease,
                background-color 0.3s ease;
}

.nav-links button:hover {
    background-color: white;
    color: var(--clr--secondary);
}

@media only screen and (max-width:1440px) {
    nav, .nav-links button {
        font-size: 17px;
    }
}

@media only screen and (max-width:1024px) {
    nav, .nav-links button {
        font-size: 12px;
    } & .nav-links button {
        padding: 16px 20px;
    }

    .nav-links a {
        padding: 8px 15px;
    }

    .logo {
        width: 95px;
    }
}

@media only screen and (max-width:768px) {
    nav, .nav-links button {
        font-size: 10px;
    } & .nav-links button {
        padding: 12px 26px;
        margin-right: 50px;
    }

    .logo {
        width: 75px;
    }
}

@media only screen and (max-width:431px) {
    .nav-links a, .nav-links button {
        display: none;
    }
    
    .nav-hamburger {
        display: block;
        overflow: hidden;
        width: 100%;
    }

    .myLinks a {
        text-decoration: none;
        color: var(--clr--primary);
        display: block;
        text-align: center;
        color: white;
        background-color: var(--clr--secondary);
        padding: 12px 0px;
        font-size: 12px;
    }

    .myLinks button {
        padding: 12px 0px;
        border: 0;
        font-family: var(--ff--primary);
        font-size: 12px;
        color: var(--clr--secondary);
        z-index: 3;
        width: 100%;
    }

    .myLinks a:hover {
        color: var(--clr--secondary2);
    } 

    #myLinks {
        opacity: 0;
        max-height: 0;
        display: block;
        flex-direction: column;
        position:relative;
        z-index: 2;
        transition: var(--transition);
    }

    .nav-hamburger a.icon {
        color: var(--clr--secondary2);
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        cursor: pointer;
        font-size: 30px;
        margin: 5% 2.5% 0px 0px;
    }

    .logo {
        display: none;
    }

    .logo2 {
        align-self: center;
        width: 75px;
        margin: 5px 0px 5px 10px;
        display: block;
    }
    
}

/* HERO */
.hero {
    margin-top: 150px;
    display: flex;
    justify-content: space-evenly;
    height: 100%;
}

.hero-text {
    width: 35%;
    font-size: 32px;
    margin: 50px 0px 0px 90px;
}

.hero-text h1 {
    margin-bottom: 0;
}
.hero-text p {
    font-size: 22px;
    padding-top: 0;
    color: gray;
}

@media only screen and (max-width:1440px) {
    .hero-text h1 {
        font-size: 40px;
    } & .hero-text p {
        font-size: 18px;
    }
}

@media only screen and (max-width:1024px) {
    .hero-text h1 {
        font-size: 30px;
    } & .hero-text p {
        font-size: 13px;
    }
}


@media only screen and (max-width:768px) {
    .hero-text h1 {
        font-size: 22px;
    } & .hero-text p {
        font-size: 9.5px;
        margin-bottom: -25px;
    } 
}

.hero-slides {
    width: 65%;
    position: relative;
    overflow: hidden;
    height: 650px;
}

.hero-slide img {
    width: 130%;
    position: relative;
    left: 30px;
    border-radius: 60px;
    z-index: 1;
    object-fit: cover;
}

.hero-slides-bg {
    background-color: #021713;
    height: 100px;
    border-bottom-left-radius: 70px;
    position: relative;
    bottom: 85px;
    left: 120px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-nav {
    position: relative;
    top: 80%;
    left: 55%;
    z-index: 1;
    display: flex;
    gap: 10px;
}

@media only screen and (max-width:1440px) {
    .hero-slide-nav {
        top: 520px;
    }
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
}

@media only screen and (max-width:912px) {
    .hero-text {
        width: 50%;
    }
}

@media only screen and (max-width:820px) {
    .hero-text {
        width: 50%;
    }
}

@media only screen and (max-width:768px) {
    .hero {
        margin-top: 120px;
        margin-bottom: -300px;
    }
    
    .hero-dot {
        width: 6px;
        height: 6px;
        border: 1px solid white;
    }

    .hero-slide-nav {
        top: 40%;
    }
}


.hero-dot.active {
    background-color: white;
}

.hero-links {
    margin-top: 50px;
}

.hero-links a {
    font-size: 20px;
    text-decoration: none;
    color: var(--clr--primary);
    transition: color 0.3s ease,
                background-color 0.3s ease;
}

.hero-links a:first-child {
    padding: 18px 25px;
    background-color: var(--clr--secondary2);
    color: white;
    border-radius: 10px;
}

.hero-links a:first-child:hover {
    background-color: white;
    color: var(--clr--secondary);

}

.hero-links a:last-child {
    border: var(--clr--primary) solid 2.5px;
    padding: 17px 25px;
    border-radius: 10px;
}

.hero-links a:last-child:hover {
    background-color: var(--clr--secondary);
    color: white;
}

@media only screen and (max-width:1440px) {
    .hero-links a {
        font-size: 18px;
    } 

    .hero-links a:first-child {
        padding: 16px 20px;
    } & .hero-links a:last-child {
        padding: 15px 20px;
    } 
}

@media only screen and (max-width:1280px) {
    .hero-links a:first-child {
        padding: 16px 15px;
    } & .hero-links a:last-child {
        padding: 15px 15px;
    } 

    .hero-slide-nav {
        top: 70%;
    }
}

@media only screen and (max-width:1024px) {
    .hero-links a {
        font-size: 12px;
    }

    .hero-links a:first-child {
        padding: 16px 18px;
    } & .hero-links a:last-child {
        padding: 15px 18px;
    } 

    .hero-slide-nav {
        top:  55%;
    }
}

@media only screen and (max-width:912px) {
    .hero {
        margin-bottom: 150px;
    }
    
    .hero-links {
        margin-top: 0;
    }

    .hero-slides {
        height: 500px;
    }

    .hero-slides img {
        height: 400px;
    }

    .hero-slide-nav {
        top: 75%;
    }

}

@media only screen and (max-width:820px) {
    .hero-slide-nav {
        top: 58%;
    }

    .hero-links {
       margin-top: 0; 
    } 

    .hero-text p {
        font-size: 12px;
    }

}

@media only screen and (max-width:768px) {
    .hero-links a {
        font-size: 8px;
    }

    .hero-links {
        margin-top: 40px;
    }

    .hero-links a:first-child {
        padding: 15px 18px;
    } & .hero-links a:last-child {
        padding: 14px 10px;
    } 

    .hero-slide-nav {
        top: 75%;
    }
}

@media only screen and (max-width:431px) {
    .hero {
        margin-top: 90px;
    }
    
    .hero-text {
        width: 50%;
        margin: 0;
        margin-left: 10px;
    }
    
    .hero-text h1 {
        font-size: 22px;
    }

    .hero-text p {
        font-size: 8px;
        margin-bottom: 10px;
    }

    .hero-slides {
        width: 50%;
    }

    .hero-slide img {
        height: 300px;
        left: 0;
        margin-left: 5px;
    }

    .hero-links {
        margin-top: 0;
    }

    .hero-links a {
        font-size: 8px;
        display: block;
        margin-bottom: 5px;
        text-align: center;
        width: 48%;
    } 

    .hero-links a:first-child {
        padding: 8px 2px;
    } & .hero-links a:last-child {
        padding: 8px 0px;
    } 

    .hero-slides-bg {
        left: 50px;
    }

    .hero-slide-nav {
        top: 55%;
        left: 50%;
    }
}

/* About */
.about {
    text-align: center;
    display: flex;
    flex-direction: column;
    font-size: 20px;
    margin-top: 50px;
}

@media only screen and (max-width:1024px) {
    .about {
        margin-top: -175px;
    }
}

.about h1 {
    margin-bottom: 0;
}

.about p {
    font-size: 18px;
    width: 80%;
    align-self: center;
    margin-top: 10px;
    margin-bottom: 60px;
}


@media only screen and (max-width:1440px) {
    .about h1 {
        font-size: 28px;
    } & .about p {
        font-size: 18px;
    }
}

@media only screen and (max-width:1024px) {
    .about h1 {
        font-size: 22px;
    } & .about p {
        font-size: 12px;
    }
}

@media only screen and (max-width:768px) {
    .about h1 {
        font-size: 16px;
    } & .about p {
        font-size: 10px;
    }
}

@media only screen and (max-width:431px) {
    .about h1 {
        font-size: 16px;
    } & .about p {
        font-size: 8px;
    }
}

.about-slides-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.about-slides img {
    width: 85%;
    border-radius: 10px;
    height: 622px;
    object-fit: cover;
}

@media only screen and (max-width:1440px) {
    .about-slides img {
        height: 550px;
    }
}

@media only screen and (max-width:768px) {
    .about-slides-container {
        margin-top: -35px;
        height: 350px;
    }

    .about-slides img {
        height: 350px;
    }
}

@media only screen and (max-width:431px) {
    .about-slides-container {
        height: 250px;
    }
    
    .about-slides img {
        height: 250px;
    }
}

.about-slide {
    display: none;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

.about-slide.a-active {
    display: block;
    opacity: 1;
}

.about-dots {
    text-align: center;
    padding: 15px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 1;
}

.about-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    border: 2px solid white;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.about-dot.a-active {
    background-color: #ffffff;
}

/* Location */
.location {
    margin-top: 70px;
    height: fit-content;
    justify-content: center;
    text-align: center;
    margin-bottom: 70px;
}

.location iframe {
    width: 85%;
    height: 600px;
    border-radius: 10px;
}

.location h1 {
    font-size: 30px;
    margin-top: -10px;
    margin-bottom: 50px;
}

@media only screen and (max-width:1440px) {
    .location {
        height: 550px;
        margin-bottom: 200px;
    }

    .location h1 {
        font-size: 23px;
        margin-bottom: 25px;
    }
}

@media only screen and (max-width:1024px) {
    .location h1 {
        font-size: 21px;
        margin-bottom: 25px;
    }
}

@media only screen and (max-width:768px) {
    .location {
        height: 350px;
        margin-bottom: 350px;
    }

    .location h1 {
        font-size: 18px;
        margin-bottom: 25px;
    }
}

@media only screen and (max-width:431px) {
    .location {
        height: 110px;
        margin-bottom: 350px;
    }

    .location iframe {
        height: 350px;
    }

    .location h1 {
        font-size: 18px;
        margin-bottom: 25px;
    }
}

/* Services */
.services {
    background-image: linear-gradient(to right, var(--clr--secondary2), var(--clr--primary), var(--clr--secondary2));
    color: white;
    font-size: 20px;
    text-align: center;
}

.services h1 {
    padding: 70px;
    padding-bottom: 0;
}

.services p {
    margin-top: -20px;
    margin-bottom: 70px;
}
 
@media only screen and (max-width:1440px) {
    .services h1 {
        font-size: 28px;
    } & .services p {
        font-size: 18px;
    }
}

@media only screen and (max-width:1024px) {
    .services h1 {
        font-size: 24px;
        margin-top: 0;
    } & .services p {
        font-size: 14px;
        margin-bottom: 30px;
    }
}

@media only screen and (max-width:768px) {
    .services h1 {
        font-size:  20px;
        margin-top: -30px;
        margin-bottom: 20px;
    } & .services p {
        font-size: 10px;
        margin-bottom: 30px;
    }
}

@media only screen and (max-width:431px) {
    .services h1 {
        padding-top: 30px;
        font-size:  18px;
        margin-top: -30px;
        margin-bottom: 25px;
    } & .services p {
        font-size: 10px;
        margin-bottom: 20px;
    } 
}

.services-cards {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.card {
    width: 42%;
    background-color: white;
    color: var(--clr--primary);
    border-radius: 10px;
    margin-bottom: 70px;
}

.card img {
    width: 100%;
    height: 80%;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    margin-bottom: 0;
    object-fit: cover;
}

.card-text {
    width: 88%;
    max-height: max-content;
    justify-self: center;
    padding-bottom: 50px;
    font-size: 18px;
}

@media only screen and (max-width:1440px) {
    .card-text h3 {
        font-size: 20px;
        margin-bottom: 22px;
    } & .card-text p {
        font-size: 16px;
    }
}

@media only screen and (max-width:1024px) {
    .card-text h3 {
        font-size: 14px;
        margin-top: 10px;
    } & .card-text p {
        font-size: 11px;
    }
}

@media only screen and (max-width:820px) {
    .card-text h3 {
        font-size: 11px;
        margin-top: 10px;
    } & .card-text p {
        font-size: 9px;
    }
}

@media only screen and (max-width:768px) {
    .card-text h3 {
        font-size: 11px;
        margin-top: 10px;
    } & .card-text p {
        font-size: 8px;
    }
}

@media only screen and (max-width:431px) {
    .card-text h3 {
        font-size: 7px;
        margin-top: 0px;
    } & .card-text p {
        font-size: 6px;
        padding-bottom: 10px;
    } 

    .card {
        margin-bottom: 50px;
    }
}

/* Projects */
.projects {
    position: relative;
    padding: 40px 20px;
    overflow: hidden;
}

.projects h1 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 80px;
}

.projects-slides {
    position: relative;
    width: 100%;
    height: 600px;
    justify-items: center;
}

.slide-pair {
    position: absolute;
    width: 90%;
    display: flex;
    justify-content: space-evenly;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    visibility: hidden;
}  

.slide-pair.p-active {
    opacity: 1;
    visibility: visible;
}

.projects-arrow {
    position: absolute;
    top: 58%;
    transform: translateY(-50%);
    background: rgb(223, 72, 72);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
    font-size: 20px;
}

.projects-arrow.prev {
    left: 45px;
}

.projects-arrow.next {
    right: 45px;
}

.projects-arrow:hover {
    background: rgb(122, 0, 0);;
}

.projects-slides {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.projects-slides img {
    object-fit: cover;
    width: 45%;
    height: 600px;
    border-radius: 10px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
}

@media only screen and (max-width:1440px) {
    .projects-slides img {
        height: 400px;
    } & .projects-slides {
        height: 450px;
    }

    .projects h1{
        font-size: 28px;
    }
} 

@media only screen and (max-width:1024px) {
    .projects-slides img {
        height: 350px;
    } & .projects-slides {
        height: 400px;
    }

    .projects h1{
        font-size: 26px;
    }

    .projects-arrow {
        padding: 8px 12px;
    }

    .projects-arrow.next {
        right: 35px;
    }

    .projects-arrow.prev {
        left: 35px;
    }
}

@media only screen and (max-width:768px) {
    .projects-slides img {
        height: 300px;
    } & .projects-slides {
        height: 300px;
    }
    
    .projects h1{
        font-size: 22px;
        margin: 0;
        margin-bottom: 30px;
    }

    .projects-arrow {
        padding: 4px 8px;
    }

    .projects-arrow.next {
        right: 25px;
    }

    .projects-arrow.prev {
        left: 25px;
    }
}

@media only screen and (max-width:431px) {
    .projects h1 {
        font-size: 16px;
    }
    
    .projects-slides img {
        height: 200px;
    } & .projects-slides {
        height: 200px;
    }

    .projects-arrow {
        padding: 2px 4px;
    }

    .projects-arrow.next {
        right: 5px;
    }

    .projects-arrow.prev {
        left: 5px;
    }
}

/* Choose Us */
.choose-us {
    text-align: center;
    font-size: 16px;
}

.choose-container {
    background-image: linear-gradient(to right, var(--clr--secondary2), var(--clr--primary), var(--clr--secondary2));
    width: 85%;
    justify-self: center;
    color: white;
    display: flex;
    justify-content: center;
    gap: 220px;
    border-radius: 10px;
    font-size: 18px;
    padding: 40px 0px;
    margin-top: 30px;
}

.choose-container div:first-child h1, .choose-container div:last-child h1{
    margin-bottom: -8px;
}

@media only screen and (max-width:1440px) {
    .choose-us h1 {
        font-size: 28px;
    }

    .choose-container {
        gap: 140px;
        font: 16px;
    }
} 

@media only screen and (max-width:1024px) {
    .choose-us h1 {
        font-size: 26px;
    }

    .choose-container {
        gap: 100px;
        font-size: 14px;
    }
} 

@media only screen and (max-width:768px) {
    .choose-us h1 {
        font-size: 23px;
    }

    .choose-container {
        gap: 45px;
        font-size: 11px;
    }  
}

@media only screen and (max-width:431px) {
    .choose-us h1 {
        font-size: 18px;
    }

    .choose-container {
        gap: 25px;
        font-size: 8px;
        padding: 10px 0px;
    } 
}

/* Contact Form */ 
.contact {
    margin-top: 50px;
    background-color: var(--clr--secondary);
    text-align: center;
    padding: 25px 0px 80px;
    font-size: 22px;
    color: white;
    margin-bottom: 0;
}

@media only screen and (max-width:1440px) {
    .contact {
        font-size: 18px;
    }
}

@media only screen and (max-width:1024px) {
    .contact {
        font-size: 14px;
    }
}

@media only screen and (max-width:768px) {
    .contact {
        font-size: 10px;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    width: 32%;
    justify-self: center;
}

.contact-form input {
    margin-bottom: 8px;
    padding: 18px;
    border-radius: 6px;
    border: rgb(245, 245, 245) solid 2px;
}

.contact-form textarea {
    border-radius: 6px;
    padding: 18px;
    resize: none;
}

.contact-form button {
    background-color: var(--clr--secondary2);
    border: 0;
    padding: 20px;
    color: white;
    margin-top: 15px;
    border-radius: 6px;
    font-family: var(--ff--primary);
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease,
                background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: white;
    color: var(--clr--secondary);
}

@media only screen and (max-width:768px) {
    .contact-form input {
        padding: 8px;
    }

    .contact-form textarea {
        padding: 8px;
    }

    .contact-form button {
        padding: 8px;
        font-size: 10px;
        margin-top: 4px;
        margin-bottom: -35px;
    }
}

@media only screen and (max-width:431px) {
    .contact h1 {
        font-size: 20px;
    }
    
    .contact-form {
        width: 75%;
    }

    .contact-form button {
        padding: 10px;
    }
}


/* footer */
footer {
    background-color: var(--clr--primary);
    color: white;
    padding-top: 60px;
    font-size: 16px;
}

.footer-columns {
    display: flex;
    width: 80%;
    justify-self: center;
    gap: 50px;
}


.footer.good-times {
    width: 40%;
    padding-right: 100px;
}

.footer.good-times p {
    font-size: 16px;
}

.footer.links .links {
    display: flex;
    flex-direction: column;
}

.footer.links .links a {
    text-decoration: none;
    color: white;
    margin-bottom: 22px;
    padding-right: 250px;
    transition: color 0.3s ease;
}

.footer.links .links a:hover {
    color: var(--clr--secondary);
}

.footer.email h3 {
    margin-bottom: 0;
}

.footer.email a {
    text-decoration: none;
    color: white;
}

.footer.address h3 {
    margin-bottom: 0;
} & .footer.address p {
        margin-top: 0;
    }

.separator {
    background-color: white;
    height: 3px;
    width: 85%;
    justify-self: center;
}

footer > p:last-child {
    text-align: center;
    margin: 0;
    padding: 30px 0 20px 0px;
}

@media only screen and (max-width:1440px) {
    footer {
        font-size: 14px;
    }
}

@media only screen and (max-width:1024px) {
    footer {
        font-size: 12px;
    }

    .footer.good-times p {
        font-size: 11px;
    } 

    .footer.good-times {
        padding: 0;
    }

    .footer.links {
        width: 30%;
    }
}

@media only screen and (max-width:431px) {
    .footer-columns {
        flex-direction: column;
    }

    .footer.links {
        width: 100%;
    }
    .footer.links .links a {
        margin: 1px;
    }
}