/* ==========================================================================
   ROYAL ELITE LIMO - WHY CHOOSE US STYLESHEET
   Apple iOS Liquid Glass Design System overrides for trust, fleet, and safety sections.
   ========================================================================== */

/* --- Split grid for visual story-telling (Chauffeurs & Reliability) --- */
.why-split-section {
    width: 100%;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.why-split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.why-split-grid.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.why-split-grid.reverse .why-split-visual {
    order: 2;
}

.why-split-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 80%);
}

.why-split-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-ios);
}

.why-split-visual:hover .why-split-img {
    transform: scale(1.03);
}

/* Sweeping reflection glare overlay */
.why-split-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.08) 50%, 
        transparent 100%
    );
    transform: skewX(-25deg);
    z-index: 5;
    pointer-events: none;
}

.why-split-visual:hover::after {
    left: 150%;
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.why-split-info {
    display: flex;
    flex-direction: column;
}

.why-split-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.why-split-desc {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.why-feature-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.why-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.why-bullet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    flex-shrink: 0;
    margin-top: 2px;
}

.why-bullet-icon i, .why-bullet-icon svg {
    width: 15px;
    height: 15px;
    color: var(--gold-accent);
}

.why-bullet-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.why-bullet-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* --- Section 2 - Horizontal Fleet Scroll Showcase --- */
.why-fleet-section {
    padding: 80px 0;
    background: rgba(2, 2, 2, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.why-fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.why-fleet-card {
    position: relative;
    height: 380px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--glass-shadow);
    cursor: pointer;
    transition: all 0.4s var(--ease-ios);
}

.why-fleet-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s var(--ease-ios);
}

.why-fleet-card:hover .why-fleet-card-bg {
    transform: scale(1.06);
}

.why-fleet-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(2, 2, 2, 0.1) 0%, rgba(2, 2, 2, 0.4) 50%, rgba(2, 2, 2, 0.95) 100%);
}

.why-fleet-card-content {
    position: relative;
    z-index: 3;
}

.why-fleet-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.why-fleet-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.why-fleet-card-specs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.why-fleet-spec-tag {
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.why-fleet-card:hover {
    border-color: var(--gold-accent);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

/* --- Section 3 - Punctuality Timeline --- */
.timeline-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 48px;
    padding-left: 36px;
    border-left: 2px solid var(--glass-border);
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -46px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold-accent);
    border: 4px solid var(--primary-bg);
    box-shadow: 0 0 10px var(--gold-accent);
    z-index: 10;
}

.timeline-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.timeline-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Section 4 - Nationwide City Cards --- */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.city-panel {
    padding: 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    transition: all 0.3s var(--ease-ios);
}

.city-panel:hover {
    border-color: var(--glass-border-hover);
    background: var(--glass-bg-hover);
    transform: translateY(-2px);
}

.city-panel-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.city-panel-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* --- Section 5 & 6 - Bento Grids for Corporate & Safety --- */
.why-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 0;
}

.why-bento-tile {
    padding: 36px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    transition: all 0.4s var(--ease-ios);
}

.why-bento-tile:hover {
    border-color: var(--gold-accent);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.12);
}

.why-bento-span-2 {
    grid-column: span 2;
}

.why-bento-tile-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.why-bento-tile-icon i, .why-bento-tile-icon svg {
    width: 20px;
    height: 20px;
    color: var(--gold-accent);
}

.why-bento-tile-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-bento-tile-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Section 7 - App Mockup UI section --- */
.booking-mockup-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 11, 0.5));
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.booking-mockup-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.mockup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.app-frame {
    position: relative;
    width: 320px;
    height: 560px;
    border-radius: 40px;
    border: 8px solid #1c1c1e;
    background: #000;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 20px rgba(212,175,55,0.08);
    overflow: hidden;
}

.app-screen {
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.app-screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.app-screen-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.app-screen-logo span {
    color: var(--gold-accent);
}

.app-screen-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-ride-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    padding: 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-ride-route {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    padding-left: 16px;
}

.mock-ride-route::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    border-left: 1px dashed var(--text-secondary);
}

.mock-route-dot {
    position: absolute;
    left: 2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-primary);
}

.mock-route-dot.start { top: 4px; background: var(--gold-accent); }
.mock-route-dot.end { bottom: 4px; background: #0071e3; }

.mock-route-text {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.mock-route-text strong {
    color: var(--text-primary);
}

.mock-vehicle-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
}

.mock-vehicle-badge span {
    font-weight: 600;
}

.mock-app-button {
    width: 100%;
    padding: 10px;
    background: var(--gold-accent);
    color: #000;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 10px;
    text-align: center;
    border: none;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.mock-app-confirm-badge {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Mockup back drops */
.mockup-glow-sphere {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

/* --- Stats and Counters Grid layout --- */
.stats-banner-section {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(to right, rgba(10, 10, 11, 0.8), rgba(2, 2, 2, 0.9));
}

.stats-banner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}

.stats-banner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-banner-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--gold-accent);
    margin-bottom: 6px;
}

.stats-banner-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Corporate solutions section padding --- */
.corporate-solutions-section {
    width: 100%;
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* --- Scroll margin setup --- */
section {
    scroll-margin-top: 120px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Laptops */
@media (max-width: 1199px) {
    .why-split-grid {
        gap: 40px;
    }
    
    .why-split-title {
        font-size: 1.8rem;
    }
    
    .why-fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .why-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-banner-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .why-split-grid, .why-split-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 0;
    }
    
    .why-split-grid.reverse .why-split-visual {
        order: 0;
    }
    
    .why-split-img {
        height: 380px;
    }
    
    .why-fleet-grid {
        grid-template-columns: 1fr;
        max-width: 580px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-bento-grid {
        grid-template-columns: 1fr;
    }
    
    .why-bento-span-2 {
        grid-column: span 1;
    }
    
    .booking-mockup-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .booking-mockup-grid .why-split-info {
        text-align: center;
        align-items: center;
    }
    
    .stats-banner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .why-split-title {
        font-size: 1.5rem;
    }
    
    .why-split-desc {
        font-size: 0.9rem;
    }
    
    .why-fleet-card {
        height: 340px;
        padding: 20px;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .city-panel {
        padding: 16px;
    }
    
    .stats-banner-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline-container {
        padding-left: 24px;
    }
    
    .timeline-dot {
        left: -33px;
        width: 14px;
        height: 14px;
    }
    
    .app-frame {
        width: 290px;
        height: 520px;
    }
}
