/* ------------------------------
   تنظیمات اولیه
------------------------------ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Vazirmatn", sans-serif;
    background-color: #ffffff;
    color: #222222;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ------------------------------
   Container
------------------------------ */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* ------------------------------
   Header
------------------------------ */

.header {
    width: 100%;
    height: 80px;
    background-color: #111111;
    color: white;

    display: flex;
    align-items: center;
}


/* ------------------------------
   Header Container
------------------------------ */

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ------------------------------
   Logo
------------------------------ */

.logo {
    font-size: 24px;
    font-weight: bold;
}


/* ------------------------------
   Navigation
------------------------------ */

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    font-size: 15px;
    color: #dddddd;
    transition: 0.3s;
}

.nav a:hover {
    color: #ffffff;
}


/* ------------------------------
   Header Button
------------------------------ */

.header-btn {
    background-color: #d4a017;
    color: #111111;

    padding: 12px 22px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: bold;

    transition: 0.3s;
}

.header-btn:hover {
    background-color: #f0bd32;
}


/* ------------------------------
   Hero Section
------------------------------ */

.hero {
    min-height: calc(100vh - 80px);

    background-color: #0a0a09;

    color: white;

    display: flex;
    align-items: center;
}


/* Hero Content */

.hero-content {
    display: flex;
    align-items: center;
}


/* Hero Text */

.hero-text {
    max-width: 700px;
}


/* Label */

.hero-label {
    display: inline-block;

    color: #d4a017;

    font-size: 14px;
    font-weight: bold;

    margin-bottom: 20px;
}


/* Main Heading */

.hero h1 {
    font-size: 64px;
    line-height: 1.3;

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: #d4a017;
}


/* Description */

.hero p {
    max-width: 650px;

    color: #cccccc;

    font-size: 18px;
    line-height: 2;

    margin-bottom: 35px;
}


/* Buttons */

.hero-buttons {
    display: flex;
    gap: 15px;
}


/* General Button */

.btn {
    display: inline-block;

    padding: 14px 28px;

    border-radius: 8px;

    font-size: 15px;
    font-weight: bold;

    transition: 0.3s;
}


/* Primary Button */

.btn-primary {
    background-color: #d4a017;
    color: #111111;
}

.btn-primary:hover {
    background-color: #f0bd32;
}


/* Secondary Button */

.btn-secondary {
    border: 1px solid #555555;
    color: white;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #111111;
}


/* ------------------------------
   Hero Image
------------------------------ */

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}


.hero-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.hero-image img {
    width: min(100%, 500px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
}


.image-placeholder {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    background-color: #202020;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: #777;
}

.image-placeholder span {
    font-size: 22px;
    margin-bottom: 10px;
}

.image-placeholder small {
    font-size: 14px;
}



/* ------------------------------
   Services Section
------------------------------ */

.services {
    padding: 100px 0;
    background-color: #ffffff;
    color: #222222;
}


/* Section Title */

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title span {
    color: #d4a017;
    font-size: 14px;
    font-weight: bold;
}

.section-title h2 {
    font-size: 40px;
    margin: 15px 0;
}

.section-title p {
    color: #777777;
    font-size: 16px;
}


/* Services Grid */

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


/* Service Card */

.service-card {
    padding: 35px;

    border: 1px solid #eeeeee;
    border-radius: 15px;

    background-color: #ffffff;

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);

    border-color: #d4a017;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}


/* Service Number */

.service-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 10px;

    background-color: #171717;
    color: #d4a017;

    font-weight: bold;
}


.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}


.service-card p {
    color: #777777;
    line-height: 1.9;
    font-size: 14px;
}



/* ------------------------------
   Portfolio Section
------------------------------ */

.portfolio {
    padding: 100px 0;
    background-color: #f7f7f7;
    color: #222;
}

/* Filter Buttons */

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 11px 22px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #d4a017;
    border-color: #d4a017;
    color: #111;
}

/* Portfolio Grid */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

/* Portfolio Card */

.portfolio-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Image Placeholder */

.portfolio-image {
    height: 230px;
    background-color: #e9e9e9;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 15px;
    
}




/* کادر عکس‌های نمونه‌کار */

.portfolio-image {
    width: 100%;
    height: 350px; /* ارتفاع بیشتر برای عکس‌ها */
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 12px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    display: block;
}






/* Card Information */

.portfolio-info {
    padding: 22px;
}

.portfolio-info h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.portfolio-info p {
    font-size: 14px;
    color: #777;
    line-height: 1.8;
}

/* Filter Animation */

.portfolio-card.hidden {
    display: none;
}

/* Responsive Design */

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .portfolio {
        padding: 65px 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .filter-btn {
        padding: 10px 15px;
    }
}


/* ------------------------------
   About Section
------------------------------ */

.about {
    padding: 100px 0;
    background-color: #ffffff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 70px;
}


.about-image {
    max-width: 470px;
    height: 480px;
} 

.about-image .image-placeholder {
    background-color: #171717;
    color: #777;
    
}


.about img {
    flex: 1;
    border-radius: 14px;
    width: 470px;
    height: 480px;
}


.about-text {
    flex: 1;
}

.about-label {
    display: inline-block;
    color: #d4a017;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.about-text h2 {
    font-size: 42px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.about-text h2 span {
    display: block;
    color: #d4a017;
}

.about-text p {
    color: #666;
    font-size: 15px;
    line-height: 2;
    margin-bottom: 15px;
}

.about-features {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.about-features div {
    flex: 1;
    padding: 20px 15px;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    background-color: #fafafa;
}

.about-features strong {
    display: block;
    color: #d4a017;
    font-size: 20px;
    margin-bottom: 8px;
}

.about-features span {
    font-size: 13px;
    color: #444;
}


/* Responsive */

@media (max-width: 800px) {

    .about {
        padding: 70px 0;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-image,
    .about-text {
        width: 100%;
    }

    .about-image .image-placeholder {
        height: 350px;
    }

    .about-text h2 {
        font-size: 32px;
    }

    .about-features {
        flex-direction: column;
    }

}


/* ------------------------------
   About Section
------------------------------ */

.about {
    padding: 100px 0;
    background-color: #ffffff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 70px;
}

.about-image {
    flex: 1;
}

.about-image .image-placeholder {
    max-width: none;
    height: 480px;
    background-color: #171717;
    border: 1px dashed #444;
    color: #777;
}

.about-text {
    flex: 1;
}

.about-label {
    display: inline-block;
    color: #d4a017;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.about-text h2 {
    font-size: 42px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.about-text h2 span {
    display: block;
    color: #d4a017;
}

.about-text p {
    color: #666;
    font-size: 15px;
    line-height: 2;
    margin-bottom: 15px;
}

.about-features {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.about-features div {
    flex: 1;
    padding: 20px 15px;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    background-color: #fafafa;
}

.about-features strong {
    display: block;
    color: #d4a017;
    font-size: 20px;
    margin-bottom: 8px;
}

.about-features span {
    font-size: 13px;
    color: #444;
}


/* Responsive */

@media (max-width: 800px) {

    .about {
        padding: 70px 0;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-image,
    .about-text {
        width: 100%;
    }

    .about-image .image-placeholder {
        height: 350px;
    }

    .about-text h2 {
        font-size: 32px;
    }

    .about-features {
        flex-direction: column;
    }

}


/* حرکت نرم بین بخش‌های سایت */
html {
    scroll-behavior: smooth;
}

/* بخش اصلی تماس با ما */
.contact-section {
    background: #202020;
    color: #fff;
    padding: 90px 20px;
    direction: rtl;
    scroll-margin-top: 80px;
}

/* محدود کردن عرض محتوا */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* متن کوچک بالای عنوان */
.contact-label {
    color: #d6b36a;
    font-size: 14px;
}

/* عنوان اصلی */
.contact-section h2 {
    font-size: 32px;
    margin: 15px 0;
}

/* توضیحات */
.contact-description {
    color: #bdbdbd;
    line-height: 2;
    max-width: 650px;
    margin: 0 auto 40px;
}

/* چیدمان کارت‌های تماس */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

/* هر کارت */
.contact-card {
    background: #292929;
    border: 1px solid #3a3a3a;
    border-radius: 14px;
    padding: 30px 20px;
    transition: 0.3s ease;
}

.contact-card:hover {
    border-color: #d6b36a;
    transform: translateY(-5px);
}

/* آیکون */
.contact-icon {
    color: #d6b36a;
    font-size: 35px;
    margin-bottom: 15px;
}

/* عنوان کارت */
.contact-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

/* توضیحات کارت */
.contact-card p {
    color: #bdbdbd;
    font-size: 14px;
    line-height: 1.9;
}

/* شماره تماس و متن‌های برجسته */
.contact-link {
    display: inline-block;
    margin-top: 10px;
    color: #d6b36a;
    text-decoration: none;
    font-size: 15px;
}

/* قسمت ثبت سفارش */
.contact-order {
    margin-top: 35px;
    padding: 35px 20px;
    background: #292929;
    border: 1px solid #d6b36a;
    border-radius: 14px;
}

.contact-order h3 {
    font-size: 23px;
    margin-bottom: 12px;
}

.contact-order p {
    color: #bdbdbd;
    line-height: 2;
}

/* دکمه تماس */
.contact-button {
    display: inline-block;
    margin-top: 15px;
    padding: 13px 28px;
    background: #d6b36a;
    color: #202020;
    border-radius: 7px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.contact-button:hover {
    background: #f0d28f;
    transform: translateY(-2px);
}

/* نمایش در تبلت و موبایل */
@media (max-width: 800px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-section h2 {
        font-size: 26px;
    }
}



/* ثابت ماندن منوی سایت بالای صفحه */
header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: #202020;
}
