@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: "Clash";
    src: url("/fonts/ClashDisplay-Bold.ttf") format("truetype");
    font-weight: bolder;
}

@font-face {
    font-family: "Clash";
    src: url("/fonts/ClashDisplay-Medium.ttf") format("truetype");
    font-weight: bold;
}

@font-face {
    font-family: "Clash";
    src: url("/fonts/ClashDisplay-Regular.ttf") format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: "Clash";
    src: url("/fonts/ClashDisplay-Light.ttf") format("truetype");
    font-weight: lighter;
}



:root {
    --primary-color: #ffd21d;
    --secondary-color: #505050;
    --light-color: #ffffffee;
    --dark-color: #050505;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6, p, a, span, button, li, input, textarea, label, div, section, header, footer, nav {
    font-family: "Clash", sans-serif;
}

h1, h2 {
    font-weight: bolder;
}

h3, h4, h5, h6 {
    font-weight: bold;
}

p, a, span, button, li, input, textarea, label, div, section, header, footer, nav {
    font-weight: normal;
}

.primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.secondary {
    color: var(--secondary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.light {
    color: var(--light-color);
}

.bg-light {
    background-color: var(--light-color);
}

.dark-color {
    color: var(--dark-color);
}

.bg-dark {
    background-color: var(--dark-color);
}

a {
    text-decoration: none;
    color: var(--light-color);
}

.highlight {
    border: 5px solid red;
}

.btn {
    padding: 20px;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 20px;
    border: 1px solid var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;

    .icon-div {
        background-color: var(--dark-color);
        height: 35px;
        width: 35px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 10px;
        transition: all 0.3s ease;

        i {
            transition: all 0.3s ease;
            color: var(--primary-color);
            font-size: 16px;
        }
    }

    &:hover {
        background-color: var(--dark-color);
        color: var(--light-color);
        border: 1px solid var(--primary-color);

        .icon-div {
            background-color: var(--primary-color);
            transform: translateX(5px);

            i {
                color: var(--dark-color);
            }
        }
    }
}

.btn2 {
    padding: 20px;
    border-radius: 50px;
    background-color: var(--dark-color);
    color: var(--light-color);
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 20px;
    border: 1px solid var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;

    .icon-div {
        background-color: var(--light-color);
        height: 35px;
        width: 35px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 10px;
        transition: all 0.3s ease;

        i {
            transition: all 0.3s ease;
            color: var(--dark-color);
            font-size: 16px;
        }
    }

    &:hover {
        background-color: var(--light-color);
        color: var(--dark-color);
        border: 1px solid var(--dark-color);

        .icon-div {
            background-color: var(--dark-color);
            transform: translateX(5px);

            i {
                color: var(--light-color);
            }
        }
    }
}

.columns-2 {
    display: flex;
    columns: 2;
    gap: 40px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4vw;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-img {
    width: 50px;
    height: 50px;
}

.navbar {
    .nav-menu {
        display: flex;
        gap: 20px;

        .nav-link {
            text-decoration: none;
            color: var(--secondary-color);
            transition: all 0.3s ease;
            font-weight: bold;
            border-bottom: 1px solid transparent;

            &:hover {
                color: var(--primary-color);
                border-bottom: 1px solid var(--primary-color);
            }
        }
    }
}

section {
    width: 100%;
    padding: 0 6vw;
}

.hero-transition {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
    text-align: center;

    h1, h2, h3, p {
        color: white;
    }

    .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .hero-content-1 {
        position: relative;
        height: 40px;
        padding: 10px 20px;
        border-radius: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;

        video {
            position: absolute;
            top: 0%;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
        }

        h3 {
            font-size: 16px;
            color: white;
            mix-blend-mode: overlay;
            text-align: center;
            z-index: 2;
        }

        &::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.1);
            z-index: 1;
        }
    }

    .hero-title {

        margin-top: 50px;

        h2 {
            font-size: clamp(2rem, 4vw, 4vw);
        }

        p {
            font-size: clamp(1rem, 1.5vw, 1.5rem);
            margin-top: 20px;
            line-height: clamp(1.5rem, 2vw, 2.5rem);
        }

        .hero-buttons {
            display: flex;
            width: 100%;
            justify-content: center;
            gap: 20px;
            margin-top: 50px;
        }
    }
}

.rectangles {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    display: flex;

    pointer-events: none;

    div {
        background-color: var(--dark-color);
        width: 100%;
        transform: translateY(-100%);
    }
}

#hero2 {
    background-color: var(--dark-color);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;

    opacity: 0;
    pointer-events: none;

    h2 {
        font-size: clamp(2.5rem, 4vw, 4vw);
        margin-bottom: 20px;
        color: #ffffffcc;
        font-weight: normal;
    }
}

#about-section {
    width: 100%;
    padding-top: 10px;
    transform: translateY(-10px);

    h2 {
        font-size: clamp(2rem, 4vw, 4vw);
        margin-bottom: 20px;
        color: var(--light-color);
        font-weight: bold;
    }

    p {
        font-size: clamp(1rem, 1.5vw, 1.5rem);
        margin-bottom: 40px;
        line-height: clamp(1.5rem, 2vw, 2.5rem);
        color: var(--light-color);
    }

    .columns-2 {
        display: flex;
        gap: 40px;

        .content-div {
            flex: 3;
            display: flex;
            flex-direction: column;
            justify-content: center;

            p {
                margin-bottom: 20px;
            }
        }

        .img-div {
            flex: 2;

            img {
                width: 100%;
                height: auto;
                border-radius: 10px;
                border: 2px solid var(--light-color);
                border-spacing: 0px;
            }
        }
    }
}

#services-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    h2 {
        font-size: clamp(1.2rem, 1vw, 1vw);
        margin-bottom: 20px;
        color: var(--light-color);
        font-weight: bold;
        text-align: center;
    }

    p {
        font-size: clamp(2rem, 2vw, 2vw);
        margin-bottom: 40px;
        color: var(--light-color);
        text-align: center;
    }


}

#projects-section {
    width: 100%;
    position: relative;
    background-color: var(--dark-color);

    h2 {
        font-size: clamp(2rem, 4vw, 4vw);
        margin-bottom: 20px;
        color: #ffffffcc;
        font-weight: bold;
        text-align: center;
    }

    p {
        font-size: clamp(1rem, 1.5vw, 1.5rem);
        margin-bottom: 40px;
        line-height: clamp(1.5rem, 2vw, 2.5rem);
        color: #ffffffcc;
        text-align: center;
    }

    .projects {
        display: flex;
        justify-content: center;
        align-items: center;
        columns: 3;
        gap: 32px;

        .project {
            width: 100%;
            border-radius: 0;
            overflow: hidden;

            p {
                margin-top: 10px;
                color: #ffffffcc;
                font-size: clamp(1rem, 1vw, 1vw);
                text-align: center;
            }

            img {
                width: 100%;
                height: 350px;
                object-fit: cover;
                object-position: center;
                transform-origin: center center;
                transform: scaleX(0);
            }
        }
    }
}

.footer-transition {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#call-section {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

    h2 {
        position: absolute;
        font-size: clamp(2.5rem, 6vw, 6vw);
        color: #ffffffcc;
        font-weight: bold;
        text-align: center;
    }

    #diamond-div {
        z-index: -1;
    }
}

footer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    opacity: 0;
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 0 6vw 50px 6vw;
    overflow: hidden;

    .footer-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .left {
        h2 {
            color: var(--light-color);
            font-weight: normal;
            font-size: clamp(1.5rem, 5vw, 5vw);
            margin-bottom: 20px;
        }

        p, a {
            color: var(--light-color);
            font-size: clamp(0.8rem, 1rem, 1rem);
            margin-top: 10px;
            font-family: "Inter", sans-serif;
            margin-bottom: 20px;
        }
    }

    .right {
        width: 40%;

        h2 {
            color: var(--light-color);
            font-size: clamp(2.5rem, 2vw, 2vw);
            margin-bottom: 20px;
            text-align: end;
        }

        p {
            color: var(--light-color);
            font-size: 0.9rem;
            margin-top: 20px;
            text-align: end;
            margin-bottom: 20px;
        }

        .footer-buttons {
            display: flex;
            gap: 20px;
            justify-content: end;
            align-items: center;
        }
    }
}


@media screen and (max-width: 992px) {

    .columns-2 {
        flex-direction: column;
        columns: 1;
        gap: 20px;
    }

    .btn, .btn2 {
        padding: 10px 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-content-1 {
        display: none !important;
    }

    footer {
        padding: 0 6vw 20px 6vw;
        align-items: end;
        justify-content: end;
        text-align: center;
        flex-wrap: wrap;

        .left {
            width: 100%;
            order: 2;
        }

        .right {
            width: 100%;
            order: 1;
        }
    }

    .projects {
        columns: 1;
        flex-direction: column;
    }

}