/* ========================================
   HITAP STUDIO
   MODERN / FUTURISTIC DESIGN
======================================== */

:root {
    --bg: #07090f;
    --bg-soft: #0d111c;
    --card: rgba(255, 255, 255, 0.055);
    --card-hover: rgba(255, 255, 255, 0.08);

    --text: #f5f7ff;
    --text-soft: #9da6b9;

    --blue: #5c7cff;
    --violet: #8b5cf6;
    --cyan: #58d9ff;

    --border: rgba(255, 255, 255, 0.10);

    --max-width: 1400px;
}


/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(92, 124, 255, 0.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 30%,
            rgba(139, 92, 246, 0.09),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);
    line-height: 1.65;

    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.menu-toggle {
  display: none;
}

/* ========================================
   GENERAL
======================================== */

section {
    position: relative;
    padding: 120px 8%;
}

section > h2,
section > p {
    max-width: 780px;
}

.section-label {
    display: inline-block;

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 3px;

    color: var(--cyan);

    margin-bottom: 18px;
}

h1,
h2,
h3 {
    line-height: 1.08;
}

h2 {
    font-size: clamp(2.3rem, 4vw, 4rem);
    letter-spacing: -2px;
    margin-bottom: 25px;
}

h3 {
    font-size: 1.3rem;
}

p {
    color: var(--text-soft);
}


/* ========================================
   BUTTONS
======================================== */

.button,
.hero > a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 25px;

    margin-top: 28px;

    border-radius: 10px;

    color: white;

    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--violet)
        );

    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow:
        0 10px 35px rgba(92, 124, 255, 0.22);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.button:hover,
.hero > a:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 45px rgba(92, 124, 255, 0.38);
}


/* ========================================
   NAVIGATION
======================================== */

header {
    position: sticky;
    top: 0;

    z-index: 1000;

    background: rgba(7, 9, 15, 0.72);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

nav {
    max-width: var(--max-width);
    min-height: 76px;

    margin: auto;

    padding: 0 8%;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 30px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav > a {
    color: #dfe4ef;

    font-size: 0.92rem;
    font-weight: 600;

    transition: color 0.2s ease;
}

nav > a:hover {
    color: var(--cyan);
}

.language-switcher {
    display: flex;
    gap: 8px;
    margin-left: 12px;
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.8rem;
  align-items: center;
  
}



/* ========================================
   HERO
======================================== */

.hero {
    max-width: var(--max-width);

    min-height: 88vh;

    margin: auto;

    display: flex;
    flex-direction: column;
    justify-content: center;

    isolation: isolate;
}


/* futuristic light behind hero */

.hero::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -120px;
    top: 50%;

    transform: translateY(-50%);

    background:
        radial-gradient(
            circle,
            rgba(92, 124, 255, 0.24),
            rgba(139, 92, 246, 0.08) 40%,
            transparent 70%
        );

    filter: blur(15px);

    z-index: -1;
}

.hero::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: 8%;
    top: 30%;

    border-radius: 50%;

    border: 1px solid rgba(88, 217, 255, 0.15);

    box-shadow:
        0 0 80px rgba(92, 124, 255, 0.10);

    z-index: -1;
}

.hero h1 {
    max-width: 1050px;

    font-size: clamp(3.8rem, 7.5vw, 7.5rem);

    letter-spacing: -6px;

    background:
        linear-gradient(
            110deg,
            #ffffff 10%,
            #dbe4ff 50%,
            #829eff 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    margin-bottom: 32px;
}

.hero p {
    max-width: 680px;

    font-size: 1.25rem;

    color: #aab3c5;
}

.hero > a {
    align-self: flex-start;
}


/* ========================================
   SERVICES
======================================== */

.services {
    max-width: var(--max-width);
    margin: auto;
}

.services > p:not(.section-label) {
    font-size: 1.1rem;
}

.service-card {
    position: relative;

    max-width: 1150px;

    margin-top: 55px;

    padding: 55px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid var(--border);

    backdrop-filter: blur(15px);

    overflow: hidden;
}

.service-card::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -120px;
    top: -120px;

    background: var(--blue);

    opacity: 0.15;

    filter: blur(80px);

    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.8rem;
}

.price {
    color: white;

    font-size: 3rem;
    font-weight: 800;

    margin: 15px 0 25px;
}

.service-card > p:not(.price) {
    max-width: 650px;
}

.service-card ul {
    list-style: none;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 17px 35px;

    margin: 38px 0;
}

.service-card li {
    color: #d7dcea;
}

.service-card li::before {
    content: "✦";

    color: var(--cyan);

    margin-right: 11px;
}

.small-text {
    max-width: 700px;

    font-size: 0.82rem;

    color: #7f899d;
}


/* ========================================
   PROCESS
======================================== */

.process {
    max-width: var(--max-width);
    margin: auto;
}

.process-steps {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-top: 65px;
}

.process-step {
    position: relative;

    min-height: 280px;

    padding: 30px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 16px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.process-icon {
    display: block;
    height: 150px;
    width: auto;
    margin-bottom: 40px;
}

.process-step:hover {
    transform: translateY(-7px);

    background: var(--card-hover);

    border-color: rgba(92, 124, 255, 0.4);
}

.step-number {
    display: block;

    margin-bottom: 55px;

    color: var(--cyan);

    font-size: 0.85rem;

    font-weight: 800;

    letter-spacing: 2px;
}

.process-step h3 {
    margin-bottom: 15px;
}

.process-step p {
    font-size: 0.92rem;
}


/* ========================================
   PORTFOLIO
======================================== */

.portfolio {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.015),
            rgba(92,124,255,0.035),
            rgba(255,255,255,0.015)
        );
}

.portfolio > h2,
.portfolio > p,
.portfolio-grid,
.portfolio-note {
    max-width: var(--max-width);

    margin-left: auto;
    margin-right: auto;
}

.portfolio-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 60px;
}

.portfolio-card {
    overflow: hidden;

    border-radius: 18px;

    background: var(--card);

    border: 1px solid var(--border);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);

    border-color: rgba(88, 217, 255, 0.35);
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16 / 10;

    background:
        linear-gradient(
            135deg,
            #111827,
            #172554
        );

    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: left top;
}

.portfolio-content {
    padding: 30px;
}

.project-type {
    color: var(--cyan);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.portfolio-content h3 {
    margin-bottom: 14px;
}

.project-link {
    display: inline-block;

    margin-top: 24px;

    color: white;

    font-weight: 700;
}

.project-link::after {
    content: " →";

    color: var(--cyan);
}

.portfolio-note {
    margin-top: 35px;

    font-size: 0.8rem;
}


/* ========================================
   WEBBCARE
======================================== */

.webbcare {
    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(92, 124, 255, 0.25),
            transparent 35%
        ),
        #0a0d16;
}

.webbcare > h2,
.webbcare > p,
.webbcare-card {
    max-width: 1100px;

    margin-left: auto;
    margin-right: auto;
}

.webbcare-card {
    position: relative;

    margin-top: 50px;

    padding: 55px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.09),
            rgba(255,255,255,0.03)
        );

    border: 1px solid rgba(255,255,255,0.13);

    backdrop-filter: blur(18px);
}

.webbcare-card ul {
    list-style: none;

    margin: 30px 0;
}

.webbcare-card li {
    padding: 9px 0;

    color: #d8deea;
}

.webbcare-card li::before {
    content: "✓";

    margin-right: 10px;

    color: var(--cyan);
}


/* ========================================
   ABOUT
======================================== */

.about {
    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(139, 92, 246, 0.08),
            transparent 35%
        );
}

.about-content {
    max-width: 900px;

    margin: auto;
}

.about-content > p:not(.section-label) {
    font-size: 1.08rem;

    margin-bottom: 20px;
}


/* ========================================
   CONTACT
======================================== */

.contact {
    max-width: 1100px;

    margin: auto;
}

.contact > p:not(.section-label) {
    font-size: 1.1rem;

    margin-bottom: 50px;
}

.contact-form {
    max-width: 850px;

    display: grid;

    gap: 22px;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.form-group label {
    color: #dbe1ee;

    font-size: 0.88rem;

    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 16px;

    color: white;

    background: rgba(255,255,255,0.045);

    border: 1px solid var(--border);

    border-radius: 10px;

    font: inherit;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group select option {
    background: #10131d;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(92, 124, 255, 0.12);
}

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    border: none;

    cursor: pointer;

    font-size: 1rem;

    justify-self: start;
}


/* ========================================
   FOOTER
======================================== */

.footer {
    padding: 75px 8% 30px;

    background: #05070b;

    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: var(--max-width);

    margin: auto;

    display: grid;

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

    gap: 60px;

    padding-bottom: 60px;
}

.footer-brand h2 {
    font-size: 2.1rem;

    margin-bottom: 15px;

    background:
        linear-gradient(
            90deg,
            white,
            #839eff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.footer-brand p {
    max-width: 350px;
}

.footer-links,
.footer-contact {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: var(--text-soft);

    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--cyan);
}

.footer-bottom {
    max-width: var(--max-width);

    margin: auto;

    padding-top: 25px;

    border-top: 1px solid var(--border);

    font-size: 0.82rem;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    section {
        padding: 90px 6%;
    }

    nav {
        padding: 0 6%;
        gap: 18px;
    }

    .hero h1 {
        letter-spacing: -4px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    display: block;
    padding-left: 80px;
}

.portfolio-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
}

.portfolio-badge.live {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--cyan);
}

.portfolio-badge.live::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
}

.portfolio-badge.concept {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}




/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

    .section {
        padding: 70px 22px;
    } 

    nav {
        min-height: 65px;

        padding: 0 20px;

        gap: 16px;

        overflow-x: auto;

        justify-content: flex-start;
    }

    nav > a {
        white-space: nowrap;

        font-size: 0.82rem;
    }

    .language-switcher {
        white-space: nowrap;
    }

    .hero {
        min-height: 80vh;
    }

    .hero::before {
        width: 350px;
        height: 350px;

        right: -180px;
    }

    .hero::after {
        display: none;
    }

    .hero h1 {
        font-size: 3.2rem;

        letter-spacing: -3px;
    }

    .hero p {
        font-size: 1.05rem;
    }

    h2 {
        font-size: 2.3rem;

        letter-spacing: -1.5px;
    }

    .service-card,
    .webbcare-card {
        padding: 32px 24px;
    }

    .service-card ul {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-step {
        min-height: auto;
    }

    .step-number {
        margin-bottom: 30px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 60px 22px 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .footer-brand {
        grid-column: auto;
    }


    /* ========================================
   RESPONSIVE NAVIGATION
======================================== */

nav {
    justify-content: space-between;
}


/* Logo */

.logo {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 2px;

    color: #ffffff;

    white-space: nowrap;
}

.logo span {
    color: var(--cyan);
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}


/* Desktop menu */

.nav-menu {
    display: flex;
    align-items: center;

    gap: 28px;
}

.nav-menu > a {
    color: #dfe4ef;

    font-size: 0.9rem;
    font-weight: 600;

    transition: color 0.2s ease;
}

.nav-menu > a:hover {
    color: var(--cyan);
}


/* Hamburger hidden on desktop */

.menu-toggle {
    display: none;

    background: none;
    border: none;

    cursor: pointer;

    padding: 8px;
}


/* Hamburger lines */

.menu-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px 0;

    background-color: #ffffff;

    border-radius: 5px;

    transition: 0.3s ease;
}


/* ========================================
   MOBILE NAVIGATION
======================================== */

@media (max-width: 800px) {

    nav {
        position: relative;

        min-height: 70px;

        padding: 0 22px;

        overflow: visible;
    }


    /* Show hamburger */

    .menu-toggle {
        display: block;

        position: relative;

        z-index: 1100;
    }


    /* Mobile menu */

    .nav-menu {
        position: absolute;

        top: 70px;
        left: 0;

        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 0;

        padding: 15px 22px 25px;

        background: rgba(7, 9, 15, 0.97);

        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);

        border-bottom:
            1px solid rgba(255,255,255,0.08);


        /* Hidden by default */

        opacity: 0;
        visibility: hidden;

        transform: translateY(-12px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s;
    }


    /* Menu when opened */

    .nav-menu.active {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }


    /* Links */

    .nav-menu > a {
        width: 100%;

        padding: 14px 0;

        font-size: 1rem;

        border-bottom:
            1px solid rgba(255,255,255,0.06);
    }


    /* Language selector */

    .language-switcher {
        margin: 18px 0 0;

        padding: 0;

        border: none;
    }


    /* Turn hamburger into X */

    .menu-toggle.active span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }

