/**
 * Homepage Styles - Patman's Car Rental
 * Tropical sunset gradient theme
 */

/* Color Variables - Patman's Brand */
:root {
    --primary: #FF6B9D;
    --secondary: #FFB84D;
    --accent: #6366F1;
    --gradient: linear-gradient(135deg, #6366F1 0%, #A855F7 25%, #FF6B9D 50%, #FF8B60 75%, #FFB84D 100%);
}

/* Reset & Base */
.ezycr-homepage {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

.ezycr-hp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.ezycr-hp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
}

.ezycr-hp-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ezycr-hp-logo img {
    max-height: 50px;
    width: auto;
}

.ezycr-hp-logo .logo-text {
    font-size: 24px;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ezycr-hp-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.ezycr-hp-nav-link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.ezycr-hp-nav-link:hover {
    color: var(--primary);
}

.ezycr-hp-nav-btn {
    background: var(--gradient);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ezycr-hp-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

/* Hero Section */
.ezycr-hp-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 70px;
}

.ezycr-hp-slider,
.ezycr-hp-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.ezycr-hp-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.ezycr-hp-slide.active {
    opacity: 1;
}

.ezycr-hp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.7) 0%, rgba(255,107,157,0.7) 100%);
    z-index: 1;
}

.ezycr-hp-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.ezycr-hp-hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin: 0 0 20px 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.ezycr-hp-hero-subtitle {
    font-size: 1.5rem;
    margin: 0 0 40px 0;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.ezycr-hp-search-box {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Bar */
.ezycr-hp-stats {
    background: white;
    padding: 60px 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
}

.ezycr-hp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.ezycr-hp-stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.ezycr-hp-stat-label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Featured Vehicles */
.ezycr-hp-featured {
    padding: 100px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.ezycr-hp-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.ezycr-hp-section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #111827;
}

.ezycr-hp-section-header p {
    font-size: 1.2rem;
    color: #6b7280;
    margin: 0;
}

.ezycr-hp-vehicles-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.ezycr-hp-vehicle-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ezycr-hp-vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.ezycr-hp-vehicle-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.ezycr-hp-vehicle-info {
    padding: 20px;
}

.ezycr-hp-vehicle-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    color: #111827;
}

.ezycr-hp-vehicle-type {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0 0 15px 0;
}

.ezycr-hp-vehicle-features {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #4b5563;
}

.ezycr-hp-vehicle-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.ezycr-hp-vehicle-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.ezycr-hp-vehicle-price .from {
    font-size: 0.8rem;
    color: #9ca3af;
}

.ezycr-hp-vehicle-price .amount {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ezycr-hp-vehicle-price .period {
    font-size: 0.9rem;
    color: #6b7280;
}

.ezycr-hp-btn-reserve {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ezycr-hp-btn-reserve:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.ezycr-hp-section-cta {
    text-align: center;
}

.ezycr-hp-btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.ezycr-hp-btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* How It Works */
.ezycr-hp-how-it-works {
    padding: 100px 0;
    background: white;
}

.ezycr-hp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.ezycr-hp-step {
    text-align: center;
}

.ezycr-hp-step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    color: white;
    font-size: 2rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

.ezycr-hp-step h3 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    color: #111827;
}

.ezycr-hp-step p {
    color: #6b7280;
    margin: 0;
}

/* Features Grid */
.ezycr-hp-features {
    padding: 80px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.ezycr-hp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.ezycr-hp-feature {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.ezycr-hp-feature:hover {
    transform: translateY(-5px);
}

.ezycr-hp-feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.ezycr-hp-feature-title {
    font-weight: 600;
    color: #111827;
}

/* Testimonials */
.ezycr-hp-testimonials {
    padding: 100px 0;
    background: white;
}

.ezycr-hp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ezycr-hp-testimonial {
    background: linear-gradient(135deg, #f0f9ff 0%, #fef3c7 100%);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.ezycr-hp-testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.ezycr-hp-testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: #374151;
    margin: 0 0 20px 0;
    line-height: 1.8;
}

.ezycr-hp-testimonial-author {
    font-weight: 600;
    color: #6b7280;
    margin: 0;
}

/* Final CTA */
.ezycr-hp-cta {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.ezycr-hp-cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0 0 30px 0;
}

.ezycr-hp-btn-cta {
    display: inline-block;
    padding: 20px 50px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ezycr-hp-btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Footer */
.ezycr-hp-footer {
    background: #111827;
    color: #9ca3af;
    padding: 40px 0;
    text-align: center;
}

.ezycr-hp-footer p {
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ezycr-hp-hero-title {
        font-size: 2.5rem;
    }
    
    .ezycr-hp-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .ezycr-hp-stats-grid,
    .ezycr-hp-steps,
    .ezycr-hp-features-grid {
        grid-template-columns: 1fr;
    }
    
    .ezycr-hp-vehicles-slider {
        grid-template-columns: 1fr;
    }
    
    .ezycr-hp-menu {
        display: none; /* Add mobile menu toggle later */
    }
    
    .ezycr-hp-cta-content h2 {
        font-size: 2rem;
    }
}

/* No Vehicles Fallback */
.ezycr-hp-no-vehicles {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.ezycr-hp-no-vehicles h3 {
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    color: #111827;
}

.ezycr-hp-no-vehicles p {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0 0 30px 0;
}

/* Ensure hero text is always visible */
.ezycr-hp-hero-title,
.ezycr-hp-hero-subtitle {
    text-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 4px 20px rgba(0,0,0,0.3);
}
