﻿
@font-face {
    font-family: 'iran-yekan-400';
    src: url('../fonts/yekan/iran-yekan-400.ttf') format('truetype');
}
:root {
    --primary-color: #2c3e50;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'iran-yekan-400', Tahoma, sans-serif;
text-decoration:none!important;

}

body {
    background-color: #f9f9f9;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

    .logo a {
        color: white;
        text-decoration: none;
    }

/* Navigation Styles */
nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

    .nav-links li {
        margin-left: 1.5rem;
        padding-top:18px;
    }

    .nav-links a {
        color: white;
        text-decoration: none;
        font-size: 1rem;
        transition: color 0.3s;
    }

        .nav-links a:hover {
            color: #d6e3ef;
        }

.support-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 1rem;
    transition: background-color 0.3s;
}

    .support-btn:hover {
        background-color: #c0392b;
    }

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 70vh;
    background-image: url('../img/hero.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 2rem;
    margin-top: 1.5rem;
    font-size: 19px;
    font-weight: 400;
    text-align: right;
    color: #e3dbdb;
    background: #2120206e;
    padding: 1rem;
    border-radius: 0 15px 15px 0;
    border-right: 6px solid #3c7fe7;
}
.newsbtn{
    text-align:center;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.btn-hero{
    text-align:center;
}
.cta-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

    .cta-btn:hover {
        background-color: #ffffff;
    }

/* Services Section */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-title h2 {
        font-size: 2rem;
        color: var(--dark-color);
        position: relative;
        display: inline-block;
        padding-bottom: 10px;
    }

        .section-title h2::after {
            content: '';
            position: absolute;
            width: 50%;
            height: 3px;
            background-color: var(--primary-color);
    top:48px;
            left: 25%;
        }

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-box {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

    .service-box:hover {
        transform: translateY(-10px);
    }

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-box p {
    color: #666;
    line-height: 1.6;
}

/* Recent Articles */
.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

    .article-card:hover {
        transform: translateY(-10px);
    }

.article-img {
    height: 200px;
    overflow: hidden;
}

    .article-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.article-card:hover .article-img img {
    transform: scale(1.1);
}

.article-content {
    padding: 1.5rem;
}

    .article-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        color: var(--dark-color);
    }

    .article-content p {
        color: #666;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align:justify;
     }

.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .about-img img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Car Brands */
.brands-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.brand-item {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    transition: transform 0.3s;
}

    .brand-item:hover {
        transform: translateY(-10px);
    }

    .brand-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

/* Call to Action */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

    .cta-section h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .cta-section p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

/* Instagram Section */
.instagram-section {
    text-align: center;
    padding: 5rem 0;
}

    .instagram-section h2 {
        font-size: 2rem;
        color: var(--dark-color);
        margin-bottom: 1.5rem;
    }

    .instagram-section p {
        color: #666;
        margin-bottom: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.instagram-btn {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
    display: inline-block;
}

    .instagram-btn:hover {
        transform: translateY(-5px);
    }

/* Map Section */
.map-section {
    padding: 0;
    height: 400px;
}

    .map-section iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

    .footer-col h3::after {
        content: '';
        position: absolute;
        width: 50px;
        height: 2px;
        background-color: var(--primary-color);
        bottom: 0;
        right: 0;
    }

.footer-col p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 0.8rem;
    }

    .footer-links a {
        color: #bbb;
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer-links a:hover {
            color: white;
        }

.social-links {
    display: flex;
    gap: 1rem;
}

    .social-links a {
        color: white;
        background-color: rgba(255, 255, 255, 0.1);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s;
    }

        .social-links a:hover {
            background-color: var(--primary-color);
        }

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

    .scroll-top.active {
        opacity: 1;
        visibility: visible;
    }

/* Responsive Styles */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-img {
        order: -1;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s;
    }

        .nav-links.active {
            right: 0;
        }

        .nav-links li {
            margin: 1rem 0;
        }

    .support-btn {
        margin-right: 0;
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .cta-btn, .instagram-btn {
        padding: 0.6rem 1.5rem;
    }

    .service-box, .article-card {
        padding: 1.5rem;
    }

    .brand-item {
        width: 100px;
        height: 70px;
    }
}
.contact-page {
    padding-top: 100px;
    padding-bottom: 50px;
}

.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero.jpeg');

    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

    .contact-hero h1 {
        font-size: 2.5rem;
    }

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

    .contact-info h2::after {
        content: '';
        position: absolute;
        width: 100px;
        height: 3px;
        background-color: var(--primary-color);
        bottom: 0;
        right: 0;
    }

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: 1rem;
}
.btn-style {
    background-color: var(--primary-color);
    color:white;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: #555;
    line-height: 1.6;
}

.contact-hours h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

    .hours-table tr {
        border-bottom: 1px solid #eee;
    }

        .hours-table tr:last-child {
            border-bottom: none;
        }

    .hours-table td {
        padding: 0.8rem 0;
    }

        .hours-table td:last-child {
            color: #555;
        }

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

    .contact-form h2 {
        font-size: 2rem;
        color: var(--dark-color);
        margin-bottom: 1.5rem;
        position: relative;
        padding-bottom: 10px;
    }

        .contact-form h2::after {
            content: '';
            position: absolute;
            width: 100px;
            height: 3px;
            background-color: var(--primary-color);
            bottom: 0;
            right: 0;
        }

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary-color);
    }

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .submit-btn:hover {
        background-color: #c0392b;
    }

.contact-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 3rem;
}

.contact-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
}

    .contact-img:hover {
        transform: scale(1.05);
    }

    .contact-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.img-large {
    grid-column: span 2;
    height: 250px;
}

.img-small {
    height: 200px;
}
/* استایل‌های اختصاصی صفحه درباره ما */
.about-page {
    background-color: #f9f9f9;
    color: #333;
}

.about-header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero.jpeg');

    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 50px;
    padding-top: 80px;
}

    .about-hero h1 {
        font-size: 2.5rem;
        font-weight: bold;
    }

.about-main {
    padding: 50px 0;
}

.about-content2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 50px;
}

.about-text h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

    .about-text h2::after {
        content: '';
        position: absolute;
        width: 100px;
        height: 3px;
        background-color: ;
        bottom: 0;
        right: 0;
    }

.about-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: justify;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.about-feature-box {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
}

    .about-feature-box:hover {
        transform: translateY(-10px);
    }

.about-feature-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
}

    .about-img:hover {
        transform: scale(1.05);
    }

    .about-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.about-img-large {
    grid-column: span 2;
    height: 352px;
}

.about-img-small {
    height: 474px;
}

/* Video Section */
.about-video {
    padding: 50px 0;
    background-color: #f0f0f0;
}

.about-section-title {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

    .about-section-title::after {
        content: '';
        position: absolute;
        width: 100px;
        height: 3px;
        background-color: var(--primary-color);
        bottom: 0;
        right: calc(50% - 50px);
    }

.about-video-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
.about-gallery {
    padding: 50px 0;
}

.about-gallery-slider {
    margin: 0 auto;
    max-width: 1200px;
}

.about-slide {
    padding: 0 10px;
}

    .about-slide img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
/* حالت پیش‌فرض نقاط */
ul.slick-dots li button {
    width: 15px !important;
    height: 15px !important;
    background: #ccc !important;
    border-radius: 50% !important;
}

/* حالت فعال (نقطه انتخاب‌شده) */
ul.slick-dots li.slick-active button {
    background: #ff0000 !important; /* رنگ نقطه فعال */
    width: 18px !important;
    height: 18px !important;
}
.slick-dots {
    position: absolute;
    bottom: -50px !important; /* به جای -25px، یک مقدار مثبت بگذارید */
    width: 100%;
}
/* تنظیم فاصله بین نقاط */
ul.slick-dots li {
    margin: 0 8px !important;
}

/* رسپانسیو */
@media (max-width: 992px) {
    .about-content2 {
        grid-template-columns: 1fr;
    }

    .about-images {
        order: -1;
        margin-bottom: 30px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-video-container iframe {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .about-video-container iframe {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .about-hero h1 {
        font-size: 1.8rem;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-video-container iframe {
        height: 250px;
    }

    .about-img-large {
        height: 250px;
    }

    .about-img-small {
        height: 150px;
    }
}
@media (max-width: 767px) {
    .about-gallery-slider {
        overflow: hidden;
        width: 100%;
    }

    .about-slide {
        padding: 0 5px;
    }

    .slick-list {
        margin: 0 -5px;
    }

    .slick-track {
        display: flex;
    }
}

@media (max-width: 767px) {
    .about-gallery-slider .slick-dots {
        bottom: -30px; /* تنظیم موقعیت نقاط ناوبری */
    }

    .about-gallery-slider .slick-slide {
        padding: 0 5px;
    }

    .about-gallery-slider .slick-list {
        margin: 0 -5px;
    }
}



.articles-list {
    background-color: #f9f9f9;
}

.article-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .article-card:hover {
        transform: translateY(-5px);
    }

    .article-card img {
        height: 200px;
        object-fit: cover;
        width: 100%;
    }

.article-date {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.article-title {
    font-size: 1.2rem;
    color: #333;
    margin: 15px 0;
    min-height: 60px;
}

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover .overlay-content {
    opacity: 1;
}

.overlay-content a {
    color: white;
    font-size: 2rem;
}

/* رسپانسیو */
@media (max-width: 767px) {
    .article-title {
        min-height: auto;
        font-size: 1.1rem;
    }

    .article-card img {
        height: 180px;
    }
}

/* استایل‌های اصلی */
.blogdetail-main {
    font-family: 'IranSans', sans-serif;
    background-color: #f9f9f9;
}

/* تصویر اصلی */
.blogdetail-featuredimg {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .blogdetail-featuredimg img {
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: cover;
    }

/* اطلاعات متا */
.blogdetail-meta {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    color: #6c757d;
}

    .blogdetail-meta li {
        display: flex;
        align-items: center;
        font-size: 0.9rem;
    }

    .blogdetail-meta i {
        margin-left: 5px;
    }

/* عنوان و محتوا */
.blogdetail-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.blogdetail-summary {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blogdetail-fulltext {
    font-size: 1rem;
    color: #444;
    line-height: 1.9;
}

    .blogdetail-fulltext p {
        margin-bottom: 1.5rem;
    }

    .blogdetail-fulltext img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 20px 0;
    }

/* کلمات کلیدی */
.blogdetail-keywords {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.blogdetail-subtitle {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    border-right: 4px solid #2c3e50;
    padding-right: 10px;
}
.sectionbg {
    background-color: #ebebeb;
}
.blogdetail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


@media (max-width: 767px) {
    .hero-content {
        margin-left: 15px;
        margin-right: 15px;
    }
}

.blogdetail-tag {
    background: #f1f1f1;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
    transition: all 0.3s ease;
}

    .blogdetail-tag:hover {
        background: #e74c3c;
        color: white;
    }

/* محصولات ویژه */
.blogdetail-relatedproducts {
    margin-top: 40px;
}

.blogdetail-productcard {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

    .blogdetail-productcard:hover {
        transform: translateY(-5px);
    }

.blogdetail-productimg {
    position: relative;
    height: 200px;
    overflow: hidden;
}

    .blogdetail-productimg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.blogdetail-productcard:hover .blogdetail-productimg img {
    transform: scale(1.05);
}

.blogdetail-productviews {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.blogdetail-productoverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blogdetail-productcard:hover .blogdetail-productoverlay {
    opacity: 1;
}

.blogdetail-productoverlay a {
    color: white;
    font-size: 2rem;
}

.blogdetail-productinfo {
    padding: 20px;
}

    .blogdetail-productinfo h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

        .blogdetail-productinfo h4 a {
            color: #2c3e50;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .blogdetail-productinfo h4 a:hover {
                color: #e74c3c;
            }

.blogdetail-productdesc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.blogdetail-productbtn {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .blogdetail-productbtn:hover {
        background: #c0392b;
        color: white;
    }

    .blogdetail-productbtn i {
        margin-left: 5px;
    }

/* سایدبار */
.blogdetail-sidebar {
    padding-left: 30px;
}

.blogdetail-sidebartitle {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

/* مقالات اخیر */
.blogdetail-recentposts {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.blogdetail-recentpost {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

    .blogdetail-recentpost:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.blogdetail-recentpostlink {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .blogdetail-recentpostlink:hover {
        color: #e74c3c;
    }

.blogdetail-recentpostimg {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.blogdetail-recentposttitle {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

/* دسته بندی محصولات */
.blogdetail-categories {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.blogdetail-categorylist {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .blogdetail-categorylist li {
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px dashed #eee;
    }

        .blogdetail-categorylist li:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

    .blogdetail-categorylist a {
        color: #444;
        text-decoration: none;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
    }

        .blogdetail-categorylist a:hover {
            color: #e74c3c;
        }

    .blogdetail-categorylist i {
        margin-left: 8px;
        color: #e74c3c;
        font-size: 0.8rem;
    }

/* دکمه تماس */
.blogdetail-contactwidget {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.blogdetail-contactbtn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

    .blogdetail-contactbtn:hover {
        background: #c0392b;
        color: white;
    }

    .blogdetail-contactbtn i {
        margin-left: 8px;
    }

/* رسپانسیو */
@media (max-width: 991px) {
    .blogdetail-sidebar {
        padding-left: 15px;
    }

    .blogdetail-title {
        font-size: 1.5rem;
    }

    .blogdetail-productimg {
        height: 180px;
    }
}

@media (max-width: 767px) {
    .blogdetail-sidebar {
        padding-left: 0;
        margin-top: 40px;
    }

    .blogdetail-title {
        font-size: 1.4rem;
    }

    .blogdetail-meta {
        flex-direction: column;
        gap: 8px;
    }

    .blogdetail-featuredimg img {
        max-height: 300px;
    }

    .blogdetail-productcard {
        margin-bottom: 20px;
    }
}

/* کانتینر نشان‌ها */
.contact-floating {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* دکمه‌های ارتباطی */
.contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

    .contact-btn:hover {
        transform: scale(1.1);
    }

/* دکمه واتساپ */

.whatsapp-btn {
    background-color: white;
}
/* دکمه تلفن */
.neshan-btn {
    background-color: white;
}

/* دکمه موقعیت */
.location-btn {
    background-color: white;
}
.btn-read{
    text-align:center;
}
/* توضیح ابزار */
.tooltip {
    position: absolute;
    right: 60px;
    background: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.contact-btn:hover .tooltip {
    opacity: 1;
}

/* رسپانسیو برای موبایل */
@media (max-width: 767px) {
    .contact-floating {
        bottom: 15px;
        left: 15px;
    }

    .contact-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .tooltip {
        font-size: 12px;
        right: 50px;
    }
}
