* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: #050a28;
    color: #fff;
}

/* ================= NAVBAR ================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 10, 40, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

nav h2 {
    color: #00eaff;
    font-size: 26px;
}

/* Menu */
.menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    position: relative;
}

.menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #00eaff;
    transition: 0.3s;
}

.menu li a:hover::after {
    width: 100%;
}

/* Hamburger */
#menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #00eaff;
    margin: 4px 0;
    transition: 0.3s;
}

/* ================= HERO ================= */
.hero {
    height: 100vh;
    position: relative;

    background-image:
        linear-gradient(
            to right,
            rgba(5,10,40,0.65),
            rgba(0,0,0,0.9)
        ),
        url("1f9fa719-09a7-418c-8f39-96f801eb56a6.jpeg");

    background-size: 120% auto;
    background-repeat: no-repeat;
    background-position: center;

    animation: bgSlide 20s linear infinite;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
}

/* SLIDE ANIMATION */
@keyframes bgSlide {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}



.hero-content {
    max-width: 700px;
}

.hero h2 {
    color: #00eaff;
    letter-spacing: 3px;
    font-size: 20px;
}

.hero h1 {
    font-size: 60px;
    margin: 15px 0 30px;
}

.hero button {
    padding: 14px 40px;
    border: none;
    background: #00eaff;
    color: #000;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.hero button:hover {
    background: #00b3cc;
    transform: scale(1.05);
}

/* ================= ABOUT ================= */
.about {
    padding: 80px 20px;
    text-align: center;
}

.about h2 {
    font-size: 36px;
    color: #00eaff;
    margin-bottom: 20px;
}

.about p {
    max-width: 700px;
    margin: auto;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.85;
}

/* ================= FOOTER ================= */
footer {
    background: #020617;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 65px;
        right: 0;
        background: rgba(5,10,40,0.95);
        flex-direction: column;
        width: 220px;
        padding: 20px;
        transform: translateX(100%);
        transition: 0.3s;
    }

    #menu-toggle:checked ~ .menu {
        transform: translateX(0);
    }

    .hero h1 {
        font-size: 42px;
    }
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
}

/* SLIDER */
.slider {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(5,10,40,0.65),
        rgba(0,0,0,0.9)
    );
}

.slide.active {
    opacity: 1;
}

/* HERO CONTENT */
.hero-content {
    max-width: 700px;
    z-index: 2;
}

.hero h2 {
    color: #00eaff;
    letter-spacing: 3px;
    font-size: 20px;
}

.hero h1 {
    font-size: 60px;
    margin: 15px 0 30px;
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
}

/* SLIDER WRAPPER */
.slider {
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* SLIDE */
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideFade 12s infinite;
}

/* GRADIENT OVERLAY */
.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(5,10,40,0.65),
        rgba(0,0,0,0.9)
    );
}

/* IMAGES */
.slide1 {
    background-image: url("fd5be553-73d0-4f3b-a192-8c7945178d3d.jpeg");
    animation-delay: 0s;
}

.slide2 {
    background-image: url("e7b459da-13c7-424d-ae3b-5be85894cbf5.jpeg");
    animation-delay: 4s;
}

.slide3 {
    background-image: url("2a173246-9682-4e82-beb4-ab67f3c10392.jpeg");
    animation-delay: 8s;
}

/* FADE ANIMATION */
@keyframes slideFade {
    0% { opacity: 0; }
    10% { opacity: 1; }
    30% { opacity: 1; }
    40% { opacity: 0; }
    100% { opacity: 0; }
}

/* HERO TEXT */
.hero-content {
    max-width: 700px;
    z-index: 2;
}

.hero h2 {
    color: #00eaff;
    letter-spacing: 3px;
    font-size: 20px;
}

.hero h1 {
    font-size: 60px;
    margin: 15px 0 30px;
}
