/* ==========================================================================
   TAXI RESERVATION - Base CSS
   ========================================================================== */

/* CSS Variables */
:root {
    --primary:  #2ec1cd;
    --primary-dark: #037f89;
    --primary-light: #E6F0FF;
    --accent: #FFB800;
    --accent-dark: #E5A600;
    --dark: #0F172A;
    --dark-soft: #1E293B;
    --text: #334155;
    --text-light: #64748B;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --success: #10B981;
    --gradient: linear-gradient(135deg, #2ec1cd 0%, #037f89 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
    line-height: 1.2;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 48px;
}

.logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0,102,255,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,102,255,0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary-light);
}

.btn-accent {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(255,184,0,0.4);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-light);
}

/* ==========================================================================
   BADGES
   ========================================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    box-shadow: var(--shadow);
}

.badge svg {
    color: var(--success);
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Feature card header layout for mobile */
.feature-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.feature-card-header .feature-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.feature-card-header h3 {
    margin-bottom: 0;
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-btn svg {
    transition: var(--transition);
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn .close-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: block;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    padding: 100px 24px 40px;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 16px 12px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: left;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:active {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-menu-nav a svg {
    width: 22px;
    height: 22px;
    color: var(--text-light);
}

.mobile-menu-nav a:hover svg,
.mobile-menu-nav a:active svg {
    color: var(--primary);
}

.mobile-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 16px 0;
}

.mobile-menu-cta {
    margin-top: 24px;
}

.mobile-menu-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1rem;
}

.mobile-menu-contact {
    margin-top: 32px;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
}

.mobile-menu-contact h4 {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.mobile-menu-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu-contact a svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   PARTNERS
   ========================================================================== */
.partners {
    padding: 60px 0;
    background: var(--light);
    overflow: hidden;
}

/* Desktop Slider */
.partners-slider {
    position: relative;
    overflow: hidden;
}

.partners-track {
    display: flex;
    transition: transform 0.5s ease;
}

.partners-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    min-width: 100%;
    padding: 20px 0;
}

.partners-slide a {
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.partners-slide a:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.partners-slide img {
    height: 50px;
    object-fit: contain;
}

.partners-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.partners-nav span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.partners-nav span.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* Mobile Carousel */
.partners-carousel {
    display: none;
    position: relative;
    height: 120px;
    overflow: hidden;
}

.partners-carousel a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.partners-carousel a.active {
    opacity: 0.7;
}

.partners-carousel img {
    height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin: 20px 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-legal {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

.footer-payments {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-payments span {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.payment-badges {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-badge {
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE - Tablet
   ========================================================================== */
@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 2.25rem;
    }

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

/* ==========================================================================
   RESPONSIVE - Mobile
   ========================================================================== */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .section-header p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    footer {
        padding: 40px 0 40px;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-brand .logo {
        display: flex;
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column ul {
        align-items: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Feature card mobile layout */
    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 0;
    }

    .partners-slider {
        display: none;
    }

    .partners-carousel {
        display: block;
    }

    .container {
        padding: 0 16px;
    }

    .whatsapp-float {
        bottom: 25px;
        right: 16px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.5rem;
    }
}
