/* IMPORT FONTÓW */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Orbitron:wght@600;700;800&display=swap');

/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    /* ?? GLOBAL FONT */
    font-family: 'Rajdhani', sans-serif !important;
}

html,
body {
    overflow-x: hidden;

    /* ?? FIX GLOBAL BODY FONT */
    font-family: 'Rajdhani', sans-serif !important;
}

body {
    background: #050505;
    color: white;
    min-height: 100vh;
    position: relative;
}

/* ?? FIX FORM ELEMENTS (często ignorują font) */
input,
textarea,
button,
select,
option {
    font-family: 'Rajdhani', sans-serif !important;
}

/* BACKGROUND */

.bg-grid {
    position: fixed;
    inset: 0;

    background:
        linear-gradient(rgba(0, 255, 100, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 100, 0.06) 1px, transparent 1px);

    background-size: 60px 60px;

    opacity: 0.15;

    z-index: -3;
}

.overlay {
    position: fixed;
    inset: 0;

    background:
        radial-gradient(circle at center,
            rgba(0, 255, 100, 0.08),
            transparent 60%);

    z-index: -2;
}

/* NAVBAR */

.navbar {
    width: 100%;
    padding: 30px 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(0, 255, 100, 0.15);

    position: relative;
}

/* LOGO */

.logo-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;

    filter: drop-shadow(0 0 10px rgba(0, 255, 100, 0.7));
}

/* ?? LOGO FONT FIX */
.logo {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 32px;
    font-weight: 800;
    color: #00ff66;
}

.logo span {
    font-family: 'Orbitron', sans-serif !important;
    color: white;
}

/* NAV */

nav {
    display: flex;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #b5b5b5;
    font-size: 14px;
    letter-spacing: 2px;
    transition: 0.3s;
    position: relative;
}

nav a:hover,
nav a.active {
    color: #00ff66;
}

nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 2px;
    background: #00ff66;
    box-shadow: 0 0 10px #00ff66;
}

/* LOGIN */

.login-btn {
    background: transparent;
    border: 1px solid #00ff66;
    color: #00ff66;
    padding: 10px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: none;
}

.login-btn:hover {
    background: #00ff66;
    color: black;
    box-shadow: 0 0 20px #00ff66;
}

/* CONTACT */

.contact-section {
    width: 100%;
    min-height: calc(100vh - 100px);

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 70px;

    padding: 80px 70px;

    align-items: center;
}

/* LEFT */

.small-title {
    color: #00ff66;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-size: 14px;
}

.contact-left h1 {
    font-size: 78px;
    line-height: 0.95;
    margin-bottom: 35px;
}

.contact-left h1 span {
    color: #00ff66;
}

.contact-text {
    color: #9b9b9b;
    font-size: 20px;
    line-height: 1.8;
    max-width: 650px;
}

.contact-info {
    display: flex;
    gap: 25px;
    margin-top: 45px;
    flex-wrap: wrap;
}

.info-box {
    flex: 1;
    min-width: 220px;

    border: 1px solid rgba(0, 255, 100, 0.15);
    background: rgba(255, 255, 255, 0.02);

    padding: 30px;

    transition: 0.3s;
}

.info-box:hover {
    border-color: #00ff66;
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 255, 100, 0.15);
}

.info-box h3 {
    color: #00ff66;
    margin-bottom: 12px;
    font-size: 22px;
}

.info-box span {
    color: #a3a3a3;
}

/* RIGHT */

.contact-right {
    border: 1px solid rgba(0, 255, 100, 0.15);
    background: rgba(255, 255, 255, 0.02);
    padding: 45px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input,
textarea {
    width: 100%;
    background: #0c0c0c;

    border: 1px solid rgba(0, 255, 100, 0.15);
    padding: 18px;

    color: white;
    outline: none;

    font-size: 16px;

    transition: 0.3s;
}

input:focus,
textarea:focus {
    border-color: #00ff66;
    box-shadow: 0 0 15px rgba(0, 255, 100, 0.15);
}

textarea {
    min-height: 200px;
    resize: none;
}

button {
    background: #00ff66;
    color: black;

    border: none;
    padding: 18px;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.3s;

    box-shadow: 0 0 20px rgba(0, 255, 100, 0.25);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(0, 255, 100, 0.7);
}

/* HAMBURGER */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2000;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #00ff66;
    border-radius: 10px;
    transition: 0.3s;
}

/* MOBILE MENU */

@media(max-width:900px) {

    .hamburger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);

        width: 240px;

        background: rgba(5, 5, 5, 0.98);

        border: 1px solid rgba(0, 255, 100, 0.2);
        backdrop-filter: blur(10px);

        display: flex;
        flex-direction: column;

        padding: 25px;
        gap: 20px;

        opacity: 0;
        pointer-events: none;

        transition: 0.3s;
        z-index: 1500;
    }

    nav.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}

/* DESKTOP RESET */

@media(min-width:901px) {

    nav {
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        position: static;
    }
}

/* RESPONSIVE */

@media(max-width:1100px) {

    .contact-section {
        grid-template-columns: 1fr;
    }

    .contact-left h1 {
        font-size: 54px;
    }
}

@media(max-width:700px) {

    .navbar,
    .contact-section {
        padding-left: 25px;
        padding-right: 25px;
    }

    .contact-left h1 {
        font-size: 42px;
    }

    .contact-text {
        font-size: 18px;
    }
}

.no-underline {
    text-decoration: none;
    color: inherit;
}