/* ==========================================
   TAXI TINO - Estilos Principales
   ========================================== */

/* Variables CSS */
:root {
    --primary: #1e3a5f;
    --primary-light: #2d5a8a;
    --primary-dark: #0f1e33;
    --secondary: #f0b429;
    --secondary-light: #f5c84c;
    --accent: #00a8e8;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --success: #10b981;
    --error: #ef4444;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Titles */
.section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 3rem;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    font-weight: 400;
}

.logo-text strong {
    font-weight: 700;
}

.nav-buttons {
    display: flex;
    gap: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-call {
    background: linear-gradient(135deg, var(--success), #059669);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-reserve {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--primary-dark);
    box-shadow: var(--shadow);
}

.btn-reserve:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('hero-bg.png') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 6rem 1.5rem 2rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(15, 30, 51, 0.7) 0%,
            rgba(30, 58, 95, 0.8) 50%,
            rgba(15, 30, 51, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    margin-bottom: 2.5rem;
}

.hero-feature {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    backdrop-filter: blur(5px);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn-hero-call {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--success), #059669);
    color: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
}

.btn-hero-call:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.btn-hero-reserve {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
}

.btn-hero-reserve:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
    padding: 5rem 0;
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ==========================================
   VEHICLE SECTION
   ========================================== */
.vehicle {
    padding: 5rem 0;
    background: var(--white);
}

.vehicle-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.vehicle-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.vehicle-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.vehicle-image:hover img {
    transform: scale(1.02);
}

.vehicle-info .section-title {
    text-align: left;
    margin-bottom: 0.25rem;
}

.vehicle-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.vehicle-description {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.vehicle-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.vehicle-features li {
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* ==========================================
   DRIVER SECTION
   ========================================== */
.driver {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.driver-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.driver-info .section-title {
    text-align: left;
    color: var(--white);
}

.driver-role {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.driver-description {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.driver-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.driver-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.driver-image img {
    width: 100%;
    height: auto;
}

/* ==========================================
   WHY US SECTION
   ========================================== */
.why-us {
    padding: 5rem 0;
    background: var(--gray-50);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.why-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.why-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--secondary);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq {
    padding: 5rem 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    background: var(--gray-50);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--secondary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
    color: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about .section-title {
    color: var(--white);
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    padding: 5rem 0;
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0 2rem;
}


.footer-content {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.footer-text {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ==========================================
   FLOATING BUTTONS
   ========================================== */
.floating-buttons {
    position: fixed;
    bottom: 1.5rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 999;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.floating-call {
    background: linear-gradient(135deg, var(--success), #059669);
    color: var(--white);
}

.floating-reserve {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--primary-dark);
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ==========================================
   MODAL
   ========================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--gray-400);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--gray-700);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

/* ==========================================
   FORM
   ========================================== */
.reserve-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.form-group {
    flex: 1;
    min-width: 0;
}

.form-group.full-width {
    flex-basis: 100%;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--gray-700);
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--success), #059669);
    color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .header-container {
        padding: 0.5rem 1rem;
    }

    .nav-buttons .btn-text {
        display: none;
    }

    .nav-buttons .btn {
        padding: 0.75rem;
    }

    .hero {
        padding: 5rem 1rem 3rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.5rem;
    }

    .vehicle-content,
    .driver-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .vehicle-info .section-title,
    .driver-info .section-title {
        text-align: center;
    }

    .vehicle-features {
        justify-content: center;
    }

    .driver-content {
        direction: rtl;
    }

    .driver-content>* {
        direction: ltr;
    }

    .driver-image {
        order: -1;
    }

    .driver-stats {
        justify-content: center;
    }

    .form-row {
        flex-direction: column;
    }

    .floating-buttons {
        width: calc(100% - 2rem);
        justify-content: center;
    }

    .floating-text {
        display: none;
    }

    .floating-btn {
        padding: 1rem 1.25rem;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-call,
    .btn-hero-reserve {
        width: 100%;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.why-card,
.contact-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Print Styles */
@media print {

    .header,
    .floating-buttons,
    .modal {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.3);
    }
}

/* Map Hint */
.map-hint {
    font-size: 0.85rem;
    color: var(--secondary);
    margin-top: 0.5rem;
    font-weight: 500;
}