/* --- تنظیمات فونت --- */
@font-face {
    font-family: 'Vazirmatn';
    src: url('Vazirmatn.ttf') format('truetype');
    font-weight: normal;
}

/* --- متغیرهای رنگی (تم صنعتی سنگین) --- */
:root {
    --primary-color: #0d1b2a; /* سرمه‌ای خیلی تیره و با ابهت */
    --secondary-color: #1b263b; /* سرمه‌ای روشن‌تر */
    --accent-color: #ff9f1c;  /* نارنجی صنعتی */
    --text-dark: #1f1f1f;
    --text-light: #555555;
    --bg-light: #f4f6f8;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

/* --- ریست و پایه --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.contact-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
    font-weight: bold;
}
.contact-info a:hover { color: var(--accent-color); }
.divider { color: #ffffff44; }
.social-links { display: flex; gap: 15px; }
.social-links a { font-size: 0.85rem; color: #ccc; }
.social-links a:hover { color: var(--white); }

/* --- Main Header --- */
.main-header {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Section */
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo-img img {
    height: 60px; /* اندازه لوگو */
    width: auto;
}
.logo-text h1 {
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 2px;
}
.logo-text span {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
}

/* Navigation */
.main-nav { margin-right: auto; } /* هل دادن منو به سمت چپ */
.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-list li a {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    padding: 10px 0;
    position: relative;
}
.nav-list li a:hover, .nav-list li a.active {
    color: var(--accent-color);
}
/* افکت زیرخط متحرک */
.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}
.nav-list li a:hover::after { width: 100%; }

/* دکمه تماس ویژه در منو */
.nav-list .btn-contact {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 5px;
    margin-right: 10px;
}
.nav-list .btn-contact:hover {
    background: var(--accent-color);
    color: white !important;
}
.nav-list .btn-contact::after { display: none; }

/* Mobile Menu Button */
.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-color); }

/* --- Footer --- */
.main-footer {
    background-color: #121212; /* رنگ تیره برای فوتر */
    color: #bbb;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 4px solid var(--accent-color);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
}
.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    border-right: 3px solid var(--accent-color);
    padding-right: 10px;
}
.footer-col p {
    text-align: justify;
    line-height: 1.8;
}
.footer-col ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-right: 5px;
}
.contact-col i {
    color: var(--accent-color);
    margin-top: 5px;
}
.contact-col a {
    color: var(--white);
    font-weight: bold;
}
.footer-bottom {
    background: #000;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: #666;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .header-grid { flex-wrap: wrap; }
    .nav-list { display: none; /* مخفی کردن منو در تبلت/موبایل فعلا */ } 
    .mobile-menu-btn { display: block; margin-right: auto;}
    
    .top-bar-content { flex-direction: column; gap: 10px; text-align: center; }
    .contact-info { flex-direction: column; gap: 5px; }
    .divider { display: none; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .logo-text h1 { font-size: 1.3rem; }
    .logo-img img { height: 50px; }
}


/* --- استایل‌های سکشن محصولات (جرثقیل دروازه‌ای) --- */
.product-section {
    padding: 60px 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.main-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 800;
}
.subtitle {
    display: inline-block;
    color: var(--text-light);
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 15px;
}
.subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

/* Gallery Grid */
.image-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}
.gallery-item {
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid #eee;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Content Text */
.content-block p {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.05rem;
    color: #444;
}

/* Types Cards */
.types-wrapper {
    margin: 60px 0;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}
.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.info-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-top: 4px solid var(--primary-color);
}
.info-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--accent-color);
}
.card-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}
.info-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}
.info-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Technical Details */
.technical-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.col-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.check-list li, .star-list li {
    margin-bottom: 12px;
    position: relative;
    padding-right: 25px;
    color: #333;
}
.check-list li::before {
    content: '\f00c'; /* FontAwesome Check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--accent-color);
}
.star-list li::before {
    content: '\f005'; /* FontAwesome Star */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--primary-color);
}

/* Safety Box */
.safety-maintenance-box {
    background: linear-gradient(135deg, #2c3e50, #0d1b2a);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}
.safety-maintenance-box h2 {
    color: var(--accent-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.maintenance-tips {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.maintenance-tips span {
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}
.maintenance-tips i { color: #4cd137; margin-left: 5px; }

/* Buying Guide & CTA */
.buying-guide {
    background-color: #fff3e0; /* نارنجی خیلی کمرنگ */
    border: 2px solid var(--accent-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}
.buying-guide h3 {
    color: #e65100;
    margin-bottom: 15px;
}
.cta-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.btn-primary, .btn-whatsapp {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-primary {
    background: var(--primary-color);
    color: white;
}
.btn-primary:hover { background: #000; color: white;}

.btn-whatsapp {
    background: #25D366;
    color: white;
}
.btn-whatsapp:hover { background: #1ebc57; color: white;}

/* Responsive for this section */
@media (max-width: 992px) {
    .image-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .image-gallery-grid { grid-template-columns: 1fr; }
    .technical-details { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
    .main-title { font-size: 1.6rem; }
}




/* --- استایل‌های سکشن جرثقیل سقفی --- */
.overhead-section {
    padding: 80px 0;
    background-color: #f4f6f9; /* پس‌زمینه متفاوت نسبت به سکشن قبلی */
}

.intro-paragraph {
    max-width: 800px;
    margin: 20px auto 0;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Crane Rows (Zig-Zag) */
.crane-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* کلاس برای برعکس کردن چیدمان در ردیف دوم */
.crane-row.reverse {
    flex-direction: row-reverse;
}

.crane-content {
    flex: 1;
}
.crane-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.crane-content h3 i {
    font-size: 1.2rem;
    color: var(--accent-color);
    background: rgba(245, 127, 23, 0.1);
    padding: 10px;
    border-radius: 50%;
}
.crane-content .description {
    margin-bottom: 20px;
    text-align: justify;
    color: #444;
}
.feature-list li {
    margin-bottom: 12px;
    position: relative;
    padding-right: 20px;
    font-size: 0.95rem;
    color: #555;
}
.feature-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.crane-image {
    flex: 1;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.crane-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.crane-row:hover .crane-image img {
    transform: scale(1.05);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}
.feature-box {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}
.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-bottom-color: var(--accent-color);
}
.f-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.feature-box h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.feature-box p {
    font-size: 0.9rem;
    color: #777;
}

/* CTA Banner */
.cta-banner {
    background: var(--primary-color);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: white;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4='); /* الگوی نقطه‌ای ریز */
}
.cta-banner h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.cta-banner p {
    margin-bottom: 30px;
    opacity: 0.9;
}
.btn-primary-outline {
    display: inline-block;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
}
.btn-primary-outline:hover {
    background: var(--accent-color);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .crane-row { flex-direction: column; text-align: center; gap: 30px; }
    .crane-row.reverse { flex-direction: column; }
    .crane-image { width: 100%; height: 250px; }
    .feature-list li { text-align: right; margin-right: 20px; display: inline-block;} /* سنتر شدن لیست */
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 1.5rem; }
}

/* --- استایل‌های سکشن جرثقیل بازویی --- */
.jib-section {
    padding: 70px 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.inner-title {
    color: var(--primary-color);
    margin: 40px 0 25px;
    font-size: 1.5rem;
    position: relative;
    padding-right: 15px;
}
.inner-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 5px;
    height: 25px;
    width: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Intro Block */
.jib-intro-block {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}
.jib-text { flex: 1.2; }
.jib-img-wrapper {
    flex: 1;
    height: 300px;
    border-radius: 20px 0 20px 0; /* شکل هندسی خاص */
    overflow: hidden;
    box-shadow: var(--shadow);
}
.jib-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.range-badges {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}
.badge-180, .badge-360 {
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.badge-180 { background: #e3f2fd; color: #1565c0; }
.badge-360 { background: #fff3e0; color: #ef6c00; }

.note-box {
    background: #f9f9f9;
    border-right: 3px solid #777;
    padding: 15px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* Jib Types Grid */
.jib-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}
.type-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}
.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}
.deg-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1;
}
.deg-icon i { font-size: 0.7rem; margin-top: 3px; color: var(--accent-color); }
.type-card h4 { font-size: 1rem; margin-bottom: 8px; color: #333; }
.type-card p { font-size: 0.85rem; color: #777; }

/* Rotary Section */
.rotary-section {
    display: flex;
    gap: 40px;
    background: #f4f6f8;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 60px;
}
.rotary-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}
.rotary-img img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.rotary-content { flex: 1.5; }

.pros-cons-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}
.pc-col {
    flex: 1;
    background: white;
    padding: 15px;
    border-radius: 8px;
}
.pc-col h4 { margin-bottom: 10px; font-size: 1rem; border-bottom: 1px solid #eee; padding-bottom: 5px;}
.pros h4 { color: #2e7d32; }
.cons h4 { color: #c62828; }
.pc-col ul li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    position: relative;
    padding-right: 15px;
    color: #555;
}
.pc-col ul li::before {
    position: absolute;
    right: 0;
    top: 5px;
    font-size: 0.7rem;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}
.pros ul li::before { content: '\f00c'; color: #2e7d32; } /* تیک */
.cons ul li::before { content: '\f00d'; color: #c62828; } /* ضربدر */

/* Winch Tech Section */
.winch-tech-section {
    border: 2px dashed #ddd;
    padding: 30px;
    border-radius: 15px;
}
.tech-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}
.tech-text { flex: 1.2; }
.tech-text p { margin-bottom: 15px; text-align: justify; }
.highlight-tip {
    background: #fff8e1;
    border: 1px solid #ffecb3;
    color: #ff6f00;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.tech-images {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.t-img { text-align: center; }
.t-img img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: white;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 5px;
}
.t-img span {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .jib-intro-block, .rotary-section, .tech-grid { flex-direction: column; }
    .jib-img-wrapper, .rotary-img { width: 100%; height: 250px; }
    .jib-types-grid { grid-template-columns: repeat(2, 1fr); }
    .pros-cons-wrapper { flex-direction: column; }
}
@media (max-width: 600px) {
    .jib-types-grid { grid-template-columns: 1fr; }
    .tech-images { grid-template-columns: 1fr; }
}



/* --- استایل‌های سکشن جرثقیل قابل حمل --- */
.portable-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, #fcfcfc);
    border-top: 5px solid var(--accent-color); /* جداکننده رنگی */
}

/* Dashboard Specs */
.specs-dashboard {
    display: flex;
    justify-content: space-between;
    background: var(--primary-color);
    color: white;
    padding: 30px 50px;
    border-radius: 15px;
    margin-bottom: 60px;
    box-shadow: 0 10px 25px rgba(13, 27, 42, 0.2);
    flex-wrap: wrap;
    gap: 20px;
}
.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 150px;
    border-left: 1px solid rgba(255,255,255,0.1);
}
.spec-item:last-child { border-left: none; }
.spec-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1.2;
}
.spec-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}
.spec-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
}

/* Content & Gallery Wrapper */
.portable-content-wrapper {
    display: flex;
    gap: 50px;
    margin-bottom: 70px;
    align-items: flex-start;
}
.portable-text { flex: 1; }
.portable-text h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.6rem;
}
.portable-text p {
    margin-bottom: 15px;
    color: #555;
    text-align: justify;
}
.order-alert {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed #2e7d32;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    margin-top: 20px;
}

/* Gallery Grid Styling */
.portable-gallery {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.p-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.p-img:hover img { transform: scale(1.05); }

.main-p-img {
    height: 300px;
}
.sub-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.sub-images .p-img {
    height: 120px;
}

/* Components Grid */
.comp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.comp-card {
    background: white;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: 0.3s;
}
.comp-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}
.comp-icon {
    background: #f0f2f5;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.comp-info h4 {
    color: #333;
    margin-bottom: 5px;
    font-size: 1.1rem;
}
.comp-info p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Highlight special card (Wheels) */
.highlight-card {
    background: #fff8e1; /* زرد خیلی کمرنگ */
    border-color: #ffe082;
}
.highlight-card .comp-icon {
    background: var(--accent-color);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .portable-content-wrapper { flex-direction: column; }
    .portable-gallery { width: 100%; }
    .main-p-img { height: 250px; }
}
@media (max-width: 768px) {
    .specs-dashboard { flex-direction: column; gap: 30px; }
    .spec-item { border-left: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
    .spec-item:last-child { border-bottom: none; padding-bottom: 0; }
    .sub-images { grid-template-columns: repeat(3, 1fr); }
    .sub-images .p-img { height: 80px; }
}


/* --- استایل‌های سکشن وینچ برقی --- */
.winch-section {
    padding: 80px 0;
    background-color: #fdfdfd;
}

/* Comparison Block */
.comparison-block {
    display: flex;
    gap: 40px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 60px;
    align-items: center;
}
.comp-text { flex: 1.5; }
.comp-text h3 { color: var(--primary-color); margin-bottom: 15px; }
.comp-text p { text-align: justify; margin-bottom: 20px; color: #555; }

.tech-insight {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    font-size: 0.9rem;
    color: #0d47a1;
}
.tech-insight i { font-size: 1.5rem; margin-top: 5px; }

.comp-image {
    flex: 1;
    text-align: center;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
}
.comp-image img {
    max-height: 250px;
    object-fit: contain;
}
.img-caption {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
    font-style: italic;
}

/* Advantages Grid */
.advantages-row {
    margin-bottom: 70px;
}
.adv-title {
    text-align: center;
    margin-bottom: 30px;
}
.adv-title h3 { color: var(--primary-color); font-size: 1.8rem; }
.adv-title p { color: #777; }

.adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.adv-card {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}
.adv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--accent-color);
}
.adv-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}
.adv-card h4 { margin-bottom: 10px; color: var(--text-dark); }
.adv-card p { font-size: 0.9rem; color: #666; }

/* Products Showcase */
.products-showcase { margin-bottom: 50px; }
.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}
.p-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.p-img {
    height: 250px;
    overflow: hidden;
}
.p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.p-card:hover .p-img img { transform: scale(1.1); }
.p-desc { padding: 25px; flex: 1; }
.p-desc h4 { color: var(--primary-color); margin-bottom: 15px; font-size: 1.2rem; }
.p-desc ul { padding-right: 20px; list-style: disc; color: #555; }
.p-desc ul li { margin-bottom: 8px; font-size: 0.95rem; }

.check-list-sm { list-style: none !important; padding-right: 0 !important;}
.check-list-sm li { position: relative; padding-right: 20px; }
.check-list-sm li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-size: 0.8rem;
    top: 3px;
}

/* Bulgarian Banner */
.bulgarian-banner {
    background: linear-gradient(135deg, #1b263b, #2c3e50);
    color: white;
    border-radius: 15px;
    padding: 5px; /* Border effect */
}
.bg-content {
    border: 1px dashed rgba(255,255,255,0.3);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 40px;
}
.bg-text { flex: 1.5; }
.bg-text h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.bg-text p { line-height: 1.8; opacity: 0.9; text-align: justify; }
.bg-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.2);
}
.bg-img img { width: 100%; height: auto; display: block; }

/* General Features Footer */
.general-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.general-features span {
    background: #f1f8e9;
    color: #33691e;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
}
.general-features i { margin-left: 8px; }

/* Responsive */
@media (max-width: 992px) {
    .comparison-block { flex-direction: column; }
    .comp-image img { max-height: 200px; }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .bg-content { flex-direction: column-reverse; text-align: center; }
    .bg-text p { text-align: center; }
}
@media (max-width: 768px) {
    .product-row { grid-template-columns: 1fr; }
    .adv-grid { grid-template-columns: 1fr; }
}


/* --- استایل‌های سکشن تابلو برق --- */
.electrical-section {
    padding: 80px 0;
    background-color: #f0f2f5;
    background-image: radial-gradient(#dfe6e9 1px, transparent 1px);
    background-size: 20px 20px; /* الگوی نقطه‌ای ریز مهندسی */
}

/* Inverter Showcase */
.inverter-showcase {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}
.inverter-showcase::before {
    content: '';
    position: absolute;
    top: 0; right: 0; width: 5px; height: 100%;
    background: var(--accent-color);
}
.inv-content { flex: 1.5; padding-left: 30px; }
.badge-tech {
    display: inline-block;
    background: #e3f2fd;
    color: #1565c0;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.inv-content h3 { color: var(--primary-color); font-size: 1.8rem; margin-bottom: 15px; }
.inv-content p { color: #555; text-align: justify; margin-bottom: 20px; }

.inv-image {
    flex: 1;
    position: relative;
    text-align: center;
}
.inv-image img {
    max-width: 100%;
    max-height: 250px;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}
/* افکت پالس پشت اینورتر */
.pulse-effect {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; height: 200px;
    background: rgba(245, 127, 23, 0.2);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* Panel Overview */
.panel-overview {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}
.panel-img-group {
    flex: 1;
    position: relative;
    height: 350px;
}
.p-img-main {
    width: 80%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.p-img-main img { width: 100%; height: 100%; object-fit: cover; }
.p-img-sub {
    position: absolute;
    bottom: -20px;
    left: -20px; /* RTL Note: در حالت RTL شاید نیاز به تغییر جهت باشد اما فعلا استاندارد */
    width: 50%;
    height: 50%;
    border: 5px solid white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.p-img-sub img { width: 100%; height: 100%; object-fit: cover; }

.panel-text { flex: 1.2; }
.panel-text h3 { color: var(--primary-color); font-size: 1.6rem; margin-bottom: 15px; }
.panel-text p { margin-bottom: 20px; text-align: justify; line-height: 1.8; }
.support-box {
    background: #263238;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.support-box i { font-size: 1.5rem; color: var(--accent-color); }

/* Components Grid */
.components-list-wrapper { margin-bottom: 50px; }
.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.comp-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: 0.3s;
}
.comp-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: translateY(-3px);
}
.comp-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: #f5f5f5;
    padding: 10px;
    border-radius: 8px;
}
.comp-item:hover i { background: var(--primary-color); color: white; transition: 0.3s; }
.c-info { display: flex; flex-direction: column; }
.c-info strong { font-size: 1rem; color: #333; margin-bottom: 5px; }
.c-info span { font-size: 0.85rem; color: #777; }

/* Structural Feature Box */
.structural-feature {
    background: linear-gradient(to left, #2c3e50, #4ca1af); /* گرادینت صنعتی */
    border-radius: 15px;
    padding: 0;
    display: flex;
    overflow: hidden;
    color: white;
}
.sf-content {
    flex: 1.5;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sf-content h3 { margin-bottom: 20px; font-size: 1.5rem; color: white;}
.sf-content ul { list-style: none; }
.sf-content ul li { margin-bottom: 12px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.sf-content ul li i { color: #81ecec; }
.sf-image {
    flex: 1;
    min-height: 250px;
}
.sf-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .inverter-showcase { flex-direction: column; text-align: center; }
    .inv-content { padding-left: 0; margin-bottom: 30px; }
    .panel-overview { flex-direction: column-reverse; }
    .panel-img-group { width: 100%; }
    .structural-feature { flex-direction: column; }
    .sf-image { height: 200px; }
}
@media (max-width: 600px) {
    .p-img-sub { display: none; } /* مخفی کردن عکس کوچک در موبایل برای شلوغ نشدن */
    .components-grid { grid-template-columns: 1fr; }
}



/* --- استایل‌های اختصاصی صفحات گالری و کاتالوگ --- */

/* هدر صفحات داخلی */
.page-header {
    background: linear-gradient(rgba(13, 27, 42, 0.8), rgba(13, 27, 42, 0.8)), url('assets/gallery-bg.jpg'); /* یک عکس پس‌زمینه کلی */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}
.page-header h1 { font-size: 2.5rem; margin-bottom: 10px; color: var(--accent-color); }
.page-header p { font-size: 1.1rem; opacity: 0.9; }

/* گرید تصاویر (مشترک) */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding-bottom: 60px;
}

/* کارت‌های گالری */
.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 27, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i {
    font-size: 2rem;
    color: white;
    background: var(--accent-color);
    padding: 15px;
    border-radius: 50%;
}

/* کارت‌های کاتالوگ */
.catalog-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}
.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}
.cat-img {
    height: 300px; /* ارتفاع بلند برای نمایش صفحات کاتالوگ */
    border-bottom: 1px solid #eee;
    overflow: hidden;
}
.cat-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.cat-info { padding: 15px; text-align: center; }
.cat-info h3 { font-size: 1rem; color: var(--primary-color); margin-bottom: 10px; }
.btn-download {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.85rem;
}
.btn-download:hover { background: var(--accent-color); color: white; }

/* --- استایل لایت‌باکس (نمایش بزرگ عکس) --- */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none; /* پیش‌فرض مخفی */
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border: 3px solid white;
    border-radius: 5px;
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}
.lightbox-caption {
    position: absolute;
    bottom: 20px;
    color: white;
    font-size: 1.1rem;
    background: rgba(0,0,0,0.5);
    padding: 5px 15px;
    border-radius: 20px;
}
