@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
    --navy: #0b1623;
    --navy-light: #111f2d;
    --black: #05080c;
    --orange: #f59e0b;
    --white: #f5f7fa;
    --gray: #9ca8b4;
    --border: rgba(255,255,255,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1200px, 90%);
    margin: auto;
}
.header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    padding: 25px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: var(--black);
    font-size: 23px;
    font-weight: 800;
    border-radius: 5px;
}
.logo strong {
    display: block;
    font-size: 16px;
}

.logo small {
    display: block;
    color: var(--gray);
    font-size: 11px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #dce2e7;
    font-size: 14px;
    transition: .3s;
}

.nav a:hover {
    color: var(--orange);
}

.nav-button {
    background: var(--orange);
    color: var(--black);
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    transition: .3s;
}

.nav-button:hover {
    background: white;
}
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(5,8,12,.65),
            rgba(5,8,12,.35),
            rgba(5,8,12,.15)
        ),
        url("../images/hero.jpg");

    background-size: cover;
    background-position: center;
}


.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(5,8,12,.35),
            rgba(5,8,12,.9)
        );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 750px;
}

.eyebrow {
    display: inline-block;
    color: var(--orange);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero h1 span {
    display: block;
    color: var(--orange);
}

.hero p {
    margin-top: 25px;
    color: #c5cdd5;
    font-size: 18px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 35px;
}

.btn {
    padding: 13px 27px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}

.btn-primary {
    background: var(--orange);
    color: var(--black);
}

.btn-primary:hover {
    background: white;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.35);
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
}
.hero-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;

    display: flex;
    justify-content: center;

    border-top: 1px solid var(--border);
}

.hero-bottom div {
    width: 240px;
    padding: 18px 25px;

    border-left: 1px solid var(--border);

    display: flex;
    gap: 15px;
    align-items: center;
}

.hero-bottom span {
    color: var(--orange);
    font-weight: 700;
}

.hero-bottom p {
    font-size: 12px;
    color: var(--gray);
}

.section {
    padding: 120px 0;
}

.section-number {
    color: var(--orange);
    font-size: 13px;
    font-weight: 700;
}

.section-label {
    color: var(--gray);
    display: flex;
    gap: 15px;
}

.section h2 {
    font-size: clamp(35px, 5vw, 55px);
    line-height: 1.3;
}

.section h2 span {
    color: var(--orange);
}
.about {
    background: var(--white);
    color: var(--navy);
}

.about-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 80px;
}

.about-content {
    max-width: 750px;
}

.about-content p {
    color: #5c6873;
    margin-top: 25px;
    font-size: 16px;
}

.text-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--navy);
    font-weight: 700;
}

.text-link span {
    color: var(--orange);
}

.section-dark {
    background: var(--navy);
    padding: 120px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 50px;
    margin-top: 10px;
}

.section-heading p {
    max-width: 380px;
    color: var(--gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.service-card {
    min-height: 330px;
    padding: 35px;
    border: 1px solid var(--border);
    position: relative;
    transition: .4s;
}

.service-card:hover {
    background: var(--orange);
    color: var(--black);
    transform: translateY(-8px);
}

.service-number {
    color: var(--orange);
    font-size: 12px;
}

.service-icon {
    font-size: 35px;
    margin-top: 45px;
    color: var(--orange);
  
}

.service-card h3 {
    margin-top: 20px;
    font-size: 20px;
}

.service-card p {
    margin-top: 12px;
    color: var(--gray);
    font-size: 13px;
}

.projects {
    background: var(--black);
    padding: 120px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-image-1 {
    background-image: url("https://images.unsplash.com/photo-1565439373257-6d47f1d4fbb4?auto=format&fit=crop&w=1000&q=80");
}

.project-image-2 {
    background-image: url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1000&q=80");
}

.project-image-3 {
    background-image: url("https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1000&q=80");
}
.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(245,158,11,.9);

    display: grid;
    place-items: center;

    opacity: 0;
    transition: .4s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    padding: 20px 0;
}

.project-info span {
    color: var(--orange);
    font-size: 12px;
}

.project-info h3 {
    margin-top: 5px;
    font-size: 19px;
}

.hse {
    background: var(--orange);
    color: var(--black);
    padding: 100px 0;
}

.hse-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.hse h2 {
    font-size: clamp(45px, 6vw, 75px);
    line-height: 1.2;
}

.hse h2 span {
    display: block;
}

.hse p {
    max-width: 450px;
    font-size: 17px;
}
.contact {
    background: var(--white);
    color: var(--navy);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.contact-box {
    background: var(--navy);
    color: white;
    padding: 45px;
}

.contact-box div {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.contact-box small {
    display: block;
    color: var(--orange);
}

.contact-box strong {
    display: block;
    margin-top: 5px;
}

.footer {
    background: #030507;
    padding: 60px 0;
    text-align: center;
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
}

.footer-logo span {
    color: var(--orange);
}

.footer p {
    color: var(--gray);
    font-size: 13px;
    margin-top: 5px;
}

.footer-line {
    height: 1px;
    background: var(--border);
    margin: 35px 0;
}

.footer small {
    color: #64707b;
}
/* موبایل */
@media  (max-width: 900px) {
    

    .nav,
    .nav-button {
        display: none;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-bottom {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hse-content {
        display: block;
    }

    .hse p {
        margin-top: 30px;
    }
}
@media  (max-width: 600px){


    .section {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 320px;
    }
}
.gallery {
    background: #080d13;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .5s;
}

.gallery-item:hover img {
    transform: scale(1.06);
}
.gallery-large {
    grid-row: span 2;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 50%,
            rgba(0,0,0,.55)
        );

    pointer-events: none;
}

@media( max-width:700px) {

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 220px 220px;
    }

    .gallery-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}
.project-detail-images {
    width: 100%;
}

.project-gallery {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    margin-top: 15px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.project-gallery-item {
    flex: 0 0 240px;
    height: 160px;
    overflow: hidden;
    border-radius: 5px;
}

.project-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .4s;
}

.project-gallery-item:hover img {
    transform: scale(1.05);
}

@media(max-width:700px){
    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-gallery-item {
        height: 130px;
    }
}
.company-card-image {
    width: 400px;
    margin: 30px auto 40px;
    position: relative;
    padding: 8px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f59e0b, #1b2430);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
}

.company-card-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 9px;
}

.company-card-image span {
    position: absolute;
    bottom: 8px;
    right: 8px;
    left: 8px;
    padding: 10px;
    border-radius: 0 0 9px 9px;
    background: rgba(3, 5, 7, .85);
    color: white;
    font-size: 12px;
    text-align: center;
    backdrop-filter: blur(5px);
}
/* صفحه درباره شرکت */

.about-page {
    background: var(--white);
    color: var(--navy);
    min-height: 100vh;
    padding: 80px 0;
}

.about-page-heading {
    text-align: right;
    margin-bottom: 60px;
}

.about-page-heading > span {
    color: var(--orange);
    font-size: 13px;
}

.about-page-heading h1 {
    font-size: 52px;
    margin-top: 15px;
}

.about-page-heading strong {
    color: var(--orange);
}

.about-page-content {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

.about-page-content h2 {
    font-size: 26px;
    margin-top: 55px;
    margin-bottom: 20px;
}

.about-page-content p {
    color: var(--gray);
    line-height: 2.2;
    font-size: 15px;
    margin-bottom: 20px;
}

.about-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.about-services div {
    background: var(--navy);
    color: white;
    padding: 25px;
    border-right: 3px solid var(--orange);
}

.about-services strong {
    display: block;
    color: var(--orange);
    font-size: 17px;
    margin-bottom: 8px;
}

.about-services span {
    color: #c5cbd1;
    font-size: 13px;
}

.about-company-card {
    margin-top: 60px;
    padding: 35px;
    background: #f5f6f7;
    text-align: center;
}

.about-company-card h2 {
    margin-top: 0;
}

.about-company-card img {
    width: 260px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 25px auto 0;
    border-radius: 8px;
}

.about-page-contact {
    margin-top: 70px;
    padding: 40px;
    background: var(--navy);
    color: white;
    text-align: center;
}

.about-page-contact h2 {
    margin-top: 0;
}

.about-page-contact p {
    color: #c5cbd1;
}
@media(max-width:600px){

    .about-page {
        padding: 50px 0;
    }

    .about-page-heading h1 {
        font-size: 38px;
    }

    .about-services {
        grid-template-columns: 1fr;
    }
     .about-company-card {
            padding: 20px;
    }

}
.company-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.member-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.member-number {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: var(--orange);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.member-info {
    text-align: right;
}

.member-info h3 {
    margin: 0 0 6px;
    color: var(--navy);
    font-size: 17px;
}

.member-info span {
    color: var(--orange);
    font-size: 13px;
}


@media(max-width:800px){
    .company-members {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media(max-width:500px){
    .company-members {
        grid-template-columns: 1fr;
    }

}
.about-content .text-link {
    color: var(--orange);
    transition: .3s;
}

.about-content .text-link:hover {
    opacity: .7;
}
.about-contact {
    margin-top: 30px;
}

.about-contact-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--orange);
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}

.about-contact-link:hover {
    opacity: .7;
    transform: translateX(-4px);
}

.contact-details {
    margin-top: 18px;
}

.contact-details p {
    margin: 8px 0;
    color: #555;
}

.contact-details span {
    color: var(--orange);
    font-weight: 600;
}

.company-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.member-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.member-number {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: var(--orange);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.member-info {
    text-align: right;
}

.member-info h3 {
    margin: 0 0 6px;
    color: var(--navy);
    font-size: 17px;
}

.member-info span {
    color: var(--orange);
    font-size: 13px;
}



    .company-members {
        grid-template-columns: repeat(2, 1fr);
    }

}



