/* ========================================
   GENERELT
======================================== */

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #080808;
    color: white;
}


/* ========================================
   HEADER
======================================== */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background-color: rgba(8, 8, 8, 0.95);

    padding: 20px 6%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid #222;
}

header h1 {
    margin: 0;

    font-size: 24px;
    font-weight: 800;

    letter-spacing: -1px;
}

header h1::first-letter {
    color: #e50914;
}


/* ========================================
   NAVIGATION
======================================== */

.nav-links {
    display: flex;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;

    margin-left: 30px;

    font-size: 15px;
    font-weight: bold;

    transition: 0.3s;
}

nav a:hover {
    color: #e50914;
}


/* ========================================
   HAMBURGER
======================================== */

.menu-button {
    display: none;
}


/* ========================================
   HERO
======================================== */

.hero {
    min-height: 90vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 100px 20px;

    background:
        radial-gradient(
            circle at center,
            rgba(229, 9, 20, 0.20),
            transparent 45%
        ),
        #080808;
}

.hero-content {
    max-width: 950px;

    animation: heroAppear 1s ease;
}


.hero-small {
    color: #e50914;

    font-size: 14px;
    font-weight: bold;

    letter-spacing: 4px;

    margin-bottom: 25px;
}


.hero h2 {
    font-size: clamp(45px, 7vw, 90px);

    line-height: 0.95;

    margin: 0;

    letter-spacing: -4px;
}


.hero h2 span {
    color: #e50914;
}


.hero-text {
    max-width: 650px;

    margin: 30px auto;

    color: #b5b5b5;

    font-size: 19px;

    line-height: 1.6;
}


/* ========================================
   HERO KNAP
======================================== */

.hero-button {
    display: inline-block;

    margin-top: 20px;

    padding: 17px 35px;

    background-color: #e50914;

    color: white;

    text-decoration: none;

    font-weight: bold;

    border-radius: 5px;

    transition: 0.3s;
}

.hero-button:hover {
    background-color: #ff1a25;

    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(229, 9, 20, 0.35);
}


/* ========================================
   SECTIONS
======================================== */

.about,
.services,
.contact {
    padding: 120px 6%;
}


.section-label {
    color: #e50914;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 4px;

    margin-bottom: 20px;
}


/* ========================================
   OM OS
======================================== */

.about {
    background-color: #101010;

    text-align: center;
}

.about h2 {
    max-width: 800px;

    margin: 0 auto 30px;

    font-size: clamp(35px, 5vw, 60px);

    line-height: 1.05;
}

.about p {
    max-width: 700px;

    margin: 15px auto;

    color: #aaa;

    font-size: 18px;

    line-height: 1.7;
}


/* ========================================
   SERVICES
======================================== */

.services {
    background-color: #080808;

    text-align: center;
}

.services h2 {
    font-size: 55px;

    margin-top: 0;
    margin-bottom: 60px;
}


.service-container {
    display: flex;

    justify-content: center;

    gap: 25px;

    max-width: 1200px;

    margin: 0 auto;
}


.service-card {
    position: relative;

    text-align: left;

    background-color: #111;

    border: 1px solid #252525;

    padding: 40px;

    width: 33%;

    min-height: 300px;

    border-radius: 8px;

    overflow: hidden;

    transition: 0.4s;
}


.service-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background-color: #e50914;

    transform: scaleX(0);

    transform-origin: left;

    transition: 0.4s;
}


.service-card:hover {
    transform: translateY(-10px);

    border-color: #e50914;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5);
}


.service-card:hover::before {
    transform: scaleX(1);
}


.service-number {
    color: #e50914;

    font-size: 14px;

    font-weight: bold;

    margin-bottom: 50px;
}


.service-card h3 {
    font-size: 28px;

    margin-bottom: 15px;
}


.service-card p {
    color: #999;

    line-height: 1.7;
}


.service-arrow {
    position: absolute;

    bottom: 30px;
    right: 30px;

    color: #e50914;

    font-size: 25px;

    transition: 0.3s;
}


.service-card:hover .service-arrow {
    transform: translateX(8px);
}


/* ========================================
   KONTAKT
======================================== */

.contact {
    text-align: center;

    background-color: #101010;
}


.contact h2 {
    max-width: 800px;

    margin: 0 auto 25px;

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1;
}


.contact h2 span {
    color: #e50914;
}


.contact > p {
    color: #999;

    font-size: 18px;
}


/* ========================================
   FORMULAR
======================================== */

#contactForm {
    max-width: 650px;

    margin: 50px auto 0;

    display: flex;

    flex-direction: column;

    gap: 15px;
}


#contactForm input,
#contactForm textarea {

    padding: 18px;

    font-size: 16px;

    color: white;

    background-color: #080808;

    border: 1px solid #333;

    border-radius: 5px;

    font-family: Arial, sans-serif;

    outline: none;

    transition: 0.3s;
}


#contactForm input:focus,
#contactForm textarea:focus {

    border-color: #e50914;

    box-shadow:
        0 0 0 2px rgba(229, 9, 20, 0.15);
}


#contactForm textarea {

    height: 160px;

    resize: vertical;
}


#contactForm button {

    align-self: center;

    padding: 17px 35px;

    background-color: #e50914;

    color: white;

    border: none;

    font-size: 17px;

    font-weight: bold;

    border-radius: 5px;

    cursor: pointer;

    transition: 0.3s;
}


#contactForm button:hover {

    background-color: #ff1a25;

    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(229, 9, 20, 0.3);
}


#response {

    margin-top: 25px;

    color: #e50914;

    font-weight: bold;
}


/* ========================================
   FOOTER
======================================== */

footer {

    text-align: center;

    padding: 35px;

    background-color: #050505;

    color: #666;

    border-top: 1px solid #222;
}


/* ========================================
   SCROLL-ANIMATION
======================================== */

.reveal {

    opacity: 0;

    transform: translateY(60px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal.show {

    opacity: 1;

    transform: translateY(0);
}


/* ========================================
   HERO ANIMATION
======================================== */

@keyframes heroAppear {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ========================================
   MOBIL
======================================== */

@media (max-width: 768px) {

    header {
        padding: 18px 5%;
    }


    header h1 {
        font-size: 20px;
    }


    /* HAMBURGER */

    .menu-button {

        display: block;

        background-color: transparent;

        color: white;

        font-size: 30px;

        padding: 5px 10px;

        border: none;

        cursor: pointer;
    }


    .menu-button:hover {

        background-color: transparent;

        box-shadow: none;

        transform: none;
    }


    /* MENU */

    .nav-links {

        display: none;

        position: absolute;

        top: 70px;

        right: 0;

        background-color: #111;

        width: 220px;

        padding: 25px;

        border-left: 1px solid #333;

        border-bottom: 1px solid #333;
    }


    .nav-links.active {

        display: flex;

        flex-direction: column;

        gap: 20px;
    }


    nav a {

        margin: 0;

        font-size: 16px;
    }


    /* HERO */

    .hero {

        min-height: 80vh;

        padding: 80px 20px;
    }


    .hero h2 {

        letter-spacing: -2px;
    }


    .hero-text {

        font-size: 17px;
    }


    /* SECTIONS */

    .about,
    .services,
    .contact {

        padding: 90px 20px;
    }


    /* SERVICES */

    .services h2 {

        font-size: 42px;

        margin-bottom: 40px;
    }


    .service-container {

        flex-direction: column;

        align-items: center;
    }


    .service-card {

        width: 100%;

        max-width: 450px;
    }


    /* KONTAKT */

    .contact h2 {

        font-size: 42px;
    }

}