/* ==================================================
   3AXIS STUDIO
   Product Development Partner
   Part 1
   Reset + Variables + Typography + Buttons
   Navbar + Hero
================================================== */


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

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0E1116;
    color: #F5F7FA;
    font-family: "Outfit", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button,
input,
textarea {
    font-family: inherit;
}

section {
    position: relative;
}


/* ==================================================
   VARIABLES
================================================== */

:root {

    --bg-primary: #0E1116;
    --bg-secondary: #171B22;
    --bg-card: #1D232D;

    --text-primary: #F5F7FA;
    --text-secondary: #AAB4C3;

    --accent: #B8FF4D;
    --accent-hover: #D2FF86;

    --border-color: rgba(255,255,255,0.08);

    --container-width: 1400px;

    --shadow-soft:
        0 20px 50px rgba(0,0,0,0.25);

    --shadow-strong:
        0 25px 80px rgba(0,0,0,0.45);

    --transition:
        all 0.3s ease;

    --radius-small: 12px;
    --radius-medium: 18px;
    --radius-large: 28px;
}


/* ==================================================
   CONTAINER
================================================== */

.container {
    width: min(92%, var(--container-width));
    margin: 0 auto;
}


/* ==================================================
   TYPOGRAPHY
================================================== */

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3rem, 6vw, 6rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: 1.35rem;
}

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

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header span {
    display: inline-block;

    color: var(--accent);

    text-transform: uppercase;
    letter-spacing: 2px;

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

    margin-bottom: 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}


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

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 220px;

    padding: 16px 28px;

    border-radius: 999px;

    font-weight: 600;

    transition: var(--transition);

    cursor: pointer;
}

.btn-primary {

    background: var(--accent);
    color: #111;

    box-shadow:
        0 0 20px rgba(184,255,77,0.2);

}

.btn-primary:hover {

    background: var(--accent-hover);

    transform: translateY(-2px);

    box-shadow:
        0 0 30px rgba(184,255,77,0.35);

}

.btn-secondary {

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

    color: var(--text-primary);

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

}

.btn-secondary:hover {

    border-color: var(--accent);

    color: var(--accent);

    transform: translateY(-2px);

}


/* ==================================================
   HEADER
================================================== */

.header {

    position: fixed;

    top: 0;
    left: 0;
    width: 100%;

    z-index: 999;

    backdrop-filter: blur(16px);

    background:
        rgba(14,17,22,0.35);

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

}

.header .container {

    display: flex;

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

    min-height: 90px;

}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {

    height: 90px;
    width: auto;

}

.nav-list {

    display: flex;
    gap: 40px;

}

.nav-list a {

    color: var(--text-primary);

    font-size: 0.95rem;
    font-weight: 500;

    transition: var(--transition);

}

.nav-list a:hover {

    color: var(--accent);

}

.header-right {

    display: flex;
    align-items: center;
    gap: 18px;

}

.lang-switch {

    background: transparent;

    color: var(--text-primary);

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

    border-radius: 999px;

    padding: 10px 18px;

    cursor: pointer;

    transition: var(--transition);

}

.lang-switch:hover {

    border-color: var(--accent);

    color: var(--accent);

}

.mobile-menu-btn {

    display: none;

    background: transparent;
    border: none;

    color: white;

    font-size: 1.6rem;

    cursor: pointer;

}


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

.hero {

    min-height: 80vh;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    background-image:
        url("assets/portfolio/d60.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(10,12,15,0.70),
            rgba(10,12,15,0.78)
        );

}

.hero-content {

    position: relative;

    z-index: 10;

    max-width: 1000px;

    padding-inline: 20px;

}

.hero-brand {
    margin-top: 20px;
    margin-bottom: 0;
}

.hero-logo {
    width: 420px;
    max-width: 65vw;
    margin: 20px auto 0px;
    display: block;
}

.hero-subtitle {
    margin-bottom: 10px;
}

.hero h1 {

    margin-bottom: 28px;

}

.hero-description {

    max-width: 800px;

    margin-inline: auto;
    margin-bottom: 50px;

    font-size: 1.15rem;

}

.hero-buttons {

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 20px;

    flex-wrap: wrap;

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

.portfolio {

    padding: 80px 0;

    background:
        linear-gradient(
            180deg,
            #0E1116 0%,
            #131922 100%
        );

}

.portfolio-grid {

    display: grid;

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

    gap: 30px;

}

.portfolio-card {

    position: relative;

    overflow: hidden;

    border-radius: var(--radius-large);

    background: var(--bg-card);

    min-height: 420px;

    cursor: pointer;

    box-shadow: var(--shadow-soft);

}

.portfolio-card img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.6s ease;

}

.portfolio-card:hover img {

    transform: scale(1.06);

}

.portfolio-content {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;
    justify-content: flex-end;

    padding: 40px;

    background:
        linear-gradient(
            transparent 20%,
            rgba(0,0,0,0.85) 100%
        );

}

.portfolio-content h3 {

    margin-bottom: 12px;

    color: white;

    font-size: 1.6rem;

}

.portfolio-content p {

    color: rgba(255,255,255,0.85);

    max-width: 500px;

}


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

.about {

    padding: 80px 0;

}

.about-content {

    display: grid;

    grid-template-columns:
        1.1fr 1fr;

    gap: 80px;

    align-items: center;

}

.about-text span {

    color: var(--accent);

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 0.85rem;

    font-weight: 600;

}

.about-text h2 {

    margin-top: 20px;
    margin-bottom: 30px;

}

.about-text p {

    margin-bottom: 24px;

    font-size: 1.05rem;

}

.about-image {

    border-radius: var(--radius-large);

    overflow: hidden;

    box-shadow: var(--shadow-strong);

}

.about-image img {

    transition: 0.5s ease;

}

.about-image:hover img {

    transform: scale(1.03);

}


/* ==================================================
   WHY US
================================================== */

.why-us {

    padding: 80px 0;

    background:
        linear-gradient(
            180deg,
            #151B23 0%,
            #0E1116 100%
        );

}

.features-grid {

    display: grid;

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

    gap: 30px;

}

.feature-card {

    background: var(--bg-card);

    padding: 50px;

    border-radius: var(--radius-medium);

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

    transition: var(--transition);

}

.feature-card:hover {

    transform: translateY(-8px);

    border-color: rgba(184,255,77,0.25);

    box-shadow:
        0 20px 40px rgba(0,0,0,0.35);

}

.feature-card h3 {

    margin-bottom: 20px;

    color: white;

}

.feature-card p {

    color: var(--text-secondary);

}


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

.services {

    padding: 80px 0;

}

.services-grid {

    display: grid;

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

    gap: 30px;

}

.service-card {

    overflow: hidden;

    background: var(--bg-card);

    border-radius: var(--radius-large);

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

    transition: var(--transition);

}

.service-card:hover {

    transform: translateY(-8px);

    border-color:
        rgba(184,255,77,0.25);

}

.service-card img {

    height: 240px;

    object-fit: cover;

    transition: 0.6s ease;

}

.service-card:hover img {

    transform: scale(1.05);

}

.service-card h3 {

    padding: 30px 30px 10px;

    color: white;

}

.service-card p {

    padding:
        0 30px 30px;

}


/* ==================================================
   SECTION SPACING HELPERS
================================================== */

.portfolio,
.about,
.why-us,
.services {

    position: relative;

}

.portfolio::before,
.about::before,
.services::before {

    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    width: 160px;
    height: 1px;

    background:
        rgba(184,255,77,0.15);

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

.process {

    padding: 80px 0;

    background:
        linear-gradient(
            180deg,
            #0E1116 0%,
            #151B23 100%
        );

}

.timeline {

    display: grid;

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

    gap: 24px;

    margin-top: 80px;

}

.step {

    position: relative;

    background: var(--bg-card);

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

    border-radius: var(--radius-medium);

    padding: 40px 25px;

    text-align: center;

    color: white;

    font-weight: 600;

    transition: var(--transition);

}

.step:hover {

    transform: translateY(-6px);

    border-color:
        rgba(184,255,77,0.25);

}

.step::before {

    content: "";

    position: absolute;

    top: 50%;
    right: -24px;

    width: 24px;
    height: 2px;

    background:
        rgba(184,255,77,0.35);

}

.step:last-child::before {

    display: none;

}


/* ==================================================
   CTA
================================================== */

.cta {

    padding: 80px 0;

    text-align: center;

    background:
        linear-gradient(
            rgba(14,17,22,0.85),
            rgba(14,17,22,0.85)
        ),
        url("assets/portfolio/d60.jpg");

    background-size: cover;
    background-position: center;

}

.cta h2 {

    max-width: 900px;

    margin: 0 auto 25px;

}

.cta p {

    max-width: 700px;

    margin: 0 auto 40px;

    font-size: 1.1rem;

}


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

.contact {

    padding: 80px 0;

}

.contact-grid {

    display: grid;

    grid-template-columns:
        1fr 1.2fr;

    gap: 60px;

}

.contact-info {

    background: var(--bg-card);

    border-radius: var(--radius-large);

    padding: 50px;

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

}

.contact-info h2 {

    margin-bottom: 30px;

}

.contact-info p {

    margin-bottom: 20px;

    color: var(--text-secondary);

}

.contact-form {

    display: grid;

    gap: 18px;

}

.contact-form input,
.contact-form textarea {

    width: 100%;

    background: var(--bg-card);

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

    border-radius: 14px;

    padding: 18px 20px;

    color: white;

    transition: var(--transition);

}

.contact-form textarea {

    resize: vertical;

    min-height: 180px;

}

.contact-form input:focus,
.contact-form textarea:focus {

    outline: none;

    border-color: var(--accent);

    box-shadow:
        0 0 0 4px rgba(184,255,77,0.08);

}

.contact-form button {

    border: none;

}


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

.footer {

    padding: 80px 0;

    text-align: center;

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

}

.footer img {

    max-width: 220px;

    margin: 0 auto 20px;

}

.footer p {

    margin-bottom: 10px;

}


/* ==================================================
   ANIMATIONS
================================================== */

.fade-up {

    opacity: 0;

    transform:
        translateY(40px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;

}

.fade-up.visible {

    opacity: 1;

    transform:
        translateY(0);

}


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

@media (max-width: 1200px) {

    .services-grid {

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

    }

    .features-grid {

        grid-template-columns:
            1fr;

    }

}

@media (max-width: 992px) {

    .about-content {

        grid-template-columns:
            1fr;

    }

    .contact-grid {

        grid-template-columns:
            1fr;

    }

    .timeline {

        grid-template-columns:
            1fr;

    }

    .step::before {

        display: none;

    }

}

@media (max-width: 768px) {

    .nav {

        display: none;

    }

    .header-right {

        display: flex;

        position: absolute;

        right: 70px;

    }

    .header-right .btn {

        display: none;

    }

    .mobile-menu-btn {

        display: block;

    }

    .portfolio-grid {

        grid-template-columns:
            1fr;

    }

    .services-grid {

        grid-template-columns:
            1fr;

    }

    .hero {

        min-height: 90vh;

    }

    .hero h1 {

        font-size: 3rem;

    }

    .hero-description {

        font-size: 1rem;

    }

    .section-header {

        margin-bottom: 50px;

    }

}

@media (max-width: 576px) {

    .btn {

        width: 100%;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .contact-info,
    .feature-card {

        padding: 35px;

    }

    .portfolio-content {

        padding: 25px;

    }

}
.nav-list a.active {
    color: var(--accent);
}

.header-scrolled {
    background: rgba(14,17,22,0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {

    .nav.mobile-open {

        display: block;

        position: absolute;

        top: 90px;
        left: 0;

        width: 100%;

        background: #111827;

        padding: 30px;
    }

    .nav.mobile-open .nav-list {

        flex-direction: column;

        gap: 20px;

    }
}
/* ==================================================
   FOOTER PHOTO CREDIT
================================================== */

.photo-credit {

    max-width: 900px;

    margin: 20px auto;

    font-size: 0.75rem;

    line-height: 1.6;

    color: rgba(255,255,255,0.55);

    text-align: center;

}