/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #FF7A00 0%, #E86B00 50%, #E53935 100%);
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    color: var(--white);
    margin: 0 0 20px 0;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 40px 0;
    font-weight: 500;
}

.hero-actions {
    margin-top: 40px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.hero-actions .btn {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-actions .btn:hover {
    background: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.3);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-header h2 .dashicons {
    color: var(--primary-color);
    font-size: 40px;
    width: 40px;
    height: 40px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.view-all:hover {
    color: var(--primary-dark);
}

/* ========================================
   PLATFORMS OVERVIEW
   ======================================== */
.platforms-overview {
    padding: 80px 0;
    background: var(--white);
}

.platforms-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.platform-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-operators:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.2);
}

.card-employers:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(229, 57, 53, 0.2);
}

.card-machinery:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(255, 202, 40, 0.2);
}

.platform-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: var(--shadow-sm);
}

.card-employers .platform-card-icon {
    background: linear-gradient(135deg, var(--secondary-color), #C62828);
}

.card-machinery .platform-card-icon {
    background: linear-gradient(135deg, var(--accent-color), #FFB300);
}

.platform-card-icon .dashicons {
    color: var(--white);
    font-size: 48px;
    width: 48px;
    height: 48px;
}

.platform-card h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.platform-card > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.platform-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.platform-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.platform-features li:last-child {
    border-bottom: none;
}

.platform-features li .dashicons {
    color: var(--primary-color);
    font-size: 20px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.platform-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.platform-actions .btn {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================================
   STATISTICS SECTION
   ======================================== */
.statistics-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgb(255 255 255 / 43%);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon .dashicons {
    color: var(--primary-color);
    font-size: 36px;
    width: 36px;
    height: 36px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ========================================
   LATEST JOBS SECTION
   ======================================== */
.latest-jobs-section {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
}

.latest-jobs-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 90%);
    height: 3px;
    background: var(--primary-color);
}

.jobs-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.job-slide {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border-right: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.job-slide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.job-header {
    margin-bottom: 15px;
}

.job-slide h3 {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    line-height: 1.4;
}

.job-slide h3 a {
    color: var(--dark-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-slide h3 a:hover {
    color: var(--primary-color);
}

.job-company {
    display: block;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
}

.job-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
    flex-grow: 1;
}

.job-meta-grid span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 13px;
    padding: 6px 12px;
    background: var(--bg-primary);
    border-radius: 6px;
}

.job-meta-grid .dashicons {
    color: var(--primary-color);
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.job-salary {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.job-slide .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
}

/* ========================================
   LATEST VEHICLES SECTION
   ======================================== */
.latest-vehicles-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.latest-vehicles-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 90%);
    height: 3px;
    background: var(--accent-color);
}

.vehicles-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.vehicle-card-home {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.vehicle-card-home:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.vehicle-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.vehicle-card-home:hover .vehicle-image img {
    transform: scale(1.1);
}

.vehicle-badge-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.vehicle-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.vehicle-badge-sale {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: #FFFFFF;
}

.vehicle-badge-rent {
    background: linear-gradient(135deg, #FF7A00 0%, #E86B00 100%);
    color: #FFFFFF;
}

.vehicle-badge-both {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: #FFFFFF;
}

.vehicle-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 8px;
}

.vehicle-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(255, 122, 0, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.vehicle-condition {
    font-size: 11px;
    color: var(--text-light);
    background: var(--bg-primary);
    padding: 4px 8px;
    border-radius: 4px;
}

.vehicle-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    line-height: 1.3;
}

.vehicle-info h3 a {
    color: var(--dark-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vehicle-info h3 a:hover {
    color: var(--primary-color);
}

.vehicle-manufacturer {
    color: var(--text-light);
    font-size: 14px;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vehicle-manufacturer .dashicons {
    color: var(--primary-color);
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.vehicle-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.vehicle-meta-grid span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-light);
    padding: 5px 10px;
    background: var(--bg-primary);
    border-radius: 6px;
}

.vehicle-meta-grid .dashicons {
    color: var(--primary-color);
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.vehicle-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: auto 0 15px 0;
}

.vehicle-info .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
}

/* ========================================
   LATEST OPERATORS SECTION
   ======================================== */
.latest-operators-section {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
}

.latest-operators-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 90%);
    height: 3px;
    background: var(--secondary-color);
}

/* Override plugin's auto-fill to show exactly 4 columns */
.latest-operators-section .operators-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */
.why-choose-us {
    padding: 80px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon .dashicons {
    color: var(--white);
    font-size: 36px;
    width: 36px;
    height: 36px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    box-shadow: var(--shadow-md);
}

/* ========================================
   RESPONSIVE - HOMEPAGE
   ======================================== */
@media (max-width: 1024px) {
    .platforms-grid-large,
    .jobs-slider,
    .vehicles-grid-home,
    .latest-operators-section .operators-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .platforms-grid-large,
    .stats-grid,
    .jobs-slider,
    .vehicles-grid-home,
    .latest-operators-section .operators-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}
