/* =====================================================
   VARIABLES DE COLOR (Identidad visual)
===================================================== */
:root {
    --negro: #111111;
    --amarillo: #FFC107;
    --gris-claro: #F8F9FA;
    --blanco: #ffffff;
}

/* =====================================================
   RESET GENERAL
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--blanco);
    color: var(--negro);
    line-height: 1.6;
}

/* =====================================================
   CONTENEDOR GENERAL
===================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar {
    background: var(--negro);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--amarillo);
    font-weight: bold;
    font-size: 20px;
}

.navbar nav a {
    color: white;
    margin-left: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.navbar nav a:hover,
.navbar nav a.active {
    color: var(--amarillo);
}

.btn-call {
    background: var(--amarillo);
    padding: 10px 20px;
    border-radius: 30px;
    color: black !important;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-call:hover {
    transform: scale(1.05);
}

/* =====================================================
   SECCIONES GENERALES
===================================================== */
.section {
    padding: 70px 0;
    scroll-margin-top: 90px;
}

/* =====================================================
   HERO / INICIO CON IMAGEN COMPLETA
   ⚠ IMPORTANTE: La imagen debe estar en assets/img/
===================================================== */
.inicio {
    height: 100vh;
    background: url('./assets/img/logo.png') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.inicio h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.btn-primary {
    background: var(--amarillo);
    padding: 15px 30px;
    border-radius: 40px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* =====================================================
   SERVICIOS
===================================================== */
.servicios {
    background: var(--blanco);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--blanco);
    padding: 40px 25px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* =====================================================
   NOSOTROS / ¿POR QUÉ ELEGIRNOS?
===================================================== */
.about {
    background: var(--gris-claro);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-content ul {
    list-style: none;
    margin-bottom: 25px;
}

.about-content li {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

/* Imagen taxi animada */
.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    animation: taxiEntrance 1.2s ease-out forwards,
               taxiFloat 4s ease-in-out infinite 1.2s;
}

@keyframes taxiEntrance {
    0% { transform: translateY(60px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes taxiFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Redes sociales */
.social-links {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: 0.3s ease;
}

.social-icon.facebook { background: #1877F2; }
.social-icon.instagram { background: #E1306C; }
.social-icon.whatsapp { background: #25D366; }

.social-icon:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.social-icon:active {
    transform: scale(0.9);
}

/* =====================================================
   MAPA
===================================================== */
.map-section {
    background: var(--blanco);
    text-align: center;
}

.map-header {
    margin-bottom: 40px;
}

.map-card {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.map-card iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* =====================================================
   CONTACTO MEJORADO
===================================================== */
.contact {
    background: var(--blanco);
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-form h2,
.contact-info h2 {
    margin-bottom: 20px;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact input,
.contact textarea {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.contact button {
    border: none;
    cursor: pointer;
}

/* Tarjeta de información */
.contact-info {
    background: var(--gris-claro);
    padding: 40px;
    border-radius: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
    background: var(--negro);
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* =====================================================
   BOTÓN FLOTANTE
===================================================== */
.floating-call {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--amarillo);
    padding: 18px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 22px;
    color: black;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .inicio h1 {
        font-size: 28px;
    }
}