/* RESET */

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

/* BODY */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* NAVBAR */

header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
    align-items: center;
}

.logo {
    color: white;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

/* HERO SECTION */

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* VIDEO */

.bg-video {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: -2;
}

/* DARK OVERLAY */

.hero::before {
    content: "";

    position: absolute;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.5);

    z-index: -1;
}

/* HERO CONTENT */

.hero-content {

    position: relative;
    z-index: 1;

    height: 100%;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    color: white;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
}

.tagline {
    margin: 15px 0;
}

/* BUTTON */

.btn {

    padding: 12px 28px;

    background: white;
    color: black;

    border-radius: 25px;

    text-decoration: none;

    margin-top: 20px;

    transition: 0.3s;
}

.btn:hover {
    background: black;
    color: white;
}

/* FLOATING CIRCLES */

.circles {
    position: absolute;

    width: 100%;
    height: 100%;

    top: 0;
    left: 0;

    overflow: hidden;

    z-index: -1;
}

.circles span {

    position: absolute;

    display: block;

    background: rgba(255,255,255,0.2);

    bottom: -150px;

    border-radius: 50%;

    animation: float 20s linear infinite;
}

.circles span:nth-child(1) {
    left: 10%;
    width: 60px;
    height: 60px;
}

.circles span:nth-child(2) {
    left: 30%;
    width: 40px;
    height: 40px;
    animation-delay: 2s;
}

.circles span:nth-child(3) {
    left: 50%;
    width: 50px;
    height: 50px;
    animation-delay: 4s;
}

.circles span:nth-child(4) {
    left: 70%;
    width: 45px;
    height: 45px;
    animation-delay: 6s;
}

.circles span:nth-child(5) {
    left: 85%;
    width: 70px;
    height: 70px;
    animation-delay: 8s;
}

@keyframes float {

    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-1000px);
        opacity: 0;
    }

}

/* PROJECTS */

.projects {

    padding: 80px 40px;

    text-align: center;

    background: #f4f4f4;
}

.project-container {

    display: flex;

    gap: 20px;

    justify-content: center;

    flex-wrap: wrap;

    margin-top: 30px;
}

.project-card {

    background: white;

    padding: 20px;

    width: 250px;

    border-radius: 10px;

    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* FOOTER */

footer {

    text-align: center;

    padding: 40px;

    background: #222;

    color: white;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    nav {
        flex-direction: column;
        gap: 10px;
    }

    .hero h2 {
        font-size: 32px;
    }

}