/*
Theme Name: Maher Charqiyeh
Author: Maher Charqiyeh
Description: Maher Charqiyeh - Mechanical Design & Contractor
Version: 2.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f4f0;
    color: #111;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

:root {
    --black: #080808;
    --dark: #111111;
    --gold: #c89b3c;
    --gold-light: #e0bd70;
    --white: #ffffff;
    --light: #f5f4f0;
    --gray: #777777;
    --line: #dedbd4;
    --container: 1280px;
}

/* =========================
   GLOBAL
========================= */

.container {
    width: min(var(--container), calc(100% - 80px));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.section-label {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -2px;
}

.gold {
    color: var(--gold);
}

/* =========================
   HEADER
========================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: #ffffff;
    color: #111111;
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--gold);
    font-size: 20px;
    font-weight: 800;
}

.logo-text span {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--gold);
    margin-top: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav a {
    font-size: 13px;
    color: #555;
    transition: 0.25s ease;
}

.nav a:hover {
    color: var(--gold);
}

.nav-contact {
    padding: 13px 22px;
    background: var(--black);
    color: #fff !important;
}

.nav-contact:hover {
    background: var(--gold);
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 760px;
    height: 100vh;
    max-height: 900px;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(
            rgba(0,0,0,0.72),
            rgba(0,0,0,0.68)
        ),
        url("assets/images/hero.jpg") center center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.80) 0%,
            rgba(0,0,0,0.48) 55%,
            rgba(0,0,0,0.60) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1050px;
    margin: 80px auto 0;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border: 1px solid rgba(200,155,60,0.65);
    background: rgba(0,0,0,0.35);
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-tag::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.hero h1 {
    font-size: clamp(48px, 7vw, 92px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 28px;
}

.hero h1 span {
    color: var(--gold-light);
    font-style: italic;
}

.hero-description {
    max-width: 720px;
    margin: 0 auto 35px;
    color: #eeeeee;
    font-size: 19px;
    line-height: 1.65;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 0 28px;
    background: var(--gold);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.button:hover {
    background: var(--gold-light);
    color: #111;
}

.button-dark {
    background: var(--black);
}

.button-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.65);
}

.button-outline:hover {
    background: #fff;
    color: #111;
}

/* HERO STATS */

.hero-stats {
    position: absolute;
    z-index: 3;
    bottom: 35px;
    left: 0;
    width: 100%;
}

.hero-stats-inner {
    display: flex;
    justify-content: center;
    gap: 70px;
}

.hero-stat {
    text-align: left;
    padding-left: 20px;
    border-left: 1px solid var(--gold);
}

.hero-stat strong {
    display: block;
    font-size: 24px;
    color: #fff;
}

.hero-stat span {
    display: block;
    font-size: 10px;
    color: #bbb;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================
   INTRO
========================= */

.intro {
    background: #fff;
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.intro-heading {
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.05;
    font-weight: 700;
}

.intro-heading span {
    color: var(--gold);
}

.intro-text {
    color: #666;
    font-size: 17px;
    line-height: 1.9;
    max-width: 650px;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.intro-feature {
    border-left: 2px solid var(--gold);
    padding-left: 18px;
}

.intro-feature strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

.intro-feature span {
    color: #888;
    font-size: 13px;
}

/* =========================
   SERVICES
========================= */

.services {
    background: var(--black);
    color: #fff;
}

.services-top {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: flex-end;
    margin-bottom: 65px;
}

.services-top p {
    max-width: 430px;
    color: #999;
    font-size: 14px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #333;
}

.service-card {
    background: #111;
    padding: 42px 35px;
    min-height: 250px;
    transition: 0.3s ease;
}

.service-card:hover {
    background: #191919;
}

.service-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.service-card h3 {
    font-size: 21px;
    margin-bottom: 14px;
}

.service-card p {
    color: #888;
    font-size: 13px;
    line-height: 1.7;
}

/* =========================
   PROJECTS
========================= */

.projects {
    background: var(--light);
}

.projects-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.projects-heading p {
    max-width: 400px;
    color: #777;
    font-size: 14px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.project-card {
    background: #fff;
}

.project-image {
    aspect-ratio: 16 / 10;
    background: #222;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    opacity: 0;
    transition: 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 25px;
}

.project-category {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.project-content h3 {
    font-size: 23px;
    margin-bottom: 6px;
}

.project-content p {
    color: #888;
    font-size: 13px;
}

/* =========================
   PROCESS
========================= */

.process {
    background: #fff;
}

.process-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.process-header p {
    margin-top: 20px;
    color: #777;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.process-card {
    padding: 30px;
    border-top: 2px solid #ddd;
    position: relative;
}

.process-card:not(:last-child) {
    border-right: 1px solid #ddd;
}

.process-number {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.process-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.process-card p {
    color: #777;
    font-size: 13px;
    line-height: 1.7;
}

/* =========================
   ABOUT
========================= */

.about {
    background: #111;
    color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
    align-items: center;
}

.about-photo {
    min-height: 580px;
    background:
        linear-gradient(
            rgba(0,0,0,0.1),
            rgba(0,0,0,0.35)
        ),
        url("assets/images/maher.jpg") center / cover no-repeat;
}

.about-content h2 {
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1;
    margin-bottom: 30px;
}

.about-content p {
    max-width: 600px;
    color: #999;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 45px;
}

.about-detail {
    border-top: 1px solid #333;
    padding-top: 18px;
}

.about-detail span {
    display: block;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.about-detail strong {
    font-size: 14px;
}

/* =========================
   CONTACT
========================= */

.contact {
    position: relative;
    background:
        linear-gradient(
            rgba(0,0,0,0.90),
            rgba(0,0,0,0.90)
        ),
        url("assets/images/contact.jpg") center / cover no-repeat;
    color: #fff;
    text-align: center;
}

.contact-content {
    max-width: 850px;
    margin: 0 auto;
}

.contact h2 {
    font-size: clamp(45px, 6vw, 85px);
    line-height: 1;
    margin-bottom: 25px;
}

.contact h2 span {
    color: var(--gold);
}

.contact p {
    color: #aaa;
    max-width: 550px;
    margin: 0 auto 40px;
}

.contact-details {
    margin-top: 45px;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    color: #bbb;
    font-size: 14px;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: #050505;
    color: #777;
    border-top: 1px solid #222;
}

.footer-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-gold {
    color: var(--gold);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .container {
        width: calc(100% - 40px);
    }

    .nav {
        display: none;
    }

    .hero {
        min-height: 750px;
    }

    .hero-content {
        margin-top: 70px;
    }

    .hero-stats-inner {
        gap: 25px;
    }

    .hero-stat {
        padding-left: 12px;
    }

    .intro-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-card:nth-child(2) {
        border-right: none;
    }

    .about-photo {
        min-height: 450px;
    }
}

@media (max-width: 600px) {

    .section {
        padding: 80px 0;
    }

    .header-inner {
        min-height: 70px;
    }

    .hero {
        min-height: 720px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-stats {
        bottom: 20px;
    }

    .hero-stats-inner {
        gap: 15px;
        justify-content: space-between;
    }

    .hero-stat strong {
        font-size: 18px;
    }

    .hero-stat span {
        font-size: 8px;
    }

    .intro-features,
    .about-details {
        grid-template-columns: 1fr;
    }

    .services-top,
    .projects-heading {
        display: block;
    }

    .services-top p,
    .projects-heading p {
        margin-top: 20px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        border-right: none !important;
        border-bottom: 1px solid #ddd;
    }

    .process-card:last-child {
        border-bottom: none;
    }

    .footer-inner {
        flex-direction: column;
        gap: 10px;
        padding: 25px 0;
    }
}