* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #050505;
    color: white;
    font-family: Arial, sans-serif;
    line-height: 1.8;
}

/* HEADER */

.header {
    width: 100%;
    height: 80px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #080808;
    border-bottom: 1px solid #222;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #d4af37;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.menu a:hover {
    color: #d4af37;
}

.contact-btn {
    text-decoration: none;
    color: #050505;
    background: #d4af37;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: bold;
}


/* HERO */

.hero {
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 80px 10%;
    
    background-image:
        linear-gradient(
            90deg,
            rgba(5, 5, 5, 0.95) 0%,
            rgba(5, 5, 5, 0.75) 35%,
            rgba(5, 5, 5, 0.25) 70%,
            rgba(5, 5, 5, 0.45) 100%
        ),
        url("images/bmw-front.png.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-text {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.small-title {
    color: #d4af37;
    font-size: 18px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 80px;
    font-weight: 900;
    color: #d4af37;
    margin-bottom: 5px;
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}

.hero h2 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.description {
    color: #aaa;
    font-size: 18px;
    max-width: 650px;
}


/* BUTTONS */

.hero-buttons {
    margin-top: 35px;
    display: flex;
    gap: 15px;
}

.main-btn,
.second-btn {
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: bold;
}

.main-btn {
    background: #d4af37;
    color: #050505;
}

.second-btn {
    border: 1px solid #d4af37;
    color: #d4af37;
}


/* SERVICES */

.service {
    position: relative;
    background: linear-gradient(145deg, #151515, #0b0b0b);
    border: 1px solid #242424;
    padding: 35px 25px;
    border-radius: 14px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.35s ease;
    overflow: hidden;
}

.service::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: #d4af37;
    transform: scaleY(0);
    transition: 0.35s ease;
}

.service:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.12);
}

.service:hover::before {
    transform: scaleY(1);
}

.service h3 {
    color: #d4af37;
    font-size: 21px;
    margin-bottom: 12px;
}

.service p {
    color: #999;
    font-size: 15px;
}


/* MOBILE */

@media (max-width: 900px) {

    .menu {
        display: none;
    }

    .hero {
        padding: 60px 7%;
    }

    .hero h1 {
        font-size: 60px;
    }

    .hero h2 {
        font-size: 25px;
    }

    .service-boxes {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {

    .hero {
        min-height: 620px;
        padding: 60px 7%;
        background-position: center center;
        background-size: cover;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero h2 {
        font-size: 22px;
    }
    
    .description {
        font-size: 15px;
    }

.hero-text {
    max-width: 100%;
}

.hero h1 {
    font-size: 48px;
}

.hero h2 {
    font-size: 22px;
}

.description {
    font-size: 15px;
} 

    .header {
        padding: 0 5%;
    }

    .contact-btn {
        display: none;
    }

    .hero {
        min-height: 550px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .service-boxes {
        grid-template-columns: 1fr;
    }
}

.whatsapp-btn {
    text-decoration: none;
    color: #ffffff;
    background: #168a45;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    background: #20a957;
    transform: translateY(-3px);
}

.service-icon {
    font-size: 38px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.35));
}

.portfolio {
    padding: 100px 8%;
    background: #050505;
    text-align: center;
}

.portfolio > h2 {
    font-size: 40px;
    margin-bottom: 50px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-card {
    background: #101010;
    border: 1px solid #222;
    border-radius: 14px;
    overflow: hidden;
    text-align: right;
    transition: 0.35s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
}

.portfolio-image {
    height: 260px;
    background:
        linear-gradient(
            135deg,
            #191919,
            #050505
        );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.portfolio-card h3 {
    color: #d4af37;
    margin: 20px 20px 5px;
}

.portfolio-card p {
    color: #888;
    margin: 0 20px 20px;
}

.second-btn {
    text-decoration: none;
    color: #d4af37;
    border: 1px solid #d4af37;
    background: transparent;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s ease;
}

.second-btn:hover {
    background: #d4af37;
    color: #050505;
    transform: translateY(-3px);
}

.about {
    padding: 110px 10%;
    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(212, 175, 55, 0.08),
            transparent 35%
        ),
        #080808;
}

.about-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.about-label {
    color: #d4af37;
    font-size: 17px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.about h2 {
    font-size: 42px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.about h2 span {
    color: #d4af37;
}

.about p {
    color: #999;
    font-size: 17px;
    margin: 12px auto;
    max-width: 750px;
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 50px;
}

.about-features div {
    min-width: 180px;
    padding: 25px 20px;
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
}

.about-features strong {
    display: block;
    color: #d4af37;
    font-size: 28px;
    margin-bottom: 5px;
}

.about-features span {
    color: #888;
    font-size: 14px;
}

@media (max-width: 700px) {

    .about {
        padding: 80px 7%;
    }

    .about h2 {
        font-size: 30px;
    }

    .about-features {
        flex-direction: column;
        align-items: center;
    }

    .about-features div {
        width: 100%;
        max-width: 300px;
    }
}

.contact {
    padding: 110px 8%;
    background: #050505;
    text-align: center;
}

.contact-header {
    max-width: 700px;
    margin: 0 auto 55px;
}

.contact-header h2 {
    font-size: 40px;
    line-height: 1.5;
    margin: 10px 0 20px;
}

.contact-header h2 span {
    color: #d4af37;
}

.contact-header p {
    color: #888;
    font-size: 17px;
}

.contact-grid {
    max-width: 1050px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.contact-card {
    background: linear-gradient(145deg, #151515, #0b0b0b);
    border: 1px solid #222;
    border-radius: 14px;
    padding: 35px 25px;
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-7px);
    border-color: #d4af37;
}

.contact-icon {
    font-size: 35px;
    margin-bottom: 12px;
}

.contact-card h3 {
    color: #d4af37;
    margin-bottom: 12px;
}

.contact-card p,
.contact-card a {
    color: #aaa;
    text-decoration: none;
    font-size: 16px;
}

.contact-card a:hover {
    color: #d4af37;
}

.contact-action {
    margin-top: 45px;
}

.contact-action .whatsapp-btn {
    display: inline-block;
    padding: 14px 35px;
}

@media (max-width: 750px) {

    .portfolio {
        padding: 75px 7%;
    }
    
    .portfolio > h2 {
        font-size: 30px;
        margin-bottom: 35px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-card {
        width: 100%;
    }
    
    .portfolio-image {
        height: 220px;
    }
    
    .portfolio-card h3 {
        font-size: 19px;
    }
    
    .portfolio-card p {
        font-size: 14px;
    }

    .contact {
        padding: 80px 7%;
    }

    .contact-header h2 {
        font-size: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.footer {
    background: #030303;
    border-top: 1px solid #222;
    padding: 70px 8% 0;
}

.footer-content {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-logo {
    color: #d4af37;
    font-size: 35px;
    font-weight: 900;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #777;
    max-width: 330px;
}

.footer h3 {
    color: #d4af37;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-contact a {
    color: #999;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #d4af37;
}

.footer-contact p {
    color: #777;
    margin: 8px 0;
}

.footer-bottom {
    border-top: 1px solid #181818;
    padding: 22px 0;
    text-align: center;
}

.footer-bottom p {
    color: #555;
    font-size: 13px;
}

@media (max-width: 750px) {

    .footer {
        padding: 60px 7% 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* =========================
   PORTFOLIO
========================= */

.portfolio {
    padding: 100px 7%;
    background: #050505;
    color: #fff;
    direction: rtl;
}

.portfolio-title {
    text-align: center;
    margin-bottom: 45px;
}

.portfolio-title span {
    color: #d4af37;
    font-size: 15px;
    letter-spacing: 1px;
}

.portfolio-title h2 {
    font-size: 34px;
    margin: 15px 0;
}

.portfolio-title p {
    color: #aaa;
    font-size: 15px;
}


/* فیلترها */

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #333;
    padding: 11px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #d4af37;
    color: #000;
    border-color: #d4af37;
}


/* گالری */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.portfolio-item {
    position: relative;
    height: 330px;
    overflow: hidden;
    border-radius: 14px;
    background: #111;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.5s;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}


/* نوشته روی عکس */

.portfolio-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(
        transparent,
        rgba(0,0,0,0.9)
    );
}

.portfolio-overlay span {
    color: #d4af37;
    font-size: 13px;
}

.portfolio-overlay h3 {
    margin-top: 8px;
    font-size: 19px;
}


/* موبایل */

@media (max-width: 900px) {

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .portfolio {
        padding: 70px 5%;
    }

    .portfolio-title h2 {
        font-size: 26px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item {
        height: 300px;
    }

}

/* =========================
   SERVICES
========================= */

.services {
    padding: 100px 7%;
    background: #080808;
    color: #fff;
    direction: rtl;
}

.services-title {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 55px;
}

.services-title span {
    color: #d4af37;
    font-size: 15px;
    font-weight: bold;
}

.services-title h2 {
    font-size: 36px;
    margin: 15px 0;
}

.services-title p {
    color: #aaa;
    line-height: 2;
    font-size: 15px;
}


/* کارت‌ها */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.service-card {
    background: linear-gradient(
        145deg,
        #151515,
        #0b0b0b
    );

    border: 1px solid rgba(212, 175, 55, 0.18);

    border-radius: 18px;

    padding: 35px 25px;

    text-align: center;

    transition: 0.4s;

    position: relative;

    overflow: hidden;
}


/* خط طلایی بالای کارت */

.service-card::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 0%;
    height: 3px;

    background: #d4af37;

    transition: 0.4s;
}


/* افکت هاور */

.service-card:hover {
    transform: translateY(-10px);

    border-color: rgba(212, 175, 55, 0.6);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.5);
}

.service-card:hover::before {
    width: 100%;
}


/* آیکون */

.service-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;

    border-radius: 50%;

    background: rgba(212, 175, 55, 0.08);

    border: 1px solid rgba(212, 175, 55, 0.25);
}


/* عنوان */

.service-card h3 {
    font-size: 20px;

    margin-bottom: 15px;

    color: #fff;
}


/* توضیحات */

.service-card p {
    color: #999;

    font-size: 14px;

    line-height: 2;

    margin: 0;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .services {
        padding: 75px 5%;
    }

    .services-title h2 {
        font-size: 27px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 20px;
    }

}

/* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;

    position: fixed;
    top: 0;
    right: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 7%;

    background: rgba(5, 5, 5, 0.75);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(212, 175, 55, 0.12);

    direction: rtl;
}


/* لوگو */

.nav-logo a {
    color: #d4af37;

    text-decoration: none;

    font-size: 27px;

    font-weight: bold;
}


/* لینک‌ها */

.nav-links {
    display: flex;

    align-items: center;

    gap: 30px;

    list-style: none;

    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;

    text-decoration: none;

    font-size: 15px;

    position: relative;

    transition: 0.3s;
}


/* خط طلایی زیر لینک */

.nav-links a::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: #d4af37;

    transition: 0.3s;
}

.nav-links a:hover {
    color: #d4af37;
}

.nav-links a:hover::after {
    width: 100%;
}


/* واتساپ */

.nav-whatsapp {
    text-decoration: none;

    color: #fff;

    background: #25D366;

    padding: 10px 20px;

    border-radius: 25px;

    font-size: 14px;

    transition: 0.3s;
}

.nav-whatsapp:hover {
    transform: translateY(-2px);

    box-shadow:
        0 5px 20px rgba(37, 211, 102, 0.3);
}


/* موبایل */

@media (max-width: 800px) {

    .navbar {
        padding: 15px 5%;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .nav-whatsapp {
        display: none;
    }

    .nav-logo a {
        font-size: 22px;
    }

}

html {
    scroll-behavior: smooth;
}

/* =========================
   HERO BUTTONS
========================= */

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 135px;
    padding: 13px 22px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 14px;
    font-weight: bold;

    transition: 0.3s ease;
}


/* تماس */

.call-btn {
    color: #050505;
    background: #d4af37;
}

.call-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}


/* موبایل */

@media (max-width: 600px) {

    .hero-buttons {
        justify-content: center;
        gap: 10px;
    }

    .hero-buttons a {
        min-width: 125px;
        padding: 12px 15px;
        font-size: 13px;
    }

}

/* =========================
   MOBILE MENU
========================= */

.menu-toggle {
    display: none;

    background: transparent;
    border: none;

    color: #d4af37;

    font-size: 28px;

    cursor: pointer;

    padding: 5px;
}

.mobile-menu {
    display: none;
}


/* فقط موبایل */

@media (max-width: 800px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu {
        position: fixed;

        top: 70px;
        right: 5%;

        width: 90%;

        display: none;

        flex-direction: column;

        gap: 5px;

        padding: 15px;

        background: rgba(10, 10, 10, 0.97);

        border: 1px solid rgba(212, 175, 55, 0.25);

        border-radius: 14px;

        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);

        z-index: 9998;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu a {
        color: #fff;

        text-decoration: none;

        padding: 14px 15px;

        border-radius: 8px;

        transition: 0.3s;

        text-align: right;
    }

    .mobile-menu a:hover {
        background: rgba(212, 175, 55, 0.1);
        color: #d4af37;
    }

    .mobile-menu .mobile-whatsapp {
        margin-top: 8px;

        text-align: center;

        background: #25D366;

        color: #fff;
    }

}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.94);

    display: none;

    align-items: center;
    justify-content: center;

    padding: 30px;

    z-index: 10000;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;

    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;

    top: 25px;
    right: 30px;

    width: 45px;
    height: 45px;

    border-radius: 50%;

    border: 1px solid #d4af37;

    background: #0b0b0b;

    color: #d4af37;

    font-size: 30px;

    cursor: pointer;

    z-index: 10001;

    transition: 0.3s;
}

.lightbox-close:hover {
    background: #d4af37;
    color: #000;
}

.portfolio-item {
    cursor: pointer;
}

