*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
}

html
{
    color: #f5f5f5;
    background-color: #121212;
    scroll-behavior: smooth;
    background-image: url('../images/Redback_real.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    overflow-x: hidden;
}

html, body
{
    max-width: 100%;
}

body::before
{
    max-width: 100%;
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: -1;
    pointer-events: none;
}

.container
{
    width: 100%;
    margin: 0 auto;
    position: relative;
}

nav
{
    width: 65%;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 64px;
    padding: 32px;
}

nav ul
{
    display: flex;
    align-items: center;
    list-style: none;
}

nav ul li
{
    padding: 16px;
}

nav ul li a
{
    color: white;
    font-size: 24px;
    font-weight: 300;
    text-decoration: none;
    transition: all 0.1s ease-in-out;
}

nav ul li a:hover
{
    cursor: pointer;
    transform: translateY(-32px);
    transform-origin: center;
    font-weight: 700;
}

.nav-brand img
{
    height: 64px;
}

.nav-brand
{
    margin-top: 24px;
}

header
{
    color: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

header h1
{
    font-size: 48px;
    margin-bottom: 32px;
}

header h3
{
    font-size: 20px;
    font-weight: 300;
    max-width: 512px;
    margin-bottom: 48px;
    line-height: 150%;
}

header .overlay
{
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.3;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

nav, .header-content, .hero-arrow
{
    position: relative;
    z-index: 2;
}

.header-content
{
    width: 65%;
    height: 100%;
    display: flex;
}

.hero-text
{
    margin-right: 64px;
    padding: 32px;
}

.hero-text img
{
    height: 196px;
    margin-bottom: 32px;
}

.hero-image img
{
    width: 80%;
}

.hero-text a
{
    color: white;
    background-color: #358bd8;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    border-radius: 16px;
    padding: 16px 32px;
}

.hero-text a:hover
{
    background-color: #509bdd;
}

.hero-arrow
{
    position: absolute;
    bottom: -96px;
    left: 50%;
    transform: translate(-50%,-50%);
}

.burger-menu
{
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.burger-line
{
    width: 100%;
    height: 4px;
    background-color: white;
    border-radius: 2px;
}

section
{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 96px auto;
    padding: 16px;
}

section > h1
{
    font-size: 56px;
    text-align: center;
    margin-bottom: 32px;
}

.services
{
    width: 80%;
    display: flex;
    flex-direction: column;
}

.services-cards
{
    width: 100%;
    display: flex;
    justify-content: center;
}

.service
{
    min-width: 256px;
    border: 1px solid #CCC;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 32px;
    padding: 32px;
    text-align: center;
}

.service img
{
    width: 75%;
    margin-bottom: 32px;
}

.projects-carousel
{
    width: 75vw;
    max-width: 900px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.projects
{
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
    gap: 24px;
}

.project
{
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.project img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-info
{
    width: 100%;
    height: 100%;
    transition: all 0.3s ease-in-out;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    transform: translateY(100%);
}

.project:hover .project-info
{
    transform: translateY(0%);
}

.project-info h1
{
    font-size: 24px;
    text-align: center;
    margin-bottom: 16px;
}

.project-info h3
{
    font-weight: 300;
    text-align: center;
    margin-bottom: 16px;
}

.project-info a
{
    width: 50%;
    height: 32px;
    margin: 16px auto;
    text-align: center;
    color: white;
    background-color: #358bd8;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    padding: 24px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-info a:hover
{
    transform: translateY(-4px);
    background-color: #509bdd;
}

.logos-carousel-btn
{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 32px;
    padding: 12px;
    cursor: pointer;
    z-index: 10;
}

.logos-carousel-btn.prev
{
    left: 24px;
}

.logos-carousel-btn.next
{
    right: 24px;
}

#about p
{
    font-size: 18px;
    line-height: 1.6;
    padding: 16px;
}

.about-text
{
    display: flex;
    align-items: center;
}

.about-text img
{
    width: 350px;
    margin-right: 32px;
}

.view
{
    color: white;
    background-color: #358bd8;
    height: 32px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    padding: 24px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}

.view:hover
{
    transform: translateY(-4px);
    background-color: #509bdd;
}

#contact form
{
    width: 50%;
}

#contact form > div
{
    margin-bottom: 32px;
}

input, textarea
{
    width: 100%;
    color: #6e4423;
    border: none;
    outline: none;
    border-radius: 8px;
    background-color: #dcdcdc;
    padding: 16px;
}

.btn
{
    width: 100%;
    color: white;
    background-color: #358bd8;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    padding: 0.75rem 1.5rem; 
    text-align: center;
    font-weight: 400;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn:hover
{
    background-color: #509bdd;
    cursor: pointer;
}

.request
{
    width: 100%;
}

.options
{
    display: flex;
    justify-content: center;
}

.option
{
    width: 350px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    border: 1px solid white;
    border-radius: 16px;
    margin: 32px;
    padding: 32px;
}

.option img
{
    height: 40%;
}

.option > *
{
    margin-bottom: 32px;
}

footer
{
    width: 100%;
    color: #121212;
    background-color: rgba(255, 255, 255, 0.25);
    font-weight: 700;
    width: 100%;
    min-height: 128px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 300;
}

.logos-carousel
{
    width: 100%;
    height: 512px;
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 0 auto;
}

.logos-carousel-track
{
    display: flex;
    align-items: center;
    transition: transform 0.5s ease-in-out;
}

.logos-carousel-slide
{
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logos-carousel-slide img
{
    width: 100%;
	height: 512px;
    object-fit: contain;
    margin: auto;
}

.logos-carousel-btn
{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1000;
}

.logos-carousel-btn.left
{
    left: 10px;
}

.logos-carousel-btn.right
{
    right: 10px;
}

.logos-carousel-btn:hover
{
    background-color: rgba(0, 0, 0, 0.8);
}

.logos-carousel
{
    width: 100%;
}

#work
{
    width: 100%;
}

@media(max-width: 1200px)
{
    .services-cards
    {
        flex-direction: column;
        align-items: center;
    }

    .service img
    {
        width: 50%;
    }

    .about-text
    {
        flex-direction: column;
        text-align: center;
    }

    .about-text img
    {
        margin: 64px auto;
    }

    .project
    {
        width: 100%;
    }

    .hero-arrow
    {
        display: none;
    }

    .options
    {
        flex-direction: column;
    }
}

@media(max-width: 800px)
{
    .services
    {
        width: 100%;
    }

    .services > h1
    {
        font-size: 32px;
    }

    .service
    {
        min-width: 100%;
    }

    nav
    {
        position: relative;
        z-index: 1000;
    }

    .nav-links
    {
        width: 75%;
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        border-radius: 16px;
        background-color: rgba(6,24,88,0.95);
        text-align: center;
        margin: 0 auto;
        z-index: 100;
    }

    .nav-links ul
    {
        flex-direction: column;
        padding: 0;
    }

    .nav-links ul li
    {
        padding: 24px;
    }

    .nav-links.show
    {
        display: block;
        z-index: 100;
    }

    .nav-links a
    {
        color: white;
        font-weight: 700;
    }

    .burger-menu
    {
        display: flex;
        z-index: 150;
    }

    .nav-brand
    {
        margin-top: 24px;
        z-index: 50;
    }

    .burger-menu
    {
        display: flex;
        z-index: 999;
    }

    header
    {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        min-height: 25vh;
    }

    header h3
    {
        margin-bottom: 0;
    }

    .header-content
    {
        width: 90%;
        flex-direction: column;
    }

    .hero-text
    {
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-text img
    {
        width: 300px;
        height: auto;
        margin-bottom: 32px;
    }

    .hero-text h1, .hero-text h3
    {
        width: 300px;
    }

    .hero-text h3
    {
        margin-bottom: 24px;
    }

    #contact h1
    {
        font-size: 32px;
    }

    section
    {
        width: 100%;
    }

    #work > h1, #services > h1
    {
        font-size: 40px;
    }

    #about > h1
    {
        margin-bottom: 0;
    }

    .hero-text
    {
        text-align: center;
    }

    .project
    {
        width: 100%;
        flex-shrink: 0;
    }
    
    .projects-carousel-btn
    {
        padding: 8px;
        font-size: 24px;
    }
}

@media(max-width: 500px)
{
    nav
    {
        width: 100%;
    }

    .nav-brand h1
    {
        margin: 0;
    }

    .hero-image
    {
        width: 85%;
    }

    .hero-image img
    {
        width: 100%;
    }

    .service img
    {
        width: 80%;
    }

    .learn-more
    {
        display: none;
    }
}

@media(max-width: 400px)
{
    header h1
    {
        font-size: 48px;
    }

    .header-content
    {
        width: 100%;
    }

    .hero-text
    {
        width: 100%;
        margin: 0 auto;
    }

    .hero-image
    {
        display: none;
    }

    section > h1
    {
        font-size: 40px;
    }

    .options
    {
        width: 100%;
        align-items: center;
    }

    .option
    {
        width: 100%;
    }

    .projects-carousel-wrapper
    {
        width: 95%;
    }
    
    .projects
    {
        flex-direction: row;
    }

    .projects-carousel-btn
    {
        padding: 6px;
        font-size: 18px;
    }

    .projects-carousel-wrapper
    {
        width: 95%;
        max-width: 350px;
    }
    
    .project
    {
        height: 200px;
    }
    
    .project img
    {
        height: 100%;
        object-fit: cover;
    }

    .projects-carousel-btn
    {
        padding: 4px;
        font-size: 16px;
    }
    
    .projects-carousel-btn.prev
    {
        left: 5px;
    }
    
    .projects-carousel-btn.next
    {
        right: 5px;
    }

    .project-info h1
    {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .project-info h3
    {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .project-info a
    {
        padding: 6px 12px;
        font-size: 14px;
    }
}

@media(max-width: 350px)
{
    .hero-text img
    {
        width: 80%;
        height: auto;
    }

    .hero-text h3
    {
        font-size: 24px;
    }

    .option
    {
        height: 250px;
    }

    .option img
    {
        width: 100px;
        height: auto;
    }

    .option a
    {
        font-size: 10px;
    }

    .about-text
    {
        width: 100%;
    }

    .about-text img
    {
        width: 200px;
        height: auto;
    }

    #about h1
    {
        font-size: 32px;
    }

    .nav-brand
    {
        display: none;
    }

    #contact h1
    {
        font-size: 20px;
    }
}

