
/* =========================
   MAXYY STUDIO
   DARK RED EDITION
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --background: #080808;
    --surface: #101010;
    --surface-light: #181818;

    --accent: #cf1212;
    --accent-dark: #8f0808;
    --accent-glow: rgba(207, 18, 18, 0.2);

    --text: #f5f5f5;
    --muted: #929292;

    --border: rgba(255,255,255,0.08);
}

body {
    background: var(--background);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.section {
    width: 100%;
    padding: 110px 9%;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;
    height: 85px;
    padding: 0 9%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(8,8,8,0.95);
    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;
    z-index: 100;

    backdrop-filter: blur(15px);
}

.logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.logo span {
    color: var(--accent);
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    transition: 0.3s;
}

.menu a:hover,
.menu a.active {
    color: var(--accent);
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--muted);
    font-size: 11px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 12px var(--accent);
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 720px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;

    position: relative;
    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.97) 0%,
            rgba(0,0,0,0.88) 45%,
            rgba(0,0,0,0.55) 100%
        ),
        linear-gradient(
            rgba(0,0,0,0.3),
            rgba(0,0,0,0.65)
        ),
        url("./MAXYY%20%282%29.png");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse at 80% 45%,
            rgba(207,18,18,0.16),
            transparent 45%
        );

    pointer-events: none;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--accent);

    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;

    margin-bottom: 30px;
}

.hero h1 {
    font-size: clamp(43px, 5.5vw, 76px);
    line-height: 1.08;
    letter-spacing: -4px;
    font-weight: 900;
}

.hero h1 span {
    color: var(--accent);
}

.hero-description {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.9;

    max-width: 550px;
    margin-top: 25px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.hero-tags span,
.project-tags span {
    padding: 9px 13px;

    border: 1px solid var(--border);
    border-radius: 4px;

    font-size: 10px;
    color: #aaa;

    background: rgba(0,0,0,0.35);
}

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 45px;
    max-width: 410px;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    background: var(--accent);
    color: white;

    padding: 16px 23px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;

    border-radius: 3px;

    transition: 0.3s;
}

.primary-btn:hover {
    background: #f01818;
    box-shadow: 0 0 25px var(--accent-glow);
    transform: translateY(-3px);
}

.primary-btn span {
    font-size: 17px;
}

.hero-index {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
}

/* HERO VISUAL */

.hero-visual {
    width: 400px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.visual-card {
    height: 410px;
    width: 100%;

    border: 1px solid rgba(207,18,18,0.35);
    border-radius: 8px;

    background:
        radial-gradient(
            circle,
            rgba(207,18,18,0.17),
            transparent 65%
        ),
        rgba(10,10,10,0.88);

    padding: 22px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    box-shadow: 0 0 60px rgba(207,18,18,0.08);
}

.visual-top,
.visual-bottom {
    display: flex;
    justify-content: space-between;

    color: var(--muted);
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
}

.visual-center {
    position: relative;

    width: 250px;
    height: 250px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(207,18,18,0.4);
    border-radius: 50%;
}

.orbit-one {
    width: 230px;
    height: 230px;
    animation: rotate 20s linear infinite;
}

.orbit-two {
    width: 175px;
    height: 175px;
    border-style: dashed;
    animation: rotate 15s linear infinite reverse;
}

.visual-core {
    font-size: 90px;
    font-weight: 900;
    color: white;

    text-shadow: 0 0 40px rgba(207,18,18,0.4);
}

.visual-core span {
    color: var(--accent);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-footer {
    position: absolute;
    bottom: 25px;
    left: 9%;
    right: 9%;

    display: flex;
    justify-content: space-between;

    color: #777;
    font-size: 9px;
    letter-spacing: 1.5px;
}

/* =========================
   STATS
========================= */

.stats {
    padding-top: 35px;
    padding-bottom: 35px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: #0b0b0b;
}

.stat {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border: none;
}

.stat h2 {
    color: var(--accent);
    font-size: 30px;
    margin-bottom: 8px;
}

.stat p {
    color: var(--muted);
    font-size: 12px;
}

/* =========================
   SECTION HEADINGS
========================= */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 50px;
}

.section-label {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2,
.about h2 {
    font-size: clamp(35px, 4vw, 50px);
    letter-spacing: -2px;
    margin-top: 15px;
}

.section-heading h2 span,
.about h2 span,
.contact h2 span {
    color: var(--accent);
}

.section-heading > p {
    max-width: 350px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* =========================
   PROJECTS
========================= */

.projects {
    background: #0b0b0b;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: 0.35s;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(207,18,18,0.55);
    box-shadow: 0 10px 35px rgba(207,18,18,0.08);
}

.project-image {
    height: 220px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.project-one {
    background:
        linear-gradient(135deg, #1d0808, #351010);
}

.project-two {
    background:
        linear-gradient(135deg, #1c1111, #351717);
}

.project-three {
    background:
        linear-gradient(135deg, #211111, #401919);
}

.project-four {
    background:
        linear-gradient(135deg, #190c0c, #321414);
}

.project-five {
    background:
        linear-gradient(135deg, #170d0d, #351313);
}

.project-six {
    background:
        linear-gradient(135deg, #210c0c, #451414);
}

.project-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(207,18,18,0.18),
            transparent 70%
        );

    pointer-events: none;
}

.project-number {
    position: absolute;
    top: 18px;
    left: 20px;

    font-size: 11px;
    color: rgba(255,255,255,0.6);
}

.project-placeholder {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 4px;

    color: rgba(255,255,255,0.6);

    position: relative;
    z-index: 1;
}

.project-info {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 23px 23px 15px;
}

.project-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.project-info p {
    color: var(--muted);
    font-size: 11px;
}

.project-arrow {
    color: var(--accent);
    font-size: 22px;
    transition: 0.3s;
}

.project-card:hover .project-arrow {
    transform: translate(4px, -4px);
}

.project-tags {
    display: flex;
    gap: 8px;
    padding: 0 23px 23px;
}

.project-tags span {
    padding: 7px 10px;
    font-size: 9px;
}

/* =========================
   EXPERTISE
========================= */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.expertise-card {
    padding: 30px;
    min-height: 230px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;

    transition: 0.3s;
}

.expertise-card:hover {
    border-color: var(--accent);
    background: var(--surface-light);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(207,18,18,0.07);
}

.skill-number {
    color: var(--accent);
    font-size: 11px;
}

.expertise-card h3 {
    font-size: 17px;
    margin: 25px 0 12px;
}

.expertise-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.skill-tools {
    color: var(--accent);
    font-size: 9px;
    letter-spacing: 1px;
    font-weight: 800;
}

/* =========================
   ABOUT
========================= */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    background:
        linear-gradient(
            120deg,
            #101010,
            #0b0b0b
        );
}

.about-content {
    padding-top: 20px;
}

.about-content p {
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
    margin-bottom: 20px;
}

/* =========================
   CONTACT
========================= */

.contact {
    text-align: center;

    padding-top: 130px;
    padding-bottom: 130px;

    background:
        radial-gradient(
            ellipse at center,
            rgba(207,18,18,0.13),
            transparent 60%
        ),
        #080808;
}

.contact h2 {
    font-size: clamp(40px, 5vw, 65px);
    letter-spacing: -3px;
    line-height: 1.2;
    margin-top: 25px;
}

.contact > p {
    color: var(--muted);
    font-size: 13px;

    margin: 25px auto 35px;
    max-width: 450px;

    line-height: 1.8;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-link {
    padding: 15px 25px;

    border: 1px solid var(--border);
    border-radius: 4px;

    font-size: 12px;
    font-weight: 600;

    transition: 0.3s;
}

.contact-link span {
    color: var(--accent);
    margin-left: 10px;
}

.contact-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 0 25px var(--accent-glow);
}

.contact-link:hover span {
    color: white;
}

/* =========================
   FOOTER
========================= */

.footer {
    min-height: 90px;
    padding: 25px 9%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--border);
    background: #080808;
}

.footer p,
.footer > a:last-child {
    color: var(--muted);
    font-size: 11px;
}

.footer > a:last-child {
    transition: 0.3s;
}

.footer > a:last-child:hover {
    color: var(--accent);
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 1000px) {

    .navbar {
        padding: 0 5%;
    }

    .section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero {
        gap: 30px;
    }

    .hero-visual {
        width: 320px;
    }

    .visual-card {
        height: 350px;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-footer {
        left: 5%;
        right: 5%;
    }
}

@media (max-width: 700px) {

    .navbar {
        height: auto;
        min-height: 80px;

        flex-wrap: wrap;
        gap: 15px;

        padding: 18px 5%;
    }

    .menu {
        order: 3;
        width: 100%;

        justify-content: space-between;
        gap: 10px;
    }

    .menu a {
        font-size: 10px;
    }

    .nav-status {
        font-size: 10px;
    }

    .section {
        padding: 75px 6%;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;

        padding-top: 85px;
        padding-bottom: 100px;
    }

    .hero h1 {
        font-size: 45px;
        letter-spacing: -2px;
    }

    .hero-visual {
        width: 100%;
        max-width: 420px;
    }

    .visual-card {
        height: 320px;
    }

    .hero-footer {
        left: 6%;
        right: 6%;
        gap: 12px;
        font-size: 7px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .stat:nth-child(1),
    .stat:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact h2 {
        font-size: 42px;
    }

    .footer {
        flex-wrap: wrap;
        gap: 20px;
        padding: 25px 6%;
    }
}

@media (max-width: 380px) {

    .hero h1 {
        font-size: 36px;
    }

    .hero-tags span {
        font-size: 9px;
    }

    .nav-status {
        display: none;
    }

    .hero-footer {
        font-size: 6px;
        letter-spacing: 0.5px;
    }
}
