WordPress: - Refactor hero section layout using CSS Grid for better responsiveness across desktop, tablet, and mobile devices. - Improve spacing and alignment for hero buttons and trust badges. - Fix admin bar offset issues in the hero section. - Clean up redundant HTML tags in front-page template. Laravel: - Change Filament admin panel path from 'admin' to 'panel'. - Clean up comments in web routes.
1903 lines
56 KiB
CSS
1903 lines
56 KiB
CSS
/*
|
||
Theme Name: IFNEX Logistics
|
||
Theme URI: https://ifnex.com
|
||
Author: VernaSoft Group — Kazem Alghasi
|
||
Author URI: https://vernasoft.group
|
||
Description: تم اختصاصی شرکت حمل و نقل بینالمللی IFNEX — طراحی مدرن، سریع و بهینه برای سئو
|
||
Version: 1.0.0
|
||
Requires at least: 6.0
|
||
Tested up to: 6.7
|
||
Requires PHP: 8.0
|
||
License: Proprietary
|
||
License URI: https://ifnex.com/license
|
||
Text Domain: ifnex
|
||
Tags: logistics, rtl, custom-menu, custom-logo, translation-ready
|
||
*/
|
||
|
||
/* ─── Design Tokens ───────────────────────────────── */
|
||
:root {
|
||
--primary: #f59e0b;
|
||
--primary-dark: #d97706;
|
||
--primary-light: #fef3c7;
|
||
--success: #059669;
|
||
--danger: #dc2626;
|
||
--info: #2563eb;
|
||
--gray-900: #111827;
|
||
--gray-800: #1f2937;
|
||
--gray-700: #374151;
|
||
--gray-600: #4b5563;
|
||
--gray-500: #6b7280;
|
||
--gray-400: #9ca3af;
|
||
--gray-300: #d1d5db;
|
||
--gray-200: #e5e7eb;
|
||
--gray-100: #f3f4f6;
|
||
--white: #ffffff;
|
||
--radius-sm: 6px;
|
||
--radius-md: 12px;
|
||
--radius-lg: 20px;
|
||
--shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
|
||
--shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
|
||
--shadow-lg: 0 10px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
|
||
--shadow-amber: 0 8px 32px rgba(245,158,11,.35);
|
||
--transition: 0.25s cubic-bezier(.4,0,.2,1);
|
||
}
|
||
|
||
/* ─── Reset & Base ────────────────────────────────── */
|
||
*,::before,::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||
html { scroll-behavior: smooth; direction: rtl; font-size: 16px; }
|
||
body {
|
||
font-family: 'Vazirmatn', 'IranYekan', Tahoma, sans-serif;
|
||
background: var(--white);
|
||
color: var(--gray-900);
|
||
line-height: 1.6;
|
||
overflow-x: hidden;
|
||
}
|
||
a { text-decoration: none; color: inherit; }
|
||
ul,ol { list-style: none; }
|
||
img { max-width: 100%; display: block; }
|
||
button { cursor: pointer; font-family: inherit; border: none; background: none; }
|
||
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
|
||
|
||
/* ─── Buttons ─────────────────────────────────────── */
|
||
.btn {
|
||
display: inline-flex; align-items: center; gap: 8px;
|
||
padding: 11px 24px; border-radius: var(--radius-sm);
|
||
font-size: 0.9rem; font-weight: 600; transition: var(--transition);
|
||
white-space: nowrap; line-height: 1; border: 1.5px solid transparent;
|
||
}
|
||
.btn-primary {
|
||
background: var(--primary); color: var(--white);
|
||
border-color: var(--primary); box-shadow: var(--shadow-amber);
|
||
}
|
||
.btn-primary:hover {
|
||
background: var(--primary-dark); border-color: var(--primary-dark);
|
||
transform: translateY(-1px); box-shadow: 0 10px 36px rgba(245,158,11,.45);
|
||
}
|
||
.btn-secondary {
|
||
background: transparent; color: var(--gray-700); border-color: var(--gray-300);
|
||
}
|
||
.btn-secondary:hover {
|
||
border-color: var(--primary); color: var(--primary-dark); background: var(--primary-light);
|
||
}
|
||
.btn-white {
|
||
background: var(--white); color: var(--primary-dark);
|
||
font-weight: 700; border-color: var(--white); box-shadow: var(--shadow-md);
|
||
}
|
||
.btn-white:hover { background: var(--primary-light); transform: translateY(-1px); }
|
||
.btn-outline-white {
|
||
background: transparent; color: var(--white); border-color: rgba(255,255,255,.6);
|
||
}
|
||
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
|
||
.btn-lg { padding: 15px 36px; font-size: 1rem; border-radius: var(--radius-md); }
|
||
|
||
/* ─── Header ──────────────────────────────────────── */
|
||
.site-header {
|
||
position: fixed;
|
||
top: 0; right: 0; left: 0;
|
||
z-index: 1000;
|
||
background: rgba(255, 255, 255, 0.95);
|
||
backdrop-filter: blur(16px);
|
||
-webkit-backdrop-filter: blur(16px);
|
||
border-bottom: 1px solid transparent;
|
||
transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
|
||
}
|
||
|
||
.site-header.scrolled {
|
||
box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
|
||
border-bottom-color: var(--gray-200);
|
||
background: rgba(255, 255, 255, 0.98);
|
||
}
|
||
|
||
.header-inner {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
height: 72px;
|
||
gap: 32px;
|
||
}
|
||
|
||
/* ─── Logo ─── */
|
||
.logo {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
flex-shrink: 0;
|
||
text-decoration: none;
|
||
}
|
||
|
||
.logo-icon {
|
||
width: 44px;
|
||
height: 44px;
|
||
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
|
||
border-radius: 10px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.logo-icon svg { width: 26px; height: 26px; }
|
||
|
||
.logo-text {
|
||
display: flex;
|
||
flex-direction: column;
|
||
line-height: 1.1;
|
||
gap: 2px;
|
||
}
|
||
|
||
.logo-name {
|
||
font-size: 1.35rem;
|
||
font-weight: 900;
|
||
color: var(--gray-900);
|
||
letter-spacing: -0.5px;
|
||
}
|
||
|
||
.logo-tagline {
|
||
font-size: 0.68rem;
|
||
color: var(--gray-500);
|
||
font-weight: 500;
|
||
letter-spacing: 0.3px;
|
||
}
|
||
|
||
/* ─── Main Navigation ─── */
|
||
.main-nav {
|
||
flex: 1;
|
||
display: flex;
|
||
justify-content: center;
|
||
}
|
||
|
||
.nav-list {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
.nav-list li {
|
||
margin: 0;
|
||
padding: 0;
|
||
list-style: none;
|
||
}
|
||
|
||
.nav-list a {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 8px 16px;
|
||
border-radius: var(--radius-sm);
|
||
font-size: 0.9rem;
|
||
font-weight: 500;
|
||
color: var(--gray-700);
|
||
text-decoration: none;
|
||
transition: color var(--transition), background var(--transition);
|
||
white-space: nowrap;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.nav-list a:hover {
|
||
color: var(--primary-dark);
|
||
background: var(--primary-light);
|
||
}
|
||
|
||
.nav-list li.current-menu-item > a {
|
||
color: var(--primary-dark);
|
||
background: var(--primary-light);
|
||
font-weight: 600;
|
||
}
|
||
|
||
/* ─── Header Actions ─── */
|
||
.header-actions {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
/* ─── Hamburger ─── */
|
||
.hamburger {
|
||
display: none;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
align-items: center;
|
||
width: 40px;
|
||
height: 40px;
|
||
border-radius: var(--radius-sm);
|
||
gap: 5px;
|
||
background: var(--gray-100);
|
||
border: none;
|
||
cursor: pointer;
|
||
transition: background var(--transition);
|
||
padding: 0;
|
||
}
|
||
|
||
.hamburger:hover {
|
||
background: var(--gray-200);
|
||
}
|
||
|
||
.hamburger span {
|
||
display: block;
|
||
width: 20px;
|
||
height: 2px;
|
||
background: var(--gray-700);
|
||
border-radius: 2px;
|
||
transition: transform var(--transition), opacity var(--transition);
|
||
}
|
||
|
||
.hamburger.open span:nth-child(1) {
|
||
transform: translateY(7px) rotate(45deg);
|
||
}
|
||
|
||
.hamburger.open span:nth-child(2) {
|
||
opacity: 0;
|
||
transform: scaleX(0);
|
||
}
|
||
|
||
.hamburger.open span:nth-child(3) {
|
||
transform: translateY(-7px) rotate(-45deg);
|
||
}
|
||
|
||
/* ─── Mobile Drawer ─── */
|
||
.mobile-drawer {
|
||
display: none;
|
||
position: fixed;
|
||
top: 72px;
|
||
right: 0;
|
||
left: 0;
|
||
bottom: 0;
|
||
background: var(--white);
|
||
z-index: 999;
|
||
padding: 24px;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
transform: translateX(100%);
|
||
transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
|
||
overflow-y: auto;
|
||
border-top: 1px solid var(--gray-200);
|
||
}
|
||
|
||
.mobile-drawer.open {
|
||
transform: translateX(0);
|
||
}
|
||
|
||
.mobile-drawer .nav-list {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4px;
|
||
width: 100%;
|
||
}
|
||
|
||
.mobile-drawer .nav-list a {
|
||
display: block;
|
||
padding: 14px 16px;
|
||
border-radius: var(--radius-md);
|
||
font-size: 1rem;
|
||
font-weight: 600;
|
||
color: var(--gray-700);
|
||
border: 1px solid var(--gray-200);
|
||
transition: all var(--transition);
|
||
text-align: right;
|
||
}
|
||
|
||
.mobile-drawer .nav-list a:hover,
|
||
.mobile-drawer .nav-list li.current-menu-item > a {
|
||
background: var(--primary-light);
|
||
border-color: var(--primary);
|
||
color: var(--primary-dark);
|
||
}
|
||
|
||
.mobile-drawer-actions {
|
||
margin-top: 16px;
|
||
display: flex;
|
||
gap: 12px;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.mobile-drawer-actions .btn {
|
||
justify-content: center;
|
||
width: 100%;
|
||
}
|
||
|
||
/* Mobile Drawer */
|
||
.mobile-drawer {
|
||
display: none; position: fixed; top: 72px; right: 0; left: 0; bottom: 0;
|
||
background: var(--white); z-index: 999; padding: 24px;
|
||
flex-direction: column; gap: 8px; transform: translateX(100%);
|
||
transition: transform 0.3s cubic-bezier(.4,0,.2,1);
|
||
overflow-y: auto; border-top: 1px solid var(--gray-200);
|
||
}
|
||
.mobile-drawer.open { transform: translateX(0); }
|
||
.mobile-drawer a {
|
||
display: block; padding: 14px 16px; border-radius: var(--radius-md);
|
||
font-size: 1rem; font-weight: 600; color: var(--gray-700);
|
||
border: 1px solid var(--gray-200); transition: var(--transition);
|
||
}
|
||
.mobile-drawer a:hover {
|
||
background: var(--primary-light); border-color: var(--primary); color: var(--primary-dark);
|
||
}
|
||
.mobile-drawer-actions { margin-top: 16px; display: flex; gap: 12px; flex-direction: column; }
|
||
|
||
/* ─── Hero ────────────────────────────────────────── */
|
||
.hero {
|
||
padding-top: 72px; position: relative; overflow: hidden;
|
||
background: linear-gradient(135deg, #1a0a00 0%, #3d1a00 30%, #7c3100 60%, #d97706 85%, #f59e0b 100%);
|
||
min-height: 100vh; display: flex; flex-direction: column;
|
||
}
|
||
.hero-bg-grid {
|
||
position: absolute; inset: 0; opacity: 0.04;
|
||
background-image:
|
||
linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
|
||
linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
|
||
background-size: 80px 80px;
|
||
}
|
||
.hero-bg-dots {
|
||
position: absolute; inset: 0; opacity: 0.05;
|
||
background-image: radial-gradient(circle, rgba(255,255,255,1) 1px, transparent 1px);
|
||
background-size: 40px 40px;
|
||
}
|
||
.hero-content {
|
||
position: relative; z-index: 2; flex: 1;
|
||
display: flex; align-items: center; padding: 80px 0 60px;
|
||
}
|
||
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
|
||
.hero-badge {
|
||
display: inline-flex; align-items: center; gap: 8px;
|
||
background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
|
||
color: rgba(255,255,255,.9); font-size: 0.8rem; font-weight: 600;
|
||
padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
|
||
backdrop-filter: blur(8px);
|
||
}
|
||
.hero-badge-dot {
|
||
width: 7px; height: 7px; background: #4ade80; border-radius: 50%;
|
||
box-shadow: 0 0 8px #4ade80; animation: pulseGreen 2s infinite;
|
||
}
|
||
@keyframes pulseGreen {
|
||
0%,100% { opacity: 1; transform: scale(1); }
|
||
50% { opacity: .7; transform: scale(1.3); }
|
||
}
|
||
.hero-heading {
|
||
font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--white);
|
||
line-height: 1.2; margin-bottom: 8px; letter-spacing: -1px;
|
||
}
|
||
.hero-heading span { color: var(--primary); display: block; }
|
||
.hero-subheading { font-size: 1.1rem; color: rgba(255,255,255,.75); margin-bottom: 32px; }
|
||
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
|
||
.hero-trust {
|
||
display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap;
|
||
}
|
||
.trust-item {
|
||
display: flex; align-items: center; gap: 7px;
|
||
color: rgba(255,255,255,.8); font-size: 0.85rem; font-weight: 500;
|
||
}
|
||
.trust-item svg { width: 16px; height: 16px; color: #4ade80; flex-shrink: 0; }
|
||
|
||
/* Tracking Card */
|
||
.hero-card {
|
||
background: rgba(255,255,255,.97); border-radius: var(--radius-lg);
|
||
padding: 36px; box-shadow: 0 24px 80px rgba(0,0,0,.25);
|
||
border: 1px solid rgba(255,255,255,.3);
|
||
}
|
||
.hero-card-title { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
|
||
.hero-card-subtitle { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 24px; }
|
||
.tracking-form { display: flex; flex-direction: column; gap: 14px; }
|
||
.tracking-input-wrap { position: relative; }
|
||
.tracking-input {
|
||
width: 100%; padding: 14px 16px 14px 48px;
|
||
border: 1.5px solid var(--gray-300); border-radius: var(--radius-md);
|
||
font-size: 0.95rem; font-family: inherit; color: var(--gray-900);
|
||
transition: var(--transition); background: var(--white);
|
||
direction: ltr; text-align: right;
|
||
}
|
||
.tracking-input::placeholder { color: var(--gray-400); }
|
||
.tracking-input:focus {
|
||
outline: none; border-color: var(--primary);
|
||
box-shadow: 0 0 0 3px rgba(245,158,11,.15);
|
||
}
|
||
.tracking-input-icon {
|
||
position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
|
||
color: var(--gray-400); pointer-events: none;
|
||
}
|
||
.tracking-input-icon svg { width: 18px; height: 18px; }
|
||
.tracking-btn { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; border-radius: var(--radius-md); }
|
||
.divider-row {
|
||
display: flex; align-items: center; gap: 12px;
|
||
color: var(--gray-400); font-size: 0.8rem; margin: 2px 0;
|
||
}
|
||
.divider-row::before, .divider-row::after {
|
||
content: ''; flex: 1; height: 1px; background: var(--gray-200);
|
||
}
|
||
.hero-card-stats {
|
||
display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
|
||
margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--gray-100);
|
||
}
|
||
.h-stat { text-align: center; }
|
||
.h-stat-num {
|
||
font-size: 1.35rem; font-weight: 800; color: var(--primary-dark);
|
||
display: block; line-height: 1; margin-bottom: 4px;
|
||
}
|
||
.h-stat-label { font-size: 0.7rem; color: var(--gray-500); font-weight: 500; }
|
||
|
||
/* Hero Wave */
|
||
.hero-wave { position: relative; z-index: 2; line-height: 0; margin-top: auto; }
|
||
.hero-wave svg { display: block; width: 100%; }
|
||
|
||
/* ─── Section Titles ──────────────────────────────── */
|
||
.section-label {
|
||
display: inline-flex; align-items: center; gap: 8px;
|
||
font-size: 0.78rem; font-weight: 700; color: var(--primary-dark);
|
||
text-transform: uppercase; letter-spacing: 1.5px;
|
||
background: var(--primary-light); padding: 5px 14px; border-radius: 100px;
|
||
margin-bottom: 12px;
|
||
}
|
||
.section-title {
|
||
font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
|
||
color: var(--gray-900); line-height: 1.25; letter-spacing: -0.5px;
|
||
}
|
||
.section-title span { color: var(--primary); }
|
||
.section-desc { font-size: 1rem; color: var(--gray-500); margin-top: 10px; max-width: 560px; }
|
||
.section-line {
|
||
display: block; width: 48px; height: 4px;
|
||
background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
|
||
border-radius: 2px; margin-top: 12px;
|
||
}
|
||
.section-head { margin-bottom: 48px; }
|
||
.section-head.center { text-align: center; }
|
||
.section-head.center .section-desc { margin: 10px auto 0; }
|
||
.section-head.center .section-line { margin: 12px auto 0; }
|
||
|
||
/* ─── Services ────────────────────────────────────── */
|
||
.services { padding: 96px 0; background: var(--gray-100); }
|
||
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
|
||
.service-card {
|
||
background: var(--white); border-radius: var(--radius-md);
|
||
padding: 32px 24px; box-shadow: var(--shadow-sm);
|
||
border: 1px solid var(--gray-200);
|
||
transition: transform var(--transition), box-shadow var(--transition);
|
||
position: relative; overflow: hidden;
|
||
}
|
||
.service-card::after {
|
||
content: ''; position: absolute; bottom: 0; right: 0; left: 0; height: 3px;
|
||
background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
|
||
transform: scaleX(0); transform-origin: right; transition: transform var(--transition);
|
||
}
|
||
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
|
||
.service-card:hover::after { transform: scaleX(1); }
|
||
.service-icon {
|
||
width: 56px; height: 56px;
|
||
background: linear-gradient(135deg, var(--primary-light) 0%, #fde68a 100%);
|
||
border-radius: var(--radius-md); display: flex; align-items: center;
|
||
justify-content: center; margin-bottom: 20px; transition: var(--transition);
|
||
}
|
||
.service-card:hover .service-icon {
|
||
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
|
||
}
|
||
.service-icon svg { width: 28px; height: 28px; color: var(--primary-dark); transition: color var(--transition); }
|
||
.service-card:hover .service-icon svg { color: var(--white); }
|
||
.service-title { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
|
||
.service-desc { font-size: 0.85rem; color: var(--gray-500); line-height: 1.65; margin-bottom: 18px; }
|
||
.service-link {
|
||
font-size: 0.85rem; font-weight: 600; color: var(--primary-dark);
|
||
display: inline-flex; align-items: center; gap: 5px; transition: gap var(--transition);
|
||
}
|
||
.service-link:hover { gap: 10px; }
|
||
.service-link svg { width: 14px; height: 14px; transform: rotate(180deg); }
|
||
|
||
/* ─── How It Works ────────────────────────────────── */
|
||
.how-it-works { padding: 96px 0; background: var(--white); }
|
||
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
|
||
.steps-grid::before {
|
||
content: ''; position: absolute; top: 36px; right: 12.5%; left: 12.5%;
|
||
height: 2px; background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
|
||
z-index: 0;
|
||
}
|
||
.step-item { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
|
||
.step-circle {
|
||
width: 72px; height: 72px; border-radius: 50%;
|
||
display: flex; align-items: center; justify-content: center;
|
||
margin: 0 auto 20px; background: var(--white);
|
||
border: 3px solid var(--gray-200); position: relative; transition: var(--transition);
|
||
}
|
||
.step-item:hover .step-circle { border-color: var(--primary); box-shadow: 0 0 0 8px var(--primary-light); }
|
||
.step-num {
|
||
position: absolute; top: -6px; left: -6px; width: 22px; height: 22px;
|
||
background: var(--primary); color: var(--white); border-radius: 50%;
|
||
font-size: 0.65rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
|
||
}
|
||
.step-circle svg { width: 30px; height: 30px; color: var(--gray-600); transition: color var(--transition); }
|
||
.step-item:hover .step-circle svg { color: var(--primary); }
|
||
.step-title { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
|
||
.step-desc { font-size: 0.82rem; color: var(--gray-500); line-height: 1.6; }
|
||
|
||
/* ─── Stats ───────────────────────────────────────── */
|
||
.stats {
|
||
padding: 80px 0;
|
||
background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
|
||
position: relative; overflow: hidden;
|
||
}
|
||
.stats::before {
|
||
content: ''; position: absolute; inset: 0;
|
||
background: radial-gradient(circle at 70% 50%, rgba(245,158,11,.12) 0%, transparent 60%);
|
||
}
|
||
.stats-grid {
|
||
display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
|
||
position: relative; z-index: 1;
|
||
}
|
||
.stat-item {
|
||
text-align: center; padding: 24px 16px;
|
||
border-right: 1px solid rgba(255,255,255,.08);
|
||
}
|
||
.stat-item:last-child { border-right: none; }
|
||
.stat-number {
|
||
font-size: 2.8rem; font-weight: 900; color: var(--primary);
|
||
line-height: 1; margin-bottom: 6px;
|
||
display: flex; align-items: baseline; justify-content: center; gap: 2px;
|
||
}
|
||
.stat-suffix { font-size: 1.4rem; font-weight: 700; }
|
||
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,.7); font-weight: 500; }
|
||
.stat-sub { font-size: 0.75rem; color: rgba(255,255,255,.4); margin-top: 4px; }
|
||
|
||
/* ─── Testimonials ────────────────────────────────── */
|
||
.testimonials { padding: 96px 0; background: var(--gray-100); }
|
||
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
|
||
.testimonial-card {
|
||
background: var(--white); border-radius: var(--radius-md); padding: 28px;
|
||
box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
|
||
transition: box-shadow var(--transition), transform var(--transition);
|
||
}
|
||
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
|
||
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; flex-direction: row-reverse; }
|
||
.testimonial-stars svg { width: 16px; height: 16px; color: var(--primary); fill: var(--primary); }
|
||
.testimonial-text { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
|
||
.testimonial-author { display: flex; align-items: center; gap: 12px; }
|
||
.author-avatar {
|
||
width: 44px; height: 44px; border-radius: 50%;
|
||
display: flex; align-items: center; justify-content: center;
|
||
font-size: 1rem; font-weight: 700; color: var(--white); flex-shrink: 0;
|
||
}
|
||
.author-name { font-size: 0.9rem; font-weight: 700; color: var(--gray-900); }
|
||
.author-role { font-size: 0.78rem; color: var(--gray-500); }
|
||
|
||
/* Client Logos */
|
||
.clients-strip { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--gray-200); }
|
||
.clients-label {
|
||
text-align: center; font-size: 0.82rem; color: var(--gray-400);
|
||
font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px;
|
||
}
|
||
.clients-logos { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
|
||
.client-logo {
|
||
display: flex; align-items: center; justify-content: center;
|
||
padding: 10px 20px; background: var(--white); border: 1px solid var(--gray-200);
|
||
border-radius: var(--radius-sm); opacity: 0.6; transition: opacity var(--transition);
|
||
}
|
||
.client-logo:hover { opacity: 1; }
|
||
.client-logo-text { font-size: 0.9rem; font-weight: 700; color: var(--gray-500); }
|
||
|
||
/* ─── CTA Section ─────────────────────────────────── */
|
||
.cta-section {
|
||
padding: 96px 0;
|
||
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
|
||
position: relative; overflow: hidden;
|
||
}
|
||
.cta-section::before {
|
||
content: ''; position: absolute; top: -50%; right: -10%;
|
||
width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,.07);
|
||
}
|
||
.cta-section::after {
|
||
content: ''; position: absolute; bottom: -40%; left: 5%;
|
||
width: 400px; height: 400px; border-radius: 50%; background: rgba(0,0,0,.06);
|
||
}
|
||
.cta-inner {
|
||
position: relative; z-index: 1; display: grid;
|
||
grid-template-columns: 1fr auto; gap: 40px; align-items: center;
|
||
}
|
||
.cta-heading {
|
||
font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
|
||
color: var(--white); margin-bottom: 10px; line-height: 1.25;
|
||
}
|
||
.cta-desc { font-size: 1rem; color: rgba(255,255,255,.8); }
|
||
.cta-contact { display: flex; flex-direction: column; gap: 10px; }
|
||
.cta-contact-item {
|
||
display: flex; align-items: center; gap: 10px;
|
||
color: rgba(255,255,255,.9); font-size: 0.9rem; font-weight: 500;
|
||
}
|
||
.cta-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .8; }
|
||
.cta-buttons { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
|
||
|
||
/* ─── Footer ──────────────────────────────────────── */
|
||
.site-footer { background: var(--gray-900); color: rgba(255,255,255,.75); padding: 72px 0 0; }
|
||
.footer-grid {
|
||
display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
|
||
padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08);
|
||
}
|
||
.footer-brand .logo { margin-bottom: 16px; }
|
||
.footer-brand .logo-name { color: var(--white); }
|
||
.footer-brand .logo-tagline { color: rgba(255,255,255,.4); }
|
||
.footer-desc { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,.55); margin-bottom: 20px; }
|
||
.footer-social { display: flex; gap: 10px; }
|
||
.social-btn {
|
||
width: 36px; height: 36px; border-radius: 8px;
|
||
background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
|
||
display: flex; align-items: center; justify-content: center;
|
||
transition: var(--transition); color: rgba(255,255,255,.7);
|
||
}
|
||
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
|
||
.social-btn svg { width: 16px; height: 16px; }
|
||
.footer-col-title {
|
||
font-size: 0.9rem; font-weight: 700; color: var(--white);
|
||
margin-bottom: 20px; padding-bottom: 10px;
|
||
border-bottom: 2px solid var(--primary); display: inline-block;
|
||
}
|
||
.footer-links { display: flex; flex-direction: column; gap: 10px; }
|
||
.footer-links a {
|
||
font-size: 0.85rem; color: rgba(255,255,255,.55);
|
||
transition: color var(--transition); display: flex; align-items: center; gap: 6px;
|
||
}
|
||
.footer-links a::before { content: "›"; color: var(--primary); font-weight: 700; }
|
||
.footer-links a:hover { color: var(--primary); }
|
||
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
|
||
.footer-contact-item {
|
||
display: flex; align-items: flex-start; gap: 10px;
|
||
font-size: 0.85rem; color: rgba(255,255,255,.55);
|
||
}
|
||
.footer-contact-item svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
|
||
.footer-newsletter { margin-top: 16px; }
|
||
.newsletter-form { display: flex; gap: 8px; margin-top: 10px; }
|
||
.newsletter-input {
|
||
flex: 1; padding: 10px 14px; background: rgba(255,255,255,.07);
|
||
border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-sm);
|
||
color: var(--white); font-size: 0.85rem; font-family: inherit;
|
||
transition: var(--transition); direction: rtl;
|
||
}
|
||
.newsletter-input::placeholder { color: rgba(255,255,255,.35); }
|
||
.newsletter-input:focus { outline: none; border-color: var(--primary); background: rgba(255,255,255,.1); }
|
||
.newsletter-btn {
|
||
padding: 10px 16px; background: var(--primary); color: var(--white);
|
||
border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600;
|
||
font-family: inherit; transition: var(--transition); white-space: nowrap;
|
||
border: none; cursor: pointer;
|
||
}
|
||
.newsletter-btn:hover { background: var(--primary-dark); }
|
||
.footer-bottom {
|
||
padding: 20px 0; display: flex; align-items: center;
|
||
justify-content: space-between; font-size: 0.8rem; color: rgba(255,255,255,.35);
|
||
}
|
||
.footer-bottom a { color: var(--primary); }
|
||
|
||
/* ─── Plugin Shortcode Zones ──────────────────────── */
|
||
.plugin-zone {
|
||
background: linear-gradient(135deg, var(--primary-light) 0%, #fef9ee 100%);
|
||
border: 2px dashed var(--primary); border-radius: var(--radius-md);
|
||
padding: 20px 24px; margin-top: 24px; font-size: 0.82rem;
|
||
color: var(--primary-dark); font-weight: 600;
|
||
}
|
||
.plugin-zone-label {
|
||
display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
|
||
opacity: .65; font-size: 0.73rem; text-transform: uppercase; letter-spacing: 1px;
|
||
}
|
||
.plugin-zone code {
|
||
background: rgba(245,158,11,.15); padding: 3px 8px; border-radius: 4px;
|
||
font-family: monospace; font-size: 0.88rem; display: block; margin-top: 6px;
|
||
color: var(--gray-800);
|
||
}
|
||
|
||
/* ─── Scroll Top ──────────────────────────────────── */
|
||
.scroll-top {
|
||
position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px;
|
||
background: var(--primary); color: var(--white); border-radius: var(--radius-sm);
|
||
display: flex; align-items: center; justify-content: center;
|
||
box-shadow: var(--shadow-amber); opacity: 0; pointer-events: none;
|
||
transition: opacity var(--transition), transform var(--transition);
|
||
z-index: 500; border: none; cursor: pointer;
|
||
}
|
||
.scroll-top.visible { opacity: 1; pointer-events: all; }
|
||
.scroll-top:hover { transform: translateY(-3px); }
|
||
.scroll-top svg { width: 20px; height: 20px; }
|
||
|
||
/* ─── Animations ──────────────────────────────────── */
|
||
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
|
||
.reveal.visible { opacity: 1; transform: translateY(0); }
|
||
.reveal-d1 { transition-delay: 0.1s; }
|
||
.reveal-d2 { transition-delay: 0.2s; }
|
||
.reveal-d3 { transition-delay: 0.3s; }
|
||
.reveal-d4 { transition-delay: 0.4s; }
|
||
.hero-text-anim { animation: heroUp .7s .1s ease both; }
|
||
.hero-card-anim { animation: heroUp .7s .3s ease both; }
|
||
@keyframes heroUp {
|
||
from { opacity: 0; transform: translateY(32px); }
|
||
to { opacity: 1; transform: translateY(0); }
|
||
}
|
||
|
||
/* ═══════════════════════════════════════════════════
|
||
ADMIN BAR OFFSET (WordPress Fix)
|
||
════════════════════════════════════════════════════ */
|
||
|
||
/* Desktop: Admin Bar 32px */
|
||
.admin-bar .site-header {
|
||
top: 32px;
|
||
}
|
||
|
||
.admin-bar .mobile-drawer {
|
||
top: 104px; /* 72px header + 32px admin bar */
|
||
}
|
||
|
||
.admin-bar .hero {
|
||
padding-top: 104px; /* 72px + 32px */
|
||
}
|
||
|
||
/* Mobile: Admin Bar 46px */
|
||
@media screen and (max-width: 782px) {
|
||
.admin-bar .site-header {
|
||
top: 46px;
|
||
}
|
||
|
||
.admin-bar .mobile-drawer {
|
||
top: 118px; /* 72px + 46px */
|
||
}
|
||
|
||
.admin-bar .hero {
|
||
padding-top: 118px; /* 72px + 46px */
|
||
}
|
||
}
|
||
|
||
/* برای صفحات غیر hero (مثل صفحات داخلی) */
|
||
.admin-bar .site-main > *:first-child:not(.hero) {
|
||
padding-top: 72px;
|
||
}
|
||
|
||
/* هماهنگی Admin Bar با تم IFNEX */
|
||
#wpadminbar {
|
||
background: var(--gray-900) !important;
|
||
}
|
||
|
||
#wpadminbar .ab-top-menu > li > .ab-item {
|
||
color: rgba(255,255,255,.7) !important;
|
||
}
|
||
|
||
#wpadminbar .ab-top-menu > li:hover > .ab-item,
|
||
#wpadminbar .ab-top-menu > li > .ab-item:focus {
|
||
background: var(--primary-dark) !important;
|
||
color: var(--white) !important;
|
||
}
|
||
|
||
#wpadminbar .ab-top-menu > li.hover > .ab-item,
|
||
#wpadminbar .ab-top-menu > li > .ab-item:hover {
|
||
background: var(--primary-dark) !important;
|
||
color: var(--white) !important;
|
||
}
|
||
|
||
/* ═══════════════════════════════════════════════════
|
||
LOGO IMAGE SUPPORT
|
||
════════════════════════════════════════════════════ */
|
||
.logo-img-wrap {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
max-height: 50px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.logo-img-wrap img {
|
||
max-height: 50px;
|
||
max-width: 180px;
|
||
width: auto;
|
||
height: auto;
|
||
object-fit: contain;
|
||
}
|
||
|
||
.site-footer .logo-img-wrap {
|
||
max-height: 60px;
|
||
}
|
||
|
||
.site-footer .logo-img-wrap img {
|
||
max-height: 60px;
|
||
max-width: 200px;
|
||
}
|
||
|
||
/* ═══════════════════════════════════════════════════
|
||
LANGUAGE SWITCHER
|
||
════════════════════════════════════════════════════ */
|
||
.lang-switcher {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
background: var(--gray-100);
|
||
padding: 4px;
|
||
border-radius: var(--radius-sm);
|
||
margin-left: 8px;
|
||
}
|
||
|
||
.lang-divider {
|
||
color: var(--gray-300);
|
||
font-size: 0.85rem;
|
||
user-select: none;
|
||
}
|
||
|
||
.lang-btn {
|
||
padding: 6px 12px;
|
||
border-radius: 4px;
|
||
font-size: 0.8rem;
|
||
font-weight: 700;
|
||
color: var(--gray-600);
|
||
transition: all var(--transition);
|
||
text-decoration: none;
|
||
letter-spacing: 0.5px;
|
||
}
|
||
|
||
.lang-btn:hover {
|
||
color: var(--primary-dark);
|
||
}
|
||
|
||
.lang-btn.active {
|
||
background: var(--primary);
|
||
color: var(--white);
|
||
box-shadow: 0 2px 6px rgba(245,158,11,.3);
|
||
}
|
||
|
||
.lang-switcher-mobile {
|
||
display: flex;
|
||
gap: 8px;
|
||
margin-bottom: 12px;
|
||
}
|
||
|
||
.lang-switcher-mobile .lang-btn {
|
||
flex: 1;
|
||
text-align: center;
|
||
padding: 12px;
|
||
background: var(--gray-100);
|
||
border: 1px solid var(--gray-200);
|
||
border-radius: var(--radius-md);
|
||
}
|
||
|
||
.lang-switcher-mobile .lang-btn.active {
|
||
background: var(--primary-light);
|
||
border-color: var(--primary);
|
||
color: var(--primary-dark);
|
||
}
|
||
|
||
/* ═══════════════════════════════════════════════════
|
||
ENGLISH MODE (LTR ADJUSTMENTS)
|
||
════════════════════════════════════════════════════ */
|
||
html.lang-en body {
|
||
font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
|
||
}
|
||
|
||
html.lang-en .nav-list a,
|
||
html.lang-en .btn,
|
||
html.lang-en .footer-links a,
|
||
html.lang-en .service-link svg {
|
||
transform: none;
|
||
}
|
||
|
||
html.lang-en .service-link svg,
|
||
html.lang-en .footer-links a::before {
|
||
transform: scaleX(-1);
|
||
}
|
||
|
||
/* ═══════════════════════════════════════════════════
|
||
BLOG HERO
|
||
════════════════════════════════════════════════════ */
|
||
.blog-hero {
|
||
position: relative;
|
||
padding: 140px 0 80px;
|
||
background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
|
||
overflow: hidden;
|
||
text-align: center;
|
||
}
|
||
|
||
.blog-hero::before {
|
||
content: '';
|
||
position: absolute;
|
||
inset: 0;
|
||
background: radial-gradient(circle at 30% 50%, rgba(245,158,11,.15) 0%, transparent 60%);
|
||
}
|
||
|
||
.blog-hero-content {
|
||
position: relative;
|
||
z-index: 1;
|
||
}
|
||
|
||
.blog-hero-title {
|
||
font-size: clamp(2rem, 4vw, 3rem);
|
||
font-weight: 900;
|
||
color: var(--white);
|
||
margin: 12px 0;
|
||
letter-spacing: -1px;
|
||
}
|
||
|
||
.blog-hero-subtitle {
|
||
font-size: 1.1rem;
|
||
color: rgba(255,255,255,.7);
|
||
max-width: 600px;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
/* ═══════════════════════════════════════════════════
|
||
BLOG GRID
|
||
════════════════════════════════════════════════════ */
|
||
.blog-section {
|
||
padding: 80px 0;
|
||
background: var(--gray-100);
|
||
}
|
||
|
||
.blog-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, 1fr);
|
||
gap: 32px;
|
||
}
|
||
|
||
.blog-card {
|
||
background: var(--white);
|
||
border-radius: var(--radius-md);
|
||
overflow: hidden;
|
||
box-shadow: var(--shadow-sm);
|
||
border: 1px solid var(--gray-200);
|
||
transition: transform var(--transition), box-shadow var(--transition);
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.blog-card:hover {
|
||
transform: translateY(-6px);
|
||
box-shadow: var(--shadow-lg);
|
||
}
|
||
|
||
.blog-card-image {
|
||
display: block;
|
||
aspect-ratio: 16/10;
|
||
overflow: hidden;
|
||
background: var(--gray-100);
|
||
}
|
||
|
||
.blog-card-image img {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
transition: transform var(--transition);
|
||
}
|
||
|
||
.blog-card:hover .blog-card-image img {
|
||
transform: scale(1.05);
|
||
}
|
||
|
||
.blog-card-image-placeholder {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
|
||
color: var(--gray-400);
|
||
}
|
||
|
||
.blog-card-content {
|
||
padding: 24px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
flex: 1;
|
||
}
|
||
|
||
.blog-card-meta {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
margin-bottom: 12px;
|
||
font-size: 0.8rem;
|
||
color: var(--gray-500);
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.blog-card-date {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
}
|
||
|
||
.blog-card-category {
|
||
background: var(--primary-light);
|
||
color: var(--primary-dark);
|
||
padding: 3px 10px;
|
||
border-radius: 100px;
|
||
font-weight: 600;
|
||
font-size: 0.75rem;
|
||
}
|
||
|
||
.blog-card-title {
|
||
font-size: 1.15rem;
|
||
font-weight: 700;
|
||
color: var(--gray-900);
|
||
line-height: 1.4;
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
.blog-card-title a {
|
||
color: inherit;
|
||
text-decoration: none;
|
||
transition: color var(--transition);
|
||
}
|
||
|
||
.blog-card-title a:hover {
|
||
color: var(--primary-dark);
|
||
}
|
||
|
||
.blog-card-excerpt {
|
||
font-size: 0.88rem;
|
||
color: var(--gray-600);
|
||
line-height: 1.65;
|
||
margin-bottom: 18px;
|
||
flex: 1;
|
||
}
|
||
|
||
.blog-card-link {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
font-size: 0.85rem;
|
||
font-weight: 600;
|
||
color: var(--primary-dark);
|
||
text-decoration: none;
|
||
transition: gap var(--transition);
|
||
}
|
||
|
||
.blog-card-link:hover {
|
||
gap: 10px;
|
||
}
|
||
|
||
html.lang-en .blog-card-link svg {
|
||
transform: scaleX(-1);
|
||
}
|
||
|
||
/* ═══════════════════════════════════════════════════
|
||
BLOG PAGINATION
|
||
════════════════════════════════════════════════════ */
|
||
.blog-pagination {
|
||
margin-top: 56px;
|
||
display: flex;
|
||
justify-content: center;
|
||
}
|
||
|
||
.pagination-links {
|
||
display: flex;
|
||
gap: 8px;
|
||
list-style: none;
|
||
}
|
||
|
||
.pagination-links .page-numbers {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-width: 40px;
|
||
height: 40px;
|
||
padding: 0 12px;
|
||
background: var(--white);
|
||
border: 1px solid var(--gray-200);
|
||
border-radius: var(--radius-sm);
|
||
font-size: 0.9rem;
|
||
font-weight: 600;
|
||
color: var(--gray-700);
|
||
text-decoration: none;
|
||
transition: all var(--transition);
|
||
}
|
||
|
||
.pagination-links .page-numbers:hover {
|
||
border-color: var(--primary);
|
||
color: var(--primary-dark);
|
||
background: var(--primary-light);
|
||
}
|
||
|
||
.pagination-links .page-numbers.current {
|
||
background: var(--primary);
|
||
border-color: var(--primary);
|
||
color: var(--white);
|
||
box-shadow: var(--shadow-amber);
|
||
}
|
||
|
||
/* ═══════════════════════════════════════════════════
|
||
BLOG EMPTY STATE
|
||
════════════════════════════════════════════════════ */
|
||
.blog-empty {
|
||
text-align: center;
|
||
padding: 80px 24px;
|
||
color: var(--gray-400);
|
||
}
|
||
|
||
.blog-empty svg {
|
||
margin-bottom: 20px;
|
||
color: var(--gray-300);
|
||
}
|
||
|
||
.blog-empty h2 {
|
||
font-size: 1.5rem;
|
||
color: var(--gray-700);
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
.blog-empty p {
|
||
color: var(--gray-500);
|
||
margin-bottom: 24px;
|
||
}
|
||
|
||
/* ═══════════════════════════════════════════════════
|
||
SINGLE POST
|
||
════════════════════════════════════════════════════ */
|
||
.single-header {
|
||
padding: 120px 0 40px;
|
||
background: var(--gray-100);
|
||
border-bottom: 1px solid var(--gray-200);
|
||
}
|
||
|
||
.single-breadcrumb {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
font-size: 0.85rem;
|
||
color: var(--gray-500);
|
||
margin-bottom: 20px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.single-breadcrumb a {
|
||
color: var(--gray-600);
|
||
text-decoration: none;
|
||
transition: color var(--transition);
|
||
}
|
||
|
||
.single-breadcrumb a:hover {
|
||
color: var(--primary-dark);
|
||
}
|
||
|
||
.single-breadcrumb .current {
|
||
color: var(--gray-400);
|
||
}
|
||
|
||
.single-categories {
|
||
display: flex;
|
||
gap: 8px;
|
||
margin-bottom: 16px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.single-category {
|
||
background: var(--primary-light);
|
||
color: var(--primary-dark);
|
||
padding: 5px 14px;
|
||
border-radius: 100px;
|
||
font-size: 0.8rem;
|
||
font-weight: 600;
|
||
text-decoration: none;
|
||
transition: all var(--transition);
|
||
}
|
||
|
||
.single-category:hover {
|
||
background: var(--primary);
|
||
color: var(--white);
|
||
}
|
||
|
||
.single-title {
|
||
font-size: clamp(1.8rem, 4vw, 2.8rem);
|
||
font-weight: 900;
|
||
color: var(--gray-900);
|
||
line-height: 1.25;
|
||
margin-bottom: 20px;
|
||
letter-spacing: -0.5px;
|
||
}
|
||
|
||
.single-meta {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 20px;
|
||
font-size: 0.9rem;
|
||
color: var(--gray-600);
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.single-meta > span {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
}
|
||
|
||
.single-meta svg {
|
||
color: var(--primary);
|
||
}
|
||
|
||
.single-featured {
|
||
padding: 40px 0;
|
||
background: var(--white);
|
||
}
|
||
|
||
.single-featured-img {
|
||
width: 100%;
|
||
height: auto;
|
||
border-radius: var(--radius-lg);
|
||
box-shadow: var(--shadow-md);
|
||
}
|
||
|
||
.single-content {
|
||
padding: 48px 0 80px;
|
||
background: var(--white);
|
||
}
|
||
|
||
.single-body {
|
||
max-width: 760px;
|
||
margin: 0 auto;
|
||
font-size: 1.05rem;
|
||
line-height: 1.8;
|
||
color: var(--gray-800);
|
||
}
|
||
|
||
.single-body h2 {
|
||
font-size: 1.6rem;
|
||
font-weight: 800;
|
||
margin: 32px 0 16px;
|
||
color: var(--gray-900);
|
||
}
|
||
|
||
.single-body h3 {
|
||
font-size: 1.3rem;
|
||
font-weight: 700;
|
||
margin: 24px 0 12px;
|
||
color: var(--gray-900);
|
||
}
|
||
|
||
.single-body p {
|
||
margin-bottom: 18px;
|
||
}
|
||
|
||
.single-body ul, .single-body ol {
|
||
margin: 16px 0 16px 24px;
|
||
padding: 0;
|
||
}
|
||
|
||
html.lang-en .single-body ul,
|
||
html.lang-en .single-body ol {
|
||
margin: 16px 24px 16px 0;
|
||
}
|
||
|
||
.single-body li {
|
||
margin-bottom: 8px;
|
||
list-style: disc;
|
||
}
|
||
|
||
.single-body ol li {
|
||
list-style: decimal;
|
||
}
|
||
|
||
.single-body blockquote {
|
||
border-right: 4px solid var(--primary);
|
||
padding: 16px 24px;
|
||
background: var(--primary-light);
|
||
margin: 24px 0;
|
||
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
|
||
font-style: italic;
|
||
color: var(--gray-700);
|
||
}
|
||
|
||
html.lang-en .single-body blockquote {
|
||
border-right: none;
|
||
border-left: 4px solid var(--primary);
|
||
border-radius: var(--radius-sm) 0 0 var(--radius-sm);
|
||
}
|
||
|
||
.single-body img {
|
||
border-radius: var(--radius-md);
|
||
margin: 24px 0;
|
||
}
|
||
|
||
.single-body a {
|
||
color: var(--primary-dark);
|
||
text-decoration: underline;
|
||
text-underline-offset: 3px;
|
||
}
|
||
|
||
.single-body a:hover {
|
||
color: var(--primary);
|
||
}
|
||
|
||
/* Single: Tags & Share */
|
||
.single-tags, .single-share {
|
||
max-width: 760px;
|
||
margin: 40px auto 0;
|
||
padding: 24px 0;
|
||
border-top: 1px solid var(--gray-200);
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.single-tags-label, .single-share-label {
|
||
font-size: 0.9rem;
|
||
font-weight: 600;
|
||
color: var(--gray-700);
|
||
}
|
||
|
||
.single-tag {
|
||
display: inline-block;
|
||
background: var(--gray-100);
|
||
color: var(--gray-700);
|
||
padding: 4px 12px;
|
||
border-radius: 100px;
|
||
font-size: 0.82rem;
|
||
text-decoration: none;
|
||
transition: all var(--transition);
|
||
}
|
||
|
||
.single-tag:hover {
|
||
background: var(--primary-light);
|
||
color: var(--primary-dark);
|
||
}
|
||
|
||
.share-btn {
|
||
display: inline-block;
|
||
padding: 6px 14px;
|
||
background: var(--gray-100);
|
||
color: var(--gray-700);
|
||
border-radius: 100px;
|
||
font-size: 0.82rem;
|
||
font-weight: 600;
|
||
text-decoration: none;
|
||
transition: all var(--transition);
|
||
}
|
||
|
||
.share-btn:hover {
|
||
background: var(--primary);
|
||
color: var(--white);
|
||
}
|
||
|
||
/* Single: Navigation */
|
||
.single-nav {
|
||
max-width: 760px;
|
||
margin: 40px auto 0;
|
||
padding: 32px 0;
|
||
border-top: 1px solid var(--gray-200);
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: 32px;
|
||
}
|
||
|
||
.single-nav-prev {
|
||
text-align: right;
|
||
}
|
||
|
||
html.lang-en .single-nav-prev {
|
||
text-align: left;
|
||
}
|
||
|
||
.single-nav-next {
|
||
text-align: left;
|
||
}
|
||
|
||
html.lang-en .single-nav-next {
|
||
text-align: right;
|
||
}
|
||
|
||
.single-nav-label {
|
||
display: block;
|
||
font-size: 0.8rem;
|
||
color: var(--gray-500);
|
||
margin-bottom: 6px;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.5px;
|
||
}
|
||
|
||
.single-nav a {
|
||
font-size: 0.95rem;
|
||
font-weight: 600;
|
||
color: var(--gray-900);
|
||
text-decoration: none;
|
||
transition: color var(--transition);
|
||
display: inline-block;
|
||
}
|
||
|
||
.single-nav a:hover {
|
||
color: var(--primary-dark);
|
||
}
|
||
|
||
/* ═══════════════════════════════════════════════════
|
||
ADMIN BAR OFFSET (WordPress Fix)
|
||
════════════════════════════════════════════════════ */
|
||
.admin-bar .site-header { top: 32px; }
|
||
.admin-bar .mobile-drawer { top: 104px; }
|
||
.admin-bar .blog-hero { padding-top: 172px; }
|
||
.admin-bar .single-header { padding-top: 152px; }
|
||
|
||
@media screen and (max-width: 782px) {
|
||
.admin-bar .site-header { top: 46px; }
|
||
.admin-bar .mobile-drawer { top: 118px; }
|
||
.admin-bar .blog-hero { padding-top: 186px; }
|
||
.admin-bar .single-header { padding-top: 166px; }
|
||
}
|
||
|
||
/* ═══════════════════════════════════════════════════
|
||
RESPONSIVE ADDITIONS
|
||
════════════════════════════════════════════════════ */
|
||
@media (max-width: 1024px) {
|
||
.blog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.lang-switcher { display: none; }
|
||
.blog-grid { grid-template-columns: 1fr; }
|
||
.blog-hero { padding: 120px 0 60px; }
|
||
.blog-section { padding: 48px 0; }
|
||
.single-header { padding: 100px 0 32px; }
|
||
.single-nav { grid-template-columns: 1fr; gap: 20px; }
|
||
.single-title { font-size: 1.8rem; }
|
||
.single-meta { font-size: 0.8rem; gap: 12px; }
|
||
}
|
||
|
||
/* ─── Responsive ──────────────────────────────────── */
|
||
@media (max-width: 1024px) {
|
||
.services-grid { grid-template-columns: repeat(2, 1fr); }
|
||
.steps-grid::before { display: none; }
|
||
.steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
|
||
.stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
|
||
.stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
|
||
.stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
|
||
.testimonials-grid { grid-template-columns: repeat(2, 1fr); }
|
||
.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
|
||
.cta-inner { grid-template-columns: 1fr; gap: 24px; }
|
||
.hero-layout { gap: 36px; }
|
||
}
|
||
@media (max-width: 768px) {
|
||
.header-actions .btn-secondary { display: none; }
|
||
.main-nav { display: none; }
|
||
.hamburger { display: flex; }
|
||
.mobile-drawer { display: flex; }
|
||
.hero-layout { grid-template-columns: 1fr; gap: 32px; }
|
||
.hero-content { padding: 40px 0 32px; }
|
||
.hero-card { padding: 24px; }
|
||
.services-grid { grid-template-columns: 1fr; gap: 16px; }
|
||
.steps-grid { grid-template-columns: 1fr; gap: 24px; }
|
||
.stats-grid { grid-template-columns: repeat(2, 1fr); }
|
||
.testimonials-grid { grid-template-columns: 1fr; }
|
||
.footer-grid { grid-template-columns: 1fr; gap: 28px; }
|
||
.footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
|
||
.clients-logos { gap: 12px; }
|
||
.cta-buttons { flex-direction: column; }
|
||
.cta-buttons .btn { justify-content: center; }
|
||
.services, .how-it-works, .testimonials, .cta-section { padding: 64px 0; }
|
||
.stats { padding: 56px 0; }
|
||
}
|
||
@media (max-width: 480px) {
|
||
.hero-trust { flex-direction: column; align-items: flex-start; gap: 10px; }
|
||
.hero-card-stats { grid-template-columns: 1fr; }
|
||
.stat-number { font-size: 2.2rem; }
|
||
.cta-section { padding: 56px 0; }
|
||
}
|
||
|
||
/* ═══ Login Page (Split Design) ═══ */
|
||
.ifnx-login-page {
|
||
display: flex;
|
||
min-height: calc(100vh - 100px);
|
||
}
|
||
|
||
/* ساید چپ (تصویر تیره) */
|
||
.ifnx-login-side {
|
||
flex: 1;
|
||
background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
|
||
position: relative;
|
||
overflow: hidden;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 60px;
|
||
color: #fff;
|
||
}
|
||
|
||
.ifnx-login-side::before {
|
||
content: '';
|
||
position: absolute;
|
||
top: -100px;
|
||
right: -100px;
|
||
width: 400px;
|
||
height: 400px;
|
||
background: radial-gradient(circle, rgba(249,115,22,0.35), transparent 70%);
|
||
border-radius: 50%;
|
||
animation: float 8s ease-in-out infinite;
|
||
}
|
||
|
||
.ifnx-login-side::after {
|
||
content: '';
|
||
position: absolute;
|
||
bottom: -150px;
|
||
left: -150px;
|
||
width: 500px;
|
||
height: 500px;
|
||
background: radial-gradient(circle, rgba(249,115,22,0.15), transparent 70%);
|
||
border-radius: 50%;
|
||
animation: float 10s ease-in-out infinite reverse;
|
||
}
|
||
|
||
@keyframes float {
|
||
0%, 100% { transform: translate(0, 0); }
|
||
50% { transform: translate(30px, -30px); }
|
||
}
|
||
|
||
.ifnx-login-side-content {
|
||
position: relative;
|
||
z-index: 1;
|
||
max-width: 480px;
|
||
}
|
||
|
||
.ifnx-login-logo {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
color: #fff;
|
||
margin-bottom: 40px;
|
||
}
|
||
.ifnx-login-logo svg { color: #f97316; }
|
||
.ifnx-login-logo span { font-size: 24px; font-weight: 800; letter-spacing: 2px; }
|
||
|
||
.ifnx-login-headline {
|
||
font-size: 42px;
|
||
font-weight: 800;
|
||
line-height: 1.2;
|
||
margin: 0 0 16px;
|
||
}
|
||
|
||
.ifnx-login-subtitle {
|
||
font-size: 17px;
|
||
color: rgba(255,255,255,0.7);
|
||
line-height: 1.7;
|
||
}
|
||
|
||
.ifnx-login-features {
|
||
margin-top: 48px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 14px;
|
||
}
|
||
|
||
.ifnx-login-feature {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 14px;
|
||
padding: 14px 18px;
|
||
background: rgba(255,255,255,0.06);
|
||
border-radius: 12px;
|
||
backdrop-filter: blur(10px);
|
||
border: 1px solid rgba(255,255,255,0.08);
|
||
font-size: 14px;
|
||
transition: transform 0.2s;
|
||
}
|
||
.ifnx-login-feature:hover { transform: translateX(-4px); }
|
||
.ifnx-login-feature svg { color: #f97316; flex-shrink: 0; }
|
||
|
||
/* ساید راست (فرم) */
|
||
.ifnx-login-form-side {
|
||
flex: 1;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 60px 40px;
|
||
background: #fff;
|
||
}
|
||
|
||
.ifnx-login-form-container {
|
||
max-width: 420px;
|
||
width: 100%;
|
||
}
|
||
|
||
.ifnx-login-form-container h2 {
|
||
font-size: 28px;
|
||
color: #0f172a;
|
||
margin: 0 0 8px;
|
||
font-weight: 800;
|
||
}
|
||
|
||
.ifnx-login-sub {
|
||
color: #64748b;
|
||
margin-bottom: 32px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.ifnx-form-group {
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.ifnx-form-group label {
|
||
display: block;
|
||
margin-bottom: 8px;
|
||
font-weight: 600;
|
||
color: #0f172a;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.ifnx-form-group input {
|
||
width: 100%;
|
||
padding: 14px 16px;
|
||
border: 1.5px solid #e2e8f0;
|
||
border-radius: 12px;
|
||
font-size: 15px;
|
||
transition: all 0.2s;
|
||
background: #f8fafc;
|
||
font-family: inherit;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.ifnx-form-group input:focus {
|
||
outline: none;
|
||
border-color: #f97316;
|
||
background: #fff;
|
||
box-shadow: 0 0 0 4px rgba(249,115,22,0.1);
|
||
}
|
||
|
||
.ifnx-form-row {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
margin-bottom: 24px;
|
||
font-size: 14px;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
}
|
||
|
||
.ifnx-checkbox {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
cursor: pointer;
|
||
color: #475569;
|
||
user-select: none;
|
||
}
|
||
.ifnx-checkbox input { width: auto; accent-color: #f97316; }
|
||
|
||
.ifnx-form-row a {
|
||
color: #f97316;
|
||
text-decoration: none;
|
||
font-weight: 600;
|
||
}
|
||
.ifnx-form-row a:hover { text-decoration: underline; }
|
||
|
||
.btn-block {
|
||
width: 100%;
|
||
padding: 16px;
|
||
font-size: 15px;
|
||
border-radius: 12px;
|
||
border: none;
|
||
cursor: pointer;
|
||
font-weight: 700;
|
||
transition: transform 0.2s;
|
||
}
|
||
.btn-block:hover { transform: translateY(-2px); }
|
||
|
||
.ifnx-login-error, .ifnx-login-success {
|
||
padding: 12px 16px;
|
||
border-radius: 10px;
|
||
margin-bottom: 20px;
|
||
font-size: 14px;
|
||
}
|
||
.ifnx-login-error {
|
||
background: #fef2f2;
|
||
color: #dc2626;
|
||
border: 1px solid #fecaca;
|
||
}
|
||
.ifnx-login-success {
|
||
background: #f0fdf4;
|
||
color: #059669;
|
||
border: 1px solid #bbf7d0;
|
||
}
|
||
|
||
.ifnx-login-footer {
|
||
margin-top: 32px;
|
||
text-align: center;
|
||
color: #64748b;
|
||
font-size: 14px;
|
||
}
|
||
.ifnx-login-footer a {
|
||
color: #f97316;
|
||
font-weight: 700;
|
||
text-decoration: none;
|
||
margin-inline-start: 4px;
|
||
}
|
||
.ifnx-login-back {
|
||
display: inline-block;
|
||
margin-top: 12px;
|
||
color: #94a3b8 !important;
|
||
font-size: 13px !important;
|
||
font-weight: 500 !important;
|
||
}
|
||
|
||
/* Responsive */
|
||
@media (max-width: 900px) {
|
||
.ifnx-login-page { flex-direction: column; }
|
||
.ifnx-login-side { padding: 40px 30px; min-height: auto; }
|
||
.ifnx-login-headline { font-size: 28px; }
|
||
.ifnx-login-features { display: none; }
|
||
.ifnx-login-subtitle { font-size: 15px; }
|
||
.ifnx-login-form-side { padding: 40px 24px; }
|
||
.ifnx-login-form-container h2 { font-size: 24px; }
|
||
}
|
||
|
||
/* ═══════════════════════════════════════════════════
|
||
HERO SECTION - ENHANCED RESPONSIVE
|
||
════════════════════════════════════════════════════ */
|
||
|
||
/* دسکتاپ: دو ستون کنار هم با alignment بهتر */
|
||
.hero-layout {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: 48px;
|
||
align-items: center;
|
||
justify-items: stretch;
|
||
}
|
||
|
||
/* متن hero در سمت راست (RTL) */
|
||
.hero-text {
|
||
text-align: right;
|
||
}
|
||
|
||
/* فرم tracking در سمت چپ */
|
||
.hero-card {
|
||
width: 100%;
|
||
max-width: 500px;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
/* تبلت (768px - 1024px): دو ستون با gap کمتر */
|
||
@media (max-width: 1024px) {
|
||
.hero-layout {
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: 32px;
|
||
}
|
||
|
||
.hero-heading {
|
||
font-size: clamp(1.8rem, 3.5vw, 2.5rem);
|
||
}
|
||
|
||
.hero-card {
|
||
padding: 28px;
|
||
}
|
||
}
|
||
|
||
/* موبایل (< 768px): دو ستون روی هم با spacing بهتر */
|
||
@media (max-width: 768px) {
|
||
.hero-layout {
|
||
grid-template-columns: 1fr;
|
||
gap: 40px;
|
||
}
|
||
|
||
.hero-text {
|
||
text-align: center;
|
||
order: 1;
|
||
}
|
||
|
||
.hero-card {
|
||
order: 2;
|
||
max-width: 100%;
|
||
}
|
||
|
||
.hero-buttons {
|
||
justify-content: center;
|
||
}
|
||
|
||
.hero-trust {
|
||
justify-content: center;
|
||
}
|
||
|
||
.hero-heading {
|
||
font-size: clamp(1.6rem, 5vw, 2.2rem);
|
||
}
|
||
|
||
.hero-subheading {
|
||
font-size: 1rem;
|
||
}
|
||
}
|
||
|
||
/* موبایل کوچک (< 480px) */
|
||
@media (max-width: 480px) {
|
||
.hero-layout {
|
||
gap: 32px;
|
||
}
|
||
|
||
.hero-card {
|
||
padding: 24px 20px;
|
||
}
|
||
|
||
.hero-buttons {
|
||
flex-direction: column;
|
||
width: 100%;
|
||
}
|
||
|
||
.hero-buttons .btn {
|
||
width: 100%;
|
||
justify-content: center;
|
||
}
|
||
|
||
.hero-card-stats {
|
||
grid-template-columns: 1fr;
|
||
gap: 16px;
|
||
}
|
||
|
||
.h-stat {
|
||
padding: 12px;
|
||
background: var(--gray-100);
|
||
border-radius: var(--radius-sm);
|
||
}
|
||
}
|
||
|
||
/* Admin Bar Offset (WordPress Fix) - بهبود یافته */
|
||
.admin-bar .hero {
|
||
padding-top: calc(72px + 32px); /* header + admin bar */
|
||
}
|
||
|
||
@media screen and (max-width: 782px) {
|
||
.admin-bar .hero {
|
||
padding-top: calc(72px + 46px); /* header + mobile admin bar */
|
||
}
|
||
}
|
||
|
||
/* ═══════════════════════════════════════════════════
|
||
HERO BUTTONS - ENHANCED
|
||
════════════════════════════════════════════════════ */
|
||
.hero-buttons {
|
||
display: flex;
|
||
gap: 12px;
|
||
flex-wrap: wrap;
|
||
margin-bottom: 32px;
|
||
}
|
||
|
||
.hero-buttons .btn {
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
/* ═══════════════════════════════════════════════════
|
||
HERO TRUST BADGES - ENHANCED
|
||
════════════════════════════════════════════════════ */
|
||
.hero-trust {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 20px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.trust-item {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 7px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.hero-trust {
|
||
gap: 16px;
|
||
}
|
||
|
||
.trust-item {
|
||
font-size: 0.85rem;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 480px) {
|
||
.hero-trust {
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 12px;
|
||
}
|
||
}
|
||
|
||
/* مخفی کردن کادرهای زرد debug */
|
||
.plugin-zone {
|
||
display: none !important;
|
||
} |