* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #151414;
    color: white;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;

    background:
            radial-gradient(circle at 25% 30%, rgba(255, 56, 118, 0.07), transparent 55%),
            radial-gradient(circle at 75% 70%, rgba(0, 200, 255, 0.04), transparent 60%),
            radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02), transparent 70%);

    animation: floatLights 25s ease-in-out infinite alternate;
}

@keyframes floatLights {
    from {
        transform: translate(0, 0) scale(1);
    }
    to {
        transform: translate(6px, -6px) scale(1.03);
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.6) 40%,
            rgba(0, 0, 0, 0.4) 70%,
            rgba(0, 0, 0, 0.2) 90%,
            rgba(0, 0, 0, 0.1) 100%
    );
    backdrop-filter: blur(8px);
}

.mobile-title {
    display: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 60px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.6rem;
}

nav a:hover {
    color: #ff3c78;
}

.small-text {
    display: block;
    font-size: 0.4em;
}

.hero {
    width: 100%;
    height: 100vh;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    transition: opacity 600ms ease-in-out;
}

.hero-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.hero-text {
    position: absolute;
    right: 0%;
    top: 70%;
    transform: translateY(-50%);
    z-index: 2;

    font-size: 2.0rem;
    line-height: 2rem;
    font-weight: 500;
    color: white;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: 100%;
    max-width: 500px;
}

.hero-text p {
    height: 2.5rem;
    margin: 2px 0;

    opacity: 0;
    transition: opacity 0.8s ease;

    white-space: nowrap;
}

#line4 {
    font-size: 3rem;
    line-height: 3.4rem;
    font-weight: 700;
}

.section {
    padding: 80px 10%;
}

.split {
    display: flex;
    align-items: center;
    gap: 40px;
}

.split image {
    max-height: 400px;
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.split .image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 10px;

    transition: transform 0.5s ease;
    transform-origin: center;
}

.split .image img:hover {
    transform: scale(1.08);
}

.split .text {
    flex: 1;
    font-size: 16px;
    line-height: 1.7;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service {
    display: flex;
    align-items: center;
    gap: 40px;
}

.service.reverse {
    flex-direction: row-reverse;
}

.service.reverse img {
    max-height: 400px;
    max-width: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.service img {
    max-height: 400px;
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.service .img img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;

    transition: transform 0.5s ease;
    transform-origin: center;
}

.service .img img:hover {
    transform: scale(1.06);
}

.service .txt {
    flex: 1;
    line-height: 1.6;
}

.service .txt h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 700;
}

.contact {
    position: relative;
    height: 100vh;
    background: url("src/images/TOM_2559.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.contact form {
    position: relative;
    background: rgba(0,0,0,0.6);
    padding: 40px;
    border-radius: 10px;
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact input {
    padding: 10px;
    border: none;
    outline: none;
}

.contact button {
    margin-top: 10px;
    padding: 10px;
    background: #ff3c78;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.contact button:hover:not(:disabled) {
    background: #ff1f60;
}

.contact button.not_filled {
    background: #ff1f60;
}

.contact button.sending {
    background: #ffb020;
}

.contact button.success {
    background: #00c46a;
}

html {
    scroll-behavior: smooth;
}

.footer {
    background: #0f0f0f;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-bottom {
    font-size: 0.9rem;
    opacity: 0.5;
}

.footer-logo {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 60, 120, 0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 900px) {

    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-title {
        display: block;
        font-size: 1.6rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 20px;
        flex-direction: column;
        gap: 20px;
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
        border-radius: 10px;
        min-width: 180px;
    }

    .nav-menu.active {
        display: flex;
    }

    .desktop-name {
        display: none;
    }

    .small-text {
        display: inline;
        font-size: 1.0em;
    }

    .hero-text {
        top: 70%;
        transform: none;

        max-width: 90%;
        font-size: 1.2rem;
        line-height: 1.8rem;
    }

    .hero-text p {
        height: auto;
        white-space: normal;
    }

    .split {
        flex-direction: column;
        text-align: center;
    }

    .split .image img {
        max-width: 100%;
    }

    .service {
        flex-direction: column;
        text-align: center;
    }

    .service.reverse {
        flex-direction: column;
    }

    .service img {
        max-width: 100%;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .contact form {
        width: 90%;
        padding: 25px;
    }

    #line4 {
        font-size: 2rem;
        line-height: 2.4rem;
        font-weight: 500;
    }

    .service .txt h3 {
        font-size: 1.5rem;
    }
}