/**
 * MoveCar Services Section CSS - Automotive Black & Red Theme v1.0
 * WordPress Plugin Styles
 */

/* MoveCar Services - Brand colors */
:root {
    --movecar-black: #000000;
    --movecar-black-soft: #111111;
    --movecar-red: #E10600;
    --movecar-red-hover: #FF2D2D;
    --movecar-red-dark: #B00000;
    --movecar-white: #F5F5F5;
    --movecar-separator: #CCCCCC;
    --movecar-card-bg: rgba(17, 17, 17, 0.95);
    --movecar-overlay: rgba(0, 0, 0, 0.7);
}

/* Main services section */
.movecar-services-section {
    position: relative;
    padding: 100px 0;
    background: var(--movecar-black-soft);
    overflow: hidden;
}

/* Background pattern for automotive feel */
.movecar-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(225, 6, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(225, 6, 0, 0.05) 0%, transparent 50%);
    background-size: 800px 800px, 600px 600px;
    animation: patternMove 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes patternMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

/* Container */
.movecar-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Section header */
.movecar-header {
    text-align: center;
    margin-bottom: 80px;
}

.movecar-section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--movecar-white);
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.movecar-section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--movecar-red) 0%, var(--movecar-red-hover) 100%);
    border-radius: 2px;
}

.movecar-section-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--movecar-white);
    opacity: 0.9;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Services grid */
.movecar-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Service card */
.movecar-service-card {
    background: var(--movecar-card-bg);
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid rgba(225, 6, 0, 0.2);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.movecar-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--movecar-red) 0%, var(--movecar-red-hover) 100%);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.movecar-service-card:hover::before {
    transform: translateX(0);
}

.movecar-service-card:hover {
    transform: translateY(-8px);
    border-color: var(--movecar-red);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(225, 6, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Featured card */
.movecar-service-card.movecar-featured {
    border-color: var(--movecar-red);
    background: linear-gradient(135deg, var(--movecar-card-bg) 0%, rgba(225, 6, 0, 0.1) 100%);
    transform: scale(1.02);
}

.movecar-featured-badge {
    position: absolute;
    top: 10px;
    right: 20px;
    background: linear-gradient(135deg, var(--movecar-red) 0%, var(--movecar-red-dark) 100%);
    color: var(--movecar-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(225, 6, 0, 0.3);
}

/* Card header */
.movecar-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.movecar-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--movecar-red) 0%, var(--movecar-red-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 4px 15px rgba(225, 6, 0, 0.3);
    transition: all 0.3s ease;
}

.movecar-service-card:hover .movecar-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(225, 6, 0, 0.4);
}

.movecar-icon i {
    font-size: 24px;
    color: var(--movecar-white);
}

.movecar-service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--movecar-white);
    margin: 0;
    line-height: 1.2;
}

/* Service description */
.movecar-service-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--movecar-white);
    opacity: 0.9;
    margin: 0 0 25px 0;
}

/* Transport cities styling */
.movecar-transport-cities {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(225, 6, 0, 0.2);
}

.movecar-cities-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
}

.movecar-country-flag {
    font-size: 20px;
}

.movecar-cities {
    font-size: 14px;
    color: var(--movecar-white);
    font-weight: 500;
}

.movecar-route-arrow {
    text-align: center;
    font-size: 20px;
    color: var(--movecar-red);
    margin: 10px 0;
    font-weight: bold;
}

/* Features list */
.movecar-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.movecar-features-list li {
    position: relative;
    padding: 8px 0 8px 25px;
    color: var(--movecar-white);
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

.movecar-features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--movecar-red);
    font-weight: bold;
    font-size: 16px;
}

/* CTA Button */
.movecar-card-footer {
    margin-top: auto;
    text-align: center;
    padding-top: 20px;
}

.movecar-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--movecar-red) 0%, var(--movecar-red-dark) 100%);
    color: var(--movecar-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(225, 6, 0, 0.3);
}

.movecar-cta-button:hover {
    background: linear-gradient(135deg, var(--movecar-red-hover) 0%, var(--movecar-red) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 6, 0, 0.4);
    text-decoration: none;
    color: var(--movecar-white);
}

.movecar-cta-button:focus {
    outline: 2px solid var(--movecar-red-hover);
    outline-offset: 3px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .movecar-services-section {
        padding: 80px 0;
    }
    
    .movecar-container {
        padding: 0 15px;
    }
    
    .movecar-section-title {
        font-size: 40px;
    }
    
    .movecar-services-grid {
        gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .movecar-services-section {
        padding: 60px 0;
    }
    
    .movecar-header {
        margin-bottom: 50px;
    }
    
    .movecar-section-title {
        font-size: 32px;
    }
    
    .movecar-section-subtitle {
        font-size: 18px;
    }
    
    .movecar-services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .movecar-service-card {
        padding: 30px 25px;
    }
    
    .movecar-service-card.movecar-featured {
        transform: none;
    }
    
    .movecar-card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .movecar-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .movecar-service-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .movecar-services-section {
        padding: 40px 0;
    }
    
    .movecar-container {
        padding: 0 10px;
    }
    
    .movecar-section-title {
        font-size: 28px;
    }
    
    .movecar-service-card {
        padding: 25px 20px;
    }
    
    .movecar-transport-cities {
        padding: 15px;
    }
    
    .movecar-cities {
        font-size: 13px;
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    .movecar-service-card,
    .movecar-icon,
    .movecar-cta-button,
    .movecar-bg-pattern {
        transition: none !important;
        animation: none !important;
    }
}

/* Print styles */
@media print {
    .movecar-services-section {
        background: white !important;
        color: black !important;
        page-break-inside: avoid;
    }
    
    .movecar-bg-pattern {
        display: none !important;
    }
    
    .movecar-service-card {
        border: 2px solid #333 !important;
        background: white !important;
        box-shadow: none !important;
    }
}

/* Accessibility improvements */
@media (prefers-high-contrast: high) {
    .movecar-service-card {
        border: 2px solid var(--movecar-red);
    }
    
    .movecar-section-title,
    .movecar-service-title,
    .movecar-service-description {
        color: white !important;
    }
}

/* Focus management for keyboard navigation */
.movecar-cta-button:focus-visible {
    outline: 3px solid var(--movecar-red-hover);
    outline-offset: 2px;
}

/* Loading animation for dynamic content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.movecar-service-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.movecar-service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.movecar-service-card:nth-child(3) {
    animation-delay: 0.4s;
}