﻿html,
body,
form {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #000000;
    font-family: "Montserrat", Arial, sans-serif;
}

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: #000000;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*background: rgba(0, 0, 0, 0.38);*/
}

.topbar {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 24px 42px;
    box-sizing: border-box;
}

.logo {
    color: #ffffff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 1;
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-menu a {
    position: relative;
    padding: 8px 0;
    color: #ffffff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.main-menu a::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 1px;
    content: "";
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease-in-out;
}

.main-menu a:hover::after,
.main-menu a:focus::after {
    transform: scaleX(1);
}

.hero-content {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    width: 92%;
    max-width: 1100px;
    color: #ffffff;
    text-align: center;
    transform: translate(-50%, -50%);
}

    .hero-content h1 {
        margin: 0 0 18px 0;
        font-family: "Montserrat", Arial, sans-serif;
        font-size: clamp(54px, 8vw, 54px);
        font-weight: 300;
        letter-spacing: 1px;
        line-height: 0.95;
        text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72);
    }

.hero-content p {
    margin: 0 0 38px 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.hero-button {
    display: inline-block;
    padding: 14px 30px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.94);
    color: #111111;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 180ms ease-in-out,
                color 180ms ease-in-out;
}

.hero-button:hover,
.hero-button:focus {
    background: transparent;
    color: #ffffff;
}

@media screen and (max-width: 760px) {
    .topbar {
        flex-direction: column;
        gap: 18px;
        padding: 20px 16px;
    }

    .logo {
        font-size: 30px;
    }

    .main-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 18px;
    }

    .main-menu a {
        font-size: 11px;
        letter-spacing: 1.4px;
    }

    .hero-content {
        top: 55%;
    }

    .hero-content h1 {
        font-size: 52px;
        line-height: 1;
    }

    .hero-content p {
        margin-bottom: 30px;
        font-size: 13px;
        letter-spacing: 2px;
    }
}
