* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #222;
}

/* NAVBAR */

header {
    background: #111;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1100px;
    margin: auto;
    padding: 15px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    font-size: 24px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

nav ul li a:hover {
    color: #00bcd4;
}

/* HERO */

.hero {
    min-height: 90vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(0,0,0,.6),
            rgba(0,0,0,.6)
        ),
        url("https://iili.io/nI8TPYG.jpg")
        center/cover;

    color: white;
}

.hero h2 {
    font-size: 50px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;

    padding: 12px 25px;

    background: #00bcd4;
    color: white;

    text-decoration: none;

    border-radius: 5px;
}

/* SECTION */

section {
    padding: 80px 20px;

    max-width: 1100px;
    margin: auto;
}

section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
}

/* CARD */

.cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.card {
    padding: 30px;

    background: #f5f5f5;

    border-radius: 10px;

    text-align: center;

    transition: .3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* GALERI */

.gallery {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.gallery img {
    width: 100%;
    border-radius: 10px;
}

/* FORM */

form {
    max-width: 500px;
    margin: auto;

    display: flex;
    flex-direction: column;

    gap: 15px;
}

input {
    padding: 15px;

    border: 1px solid #ccc;

    border-radius: 5px;

    font-size: 16px;
}

button {
    padding: 15px;

    background: #00bcd4;

    color: white;

    border: none;

    border-radius: 5px;

    cursor: pointer;

    font-size: 16px;
}

button:hover {
    background: #0097a7;
}

/* FOOTER */

footer {
    background: #111;
    color: white;

    text-align: center;

    padding: 25px;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    nav {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 35px;
    }

    .cards,
    .gallery {
        grid-template-columns: 1fr;
    }

}
