/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #fff;
    color: #111;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    border: none;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================
   VARIABLES
========================================= */

:root {

    --black: #111111;

    --dark: #171717;

    --gold: #b88a32;

    --gold-light: #d1ad67;

    --cream: #faf8f3;

    --white: #ffffff;

    --gray: #6f6f6f;

    --border: #e8e5df;
}


/* =========================================
   CONTAINER
========================================= */

.container {
    width: min(1180px, 90%);
    margin: auto;
}


/* =========================================
   HEADER
========================================= */

header {

    width: 100%;

    height: 88px;

    position: absolute;

    top: 0;
    left: 0;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(12px);

    border-bottom:
        1px solid rgba(0, 0, 0, 0.06);

    transition: 0.3s ease;
}

.nav {

    height: 88px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =========================================
   LOGO
========================================= */

.logo {

    display: flex;

    align-items: center;

    gap: 12px;
}

.logo-symbol {

    width: 52px;
    height: 52px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}

.logo-m {

    font-family: "Playfair Display", serif;

    font-size: 52px;

    line-height: 1;

    font-weight: 600;

    color: var(--black);
}

.logo-m::after {

    content: "";

    position: absolute;

    width: 46px;
    height: 7px;

    background: var(--gold);

    transform: rotate(-28deg);

    left: 2px;
    top: 30px;

    border-radius: 50%;
}

.logo-text {

    display: flex;

    flex-direction: column;
}

.logo-name {

    font-family: "Playfair Display", serif;

    font-size: 23px;

    letter-spacing: 5px;
}

.logo-sub {

    font-size: 7px;

    letter-spacing: 1.7px;

    color: var(--gold);

    margin-top: 1px;
}


/* =========================================
   NAVIGATION
========================================= */

.nav-links {

    display: flex;

    align-items: center;

    gap: 38px;
}

.nav-links a {

    position: relative;

    font-size: 12px;

    font-weight: 500;

    letter-spacing: 0.8px;

    text-transform: uppercase;

    transition: 0.3s ease;
}

.nav-links a::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: -10px;

    width: 0;

    height: 2px;

    background: var(--gold);

    transform: translateX(-50%);

    transition: 0.3s ease;
}

.nav-links a:hover {

    color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {

    width: 22px;
}


/* =========================================
   HEADER BUTTON
========================================= */

.nav-button {

    background: var(--black);

    color: white;

    padding: 15px 25px;

    border-radius: 3px;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: 0.3s ease;
}

.nav-button:hover {

    background: var(--gold);

    transform: translateY(-2px);
}


/* =========================================
   MOBILE MENU
========================================= */

.menu-btn {

    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);

    background: white;

    cursor: pointer;
}

.menu-btn span {

    display: block;

    width: 19px;
    height: 1px;

    background: #111;

    margin: 5px auto;
}


/* =========================================
   HERO
========================================= */

.hero {

    min-height: 760px;

    padding-top: 88px;

    position: relative;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 80% 45%,
            #f7f2e8 0%,
            transparent 32%
        ),

        linear-gradient(
            120deg,
            #fff 0%,
            #fff 55%,
            #faf8f3 100%
        );
}

.hero::before {

    content: "";

    position: absolute;

    width: 680px;
    height: 680px;

    border-radius: 50%;

    border:
        1px solid rgba(184, 138, 50, 0.08);

    right: -300px;

    top: 100px;
}

.hero-content {

    min-height: 672px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 50px;
}


/* =========================================
   HERO TEXT
========================================= */

.hero-small {

    display: flex;

    align-items: center;

    gap: 14px;

    color: var(--gold);

    font-size: 12px;

    font-weight: 500;

    letter-spacing: 1.8px;

    text-transform: uppercase;

    margin-bottom: 25px;
}

.hero-small::before {

    content: "";

    width: 28px;

    height: 1px;

    background: var(--gold);
}

.hero h1 {

    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 5vw, 70px);

    line-height: 1.08;

    font-weight: 400;

    letter-spacing: -1.5px;

    max-width: 650px;
}

.hero h1 span {

    font-style: italic;
}

.hero-description {

    margin-top: 28px;

    max-width: 570px;

    color: var(--gray);

    font-size: 15px;

    line-height: 1.9;
}

.hero-buttons {

    display: flex;

    gap: 14px;

    margin-top: 35px;
}


/* =========================================
   BUTTONS
========================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    min-width: 170px;

    padding: 16px 23px;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: 0.3s ease;
}

.btn-dark {

    background: var(--black);

    color: white;
}

.btn-dark:hover {

    background: var(--gold);

    transform: translateY(-3px);
}

.btn-outline {

    border:
        1px solid var(--gold);

    color: var(--gold);

    background: transparent;
}

.btn-outline:hover {

    background: var(--gold);

    color: white;

    transform: translateY(-3px);
}


/* =========================================
   HERO BRAND
========================================= */

.hero-brand {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    position: relative;

    min-height: 500px;
}

.big-logo-symbol {

    width: 240px;
    height: 220px;

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;
}

.big-m {

    font-family: "Playfair Display", serif;

    font-size: 225px;

    font-weight: 600;

    line-height: 0.8;

    color: #111;
}

.big-m::after {

    content: "";

    position: absolute;

    width: 210px;
    height: 25px;

    background: var(--gold);

    transform: rotate(-27deg);

    left: 5px;
    top: 128px;

    border-radius: 50%;
}

.hero-brand-name {

    font-family: "Playfair Display", serif;

    font-size: clamp(45px, 5vw, 70px);

    letter-spacing: 12px;

    margin-top: 15px;
}

.hero-brand-line {

    width: 310px;

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 12px;

    color: var(--gold);

    font-size: 13px;

    letter-spacing: 2.5px;
}

.hero-brand-line::before,
.hero-brand-line::after {

    content: "";

    flex: 1;

    height: 1px;

    background: var(--gold);
}

.hero-tech {

    margin-top: 17px;

    font-size: 12px;

    letter-spacing: 3px;

    color: #333;
}


/* =========================================
   COMMON SECTION
========================================= */

section {

    padding: 100px 0;
}

.section-heading {

    text-align: center;

    margin-bottom: 55px;
}

.section-label {

    color: var(--gold);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 12px;
}

.section-heading h2 {

    font-family: "Playfair Display", serif;

    font-weight: 400;

    font-size: 42px;
}

.section-heading p {

    margin-top: 12px;

    color: var(--gray);

    font-size: 14px;
}


/* =========================================
   SERVICES
========================================= */

.services {

    background: #fff;
}

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.service-card {

    border:
        1px solid var(--border);

    padding: 40px 25px;

    text-align: center;

    transition: 0.35s ease;

    background: white;
}

.service-card:hover {

    transform: translateY(-8px);

    border-color:
        rgba(184, 138, 50, 0.45);

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.06);
}

.service-icon {

    width: 62px;
    height: 62px;

    margin: auto;

    border:
        1px solid
        rgba(184, 138, 50, 0.35);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--gold);

    font-size: 25px;
}

.service-card h3 {

    font-family: "Playfair Display", serif;

    font-size: 20px;

    font-weight: 400;

    margin-top: 25px;
}

.service-card p {

    color: var(--gray);

    font-size: 12px;

    line-height: 1.8;

    margin-top: 13px;
}


/* =========================================
   ABOUT
========================================= */

.about {

    background: var(--cream);
}

.about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 75px;
}

.about-image {

    min-height: 390px;

    background:

        linear-gradient(
            rgba(0, 0, 0, 0.03),
            rgba(0, 0, 0, 0.03)
        ),

        url(
            "https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=85"
        );

    background-size: cover;

    background-position: center;

    position: relative;
}


/* GOLDEN RECTANGLE REMOVED */

.about-image::after {

    display: none;
}

.about-text {

    position: relative;

    z-index: 2;
}

.about-text h2 {

    font-family: "Playfair Display", serif;

    font-weight: 400;

    font-size: 45px;

    line-height: 1.2;
}

.about-text p {

    color: var(--gray);

    font-size: 14px;

    line-height: 1.9;

    margin-top: 20px;
}

.about-text .btn {

    margin-top: 28px;
}


/* =========================================
   PORTFOLIO
========================================= */

.portfolio {

    background: white;
}

.portfolio-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.project {

    position: relative;

    overflow: hidden;

    cursor: pointer;
}

.project-image {

    height: 230px;

    overflow: hidden;

    background: #eee;
}

.project-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s ease;
}

.project:hover img {

    transform: scale(1.06);
}

.project-info {

    padding: 15px 4px 5px;
}

.project-info h3 {

    font-size: 13px;

    font-weight: 500;
}

.project-info p {

    color: var(--gold);

    font-size: 10px;

    margin-top: 5px;

    text-transform: uppercase;

    letter-spacing: 0.8px;
}

.portfolio-button {

    display: flex;

    justify-content: center;

    margin-top: 45px;
}


/* =========================================
   TECHNOLOGIES
========================================= */

.technologies {

    background: var(--cream);
}

.tech-grid {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 12px;

    max-width: 900px;

    margin: auto;
}

.tech-item {

    padding: 14px 24px;

    border:
        1px solid var(--border);

    background: white;

    font-size: 12px;

    transition: 0.3s ease;
}

.tech-item:hover {

    border-color: var(--gold);

    color: var(--gold);

    transform: translateY(-3px);
}


/* =========================================
   WHY METABIZ
========================================= */

.why-metabiz {

    background: var(--dark);

    color: white;
}

.why-metabiz
.section-heading h2 {

    color: white;
}

.why-metabiz
.section-heading p {

    color: #999;
}

.why-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid #303030;

    border-bottom:
        1px solid #303030;
}

.why-item {

    padding: 40px 28px;

    min-height: 230px;

    border-right:
        1px solid #303030;

    transition: 0.3s ease;
}

.why-item:last-child {

    border-right: none;
}

.why-item:hover {

    background: #1d1d1d;
}

.why-number {

    display: block;

    color: var(--gold-light);

    font-family:
        "Playfair Display", serif;

    font-size: 18px;

    margin-bottom: 25px;
}

.why-item h3 {

    font-family:
        "Playfair Display", serif;

    font-size: 21px;

    font-weight: 400;

    margin-bottom: 13px;
}

.why-item p {

    color: #999;

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================
   CONTACT
========================================= */

.contact {

    background: white;
}

.contact-grid {

    display: grid;

    grid-template-columns:
        1.2fr 1fr;

    gap: 80px;

    align-items: start;
}

.contact-title h2 {

    font-family:
        "Playfair Display", serif;

    font-size: 48px;

    font-weight: 400;

    line-height: 1.15;
}

.contact-title p {

    color: var(--gray);

    margin-top: 18px;

    font-size: 14px;

    line-height: 1.8;

    max-width: 500px;
}

.contact-title .btn {

    margin-top: 28px;
}

.contact-details {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 30px;
}

.contact-item {

    display: flex;

    gap: 15px;
}

.contact-icon {

    color: var(--gold);

    font-size: 18px;

    width: 25px;
}

.contact-item h4 {

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.contact-item p {

    margin-top: 6px;

    color: var(--gray);

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================
   FOOTER
========================================= */

footer {

    background: var(--dark);

    color: white;

    padding: 45px 0 25px;
}

.footer-top {

    display: grid;

    grid-template-columns:
        1fr 1fr 1fr;

    align-items: center;

    gap: 40px;
}

.footer-logo .logo-name {

    color: white;
}

.footer-links {

    display: flex;

    justify-content: center;

    gap: 25px;
}

.footer-links a {

    color: #bbb;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.7px;

    transition: 0.3s;
}

.footer-links a:hover {

    color: var(--gold);
}

.copyright {

    text-align: right;

    color: #777;

    font-size: 10px;

    line-height: 1.6;
}

.footer-bottom {

    border-top:
        1px solid #292929;

    margin-top: 35px;

    padding-top: 20px;

    text-align: center;

    color: #666;

    font-size: 9px;
}


/* =========================================
   WHATSAPP
========================================= */

.whatsapp {

    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 58px;
    height: 58px;

    background: #25D366;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 999;

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.18);

    transition: all 0.3s ease;
}

.whatsapp img {

    width: 35px;
    height: 35px;

    display: block;
}

.whatsapp:hover {

    transform: scale(1.1);

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.25);
}


/* =========================================
   SCROLL REVEAL
========================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(35px);

    transition: 0.8s ease;
}

.reveal.show {

    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .nav-links {

        gap: 20px;
    }

    .nav-button {

        display: none;
    }

    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .portfolio-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .hero-content {

        gap: 25px;
    }

    .about-grid {

        gap: 40px;
    }

    .why-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .why-item:nth-child(2) {

        border-right: none;
    }

    .why-item:nth-child(1),
    .why-item:nth-child(2) {

        border-bottom:
            1px solid #303030;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    header,
    .nav {

        height: 75px;
    }

    .nav {

        position: relative;
    }


    /* MOBILE NAV */

    .nav-links {

        display: none;

        position: absolute;

        top: 75px;
        left: 0;

        width: 100%;

        background: white;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        border-bottom:
            1px solid var(--border);

        box-shadow:
            0 15px 30px
            rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {

        display: flex;
    }

    .nav-links a {

        width: 100%;

        padding: 17px 5%;

        border-bottom:
            1px solid #f1f1f1;
    }

    .nav-links a::after {

        display: none;
    }

    .menu-btn {

        display: block;
    }


    /* HERO */

    .hero {

        padding-top: 75px;
    }

    .hero-content {

        grid-template-columns: 1fr;

        padding: 75px 0 50px;

        text-align: center;
    }

    .hero-small {

        justify-content: center;
    }

    .hero h1 {

        font-size: 45px;
    }

    .hero-description {

        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {

        justify-content: center;

        flex-wrap: wrap;
    }


    /* HERO LOGO */

    .hero-brand {

        min-height: 390px;

        margin-top: -10px;
    }

    .big-logo-symbol {

        width: 190px;
        height: 170px;
    }

    .big-m {

        font-size: 180px;
    }

    .big-m::after {

        width: 170px;

        top: 103px;
    }

    .hero-brand-name {

        font-size: 45px;

        letter-spacing: 8px;
    }

    .hero-brand-line {

        width: 260px;

        font-size: 10px;
    }

    .hero-tech {

        font-size: 9px;

        letter-spacing: 2px;
    }


    /* SECTIONS */

    section {

        padding: 75px 0;
    }


    /* SERVICES */

    .services-grid {

        grid-template-columns: 1fr;
    }


    /* ABOUT */

    .about-grid {

        grid-template-columns: 1fr;
    }

    .about-image {

        min-height: 300px;
    }

    .about-text h2 {

        font-size: 38px;
    }


    /* PORTFOLIO */

    .portfolio-grid {

        grid-template-columns: 1fr;
    }

    .project-image {

        height: 250px;
    }


    /* WHY METABIZ */

    .why-grid {

        grid-template-columns:
            1fr 1fr;
    }

    .why-item {

        border-bottom:
            1px solid #303030;
    }

    .why-item:nth-child(2) {

        border-right: none;
    }

    .why-item:nth-child(3),
    .why-item:nth-child(4) {

        border-bottom: none;
    }


    /* CONTACT */

    .contact-grid {

        grid-template-columns: 1fr;

        gap: 45px;
    }

    .contact-title h2 {

        font-size: 40px;
    }

    .contact-details {

        grid-template-columns: 1fr;
    }


    /* FOOTER */

    .footer-top {

        grid-template-columns: 1fr;

        text-align: center;
    }

    .footer-links {

        flex-wrap: wrap;
    }

    .copyright {

        text-align: center;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .container {

        width: 88%;
    }


    /* LOGO */

    .logo-name {

        font-size: 18px;

        letter-spacing: 3px;
    }

    .logo-sub {

        font-size: 6px;
    }

    .logo-symbol {

        width: 43px;
    }

    .logo-m {

        font-size: 44px;
    }


    /* HERO */

    .hero h1 {

        font-size: 39px;
    }

    .hero-description {

        font-size: 13px;
    }

    .hero-buttons {

        flex-direction: column;

        align-items: center;
    }

    .btn {

        width: 100%;

        max-width: 280px;
    }

    .hero-brand-name {

        font-size: 36px;

        letter-spacing: 6px;
    }


    /* SECTION */

    .section-heading h2 {

        font-size: 35px;
    }


    /* WHY */

    .why-grid {

        grid-template-columns: 1fr;
    }

    .why-item {

        border-right: none !important;

        border-bottom:
            1px solid #303030 !important;
    }

    .why-item:last-child {

        border-bottom: none !important;
    }


    /* WHATSAPP */

    .whatsapp {

        width: 52px;
        height: 52px;

        right: 18px;
        bottom: 18px;
    }

    .whatsapp img {

        width: 31px;
        height: 31px;
    }

}