/* =====================
   RESET BÁSICO
===================== */
body {
    margin: 0;
    background: #ffffff;
}

/* Evita scroll de fondo mientras el menú está abierto */
body.menu-abierto {
    overflow: hidden;
    height: 100vh;
}
















/* =====================
   HEADER
===================== */
.header {
    position: fixed;
    top: -120px;
    width: 100%;
    padding: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: transparent;
    transition: top 0.3s ease, background 0.3s ease;
    z-index: 2000;
    font-family: 'Courier New', Courier, monospace;
}

.header.activo {
    top: 0;
    background: rgb(255, 255, 255);
}









/* =====================
   HAMBURGUESA
===================== */
.hamburguesa {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}


.hamburguesa span {
    height: 3px;
    width: 100%;
    background: #000000;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.header.activo .hamburguesa span {
    background: #000000;
}

.hamburguesa.activo span {
    background: #000000;
}

/* Animación ☰ → ✕ */
.hamburguesa.activo span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.hamburguesa.activo span:nth-child(2) {
    opacity: 0;
}
.hamburguesa.activo span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}















/* =====================
   MENÚ
===================== */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 74vh;
    background-color: #fff; /* fondo blanco */
    background-image: url('../Imagenes/chulpa.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 10px;
    gap: 0px;
    overflow: hidden;
    transform: translateX(100px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1), opacity 0.8s ease;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    z-index: 1500;
}

.menu.activo {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.menu a {
    color: black;
    text-decoration: none;
    font-size: 25px;
    margin: 8px 0;
    text-align: left;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900; /* ← más gruesa */
    letter-spacing: -0.5px;

    position: relative;
    padding-left: 20px; /* espacio para el símbolo */
}

/* Estilo de línea superior en el primer enlace */
.menu a:first-child {

    border-top: 1px solid rgba(0, 0, 0, 0.199); /* color de la línea */
    padding-top: 12px;          /* separa el texto de la línea */
}


/* Efecto de flecha animada */
.menu a::before {
    content: "➤"; /* símbolo de flecha */
    display: inline-block;
    margin-right: 8px;
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu a:hover::before {
    transform: translateX(6px);
    opacity: 1;
}








/* =====================
   LOGO 
===================== */

/* Logo */
.logo-container {
    position: fixed;
    top: 20px;
    left: 40px;
    z-index: 3000;
    height: 35px;
    display: flex;
    align-items: center;
    cursor: pointer;

    
}

.logo-container img {
    height: 100%;
    width: auto;
    display: block;
}

.logo-text {
    color: #ffffff;
    font-size: 32px;
    font-weight: 200;
    letter-spacing: 1px;           /* más aire */
    margin-left: 2px;
    font-family: "Raleway", Arial, sans-serif;
    font-weight: 900;   /* ← más grueso */
    text-shadow:
        0.6px 0 #fff,
       -0.6px 0 #fff;
}


.header.activo .logo-text {
    color: #04f84d;
    transition: color 0.3s ease;
}

/* Logo verde cuando el header está activo O el menú está abierto */
.header.activo .logo-text,
.menu.activo ~ .logo-container .logo-text,
.hamburguesa.activo ~ .logo-container .logo-text {
    color: #000000;
    transition: color 0.9s ease;
    font-family: "Raleway", Arial, sans-serif;
    font-weight: 900;   /* ← más grueso */
}










/* =====================
   CONTENIDO
===================== */
main {
    margin-top: 0;
}

.bloque {
    width: 100%;
    min-height: 100vh;
    padding: 140px 40px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
}

.bloque .contenido {
    max-width: 900px;
}

.bloque h1, .bloque h2 {
    margin: 0 0 20px 0;
}

.bloque p {
    font-size: 1.2rem;
    line-height: 1.5;
}

.titulo-destacado {
    position: relative;
    display: inline-block;
    font-size: 3rem;
    font-weight: bold;
    z-index: 1;
    
}

/* TRAZO BASE */
.titulo-destacado::before {
    content: "";
    position: absolute;

    left: -10px;
    right: -12px;
    top: -10%;

    height: 1.3em;

    background: #c7ff00;

    transform: rotate(-2deg);
    filter: blur(0.6px);
    z-index: -1;
    opacity: 3;
}

/* TRAZO DE REFUERZO (fusionado) */
.titulo-destacado::after {
    content: "";
    position: absolute;

    left: -1px;
    right: -20px;
    top: 21%;

    height: 1.2em;

    background: #c7ff00;

    transform: rotate(-2deg);
    filter: blur(0.6px);
    z-index: -1;
    opacity: 1;
}





/* =====================
   BLOQUES ESPECÍFICOS
===================== */
/* BLOQUE INICIO- BLOQUE 1 */
#inicio {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(rgba(60,53,53,0.189), rgba(0,0,0,0.4)),
                url('../Imagenes/indriveima.webp') center center no-repeat;
    background-size: cover;
    background-attachment: fixed; /* esto crea el parallax ligero */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 140px 40px 40px;
    box-sizing: border-box;
    color: rgb(0, 0, 0);
}

#inicio .contenido {
    max-width: 800px;
}

#inicio .contenido h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

#inicio .contenido p {
    font-size: 1.7rem;              /* más presencia */
    color: #ffffff;
    line-height: 4;               /* lectura cómoda */
    max-width: 700px;               /* evita líneas muy largas */
    font-weight: 200;               /* más elegante */
    letter-spacing: 2px;          /* aire entre letras */
    text-shadow: 0 2px 6px rgba(0,0,0,0.4); /* destaca sobre la imagen */
    font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}


/* BLOQUES 2*/
.ruta-inteligente {
    background: rgb(245, 241, 234);
    padding: 120px 20px;
    color: #000000;
    text-align: center;
}

.ruta-inteligente h2 {
    font-size: 45px;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 800; /* o 900 */
}

.descripcion {
    font-size: 18px;
    color: rgb(63, 58, 58);
    max-width: 650px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.comodidad-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.icon-item {
    background: rgb(255, 255, 255);
    padding: 30px 20px;
    border-radius: 16px;
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.icon-item:hover {
    transform: translateY(-6px);
    background: rgb(255, 255, 255);
}

.icon-item span {
    font-size: 42px;
    display: block;
    margin-bottom: 15px;
}

.icon-item h4 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    z-index: 1;
}
.icon-item p {
    font-size: 14px;
    color: rgba(92, 72, 72, 0.85);
}
/* TRAZO BASE *//* RESALTADOR */
.icon-item h4::before {
    content: "";
    position: absolute;

    left: -0.4em;
    right: -0.6em;
    top: 55%;

    transform: translateY(-50%) rotate(-2deg);

    height: 1.7em;

    background: #c7ff00;

    
    filter: blur(0.4px);

    z-index: -1;
    opacity: 0.85;
}
















/* =====================
   FOOTER PROFESIONAL
===================== */
.footer {
  background: #e6e4d4; /* color tipo inDrive */
  padding: 60px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
}

.footer-brand h2 {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-column a {
  display: block;
  text-decoration: none;
  color: #000;
  font-size: 14px;
  margin-bottom: 10px;
  transition: opacity 0.3s;
}

.footer-column a:hover {
  opacity: 0.6;
}











@media (max-width: 480px) {
  /* ===== TRAZO RESPONSIVE MÓVIL ===== */

    .titulo-destacado::before {
        left: -5px;
        right: -5px;
        top: 10%;
        height: 1em;

        transform: rotate(-1.5deg);
        filter: blur(0.4px);
        opacity: 3;
    }

    .titulo-destacado::after {
        left: -3px;
        right: -8px;
        top: 55%;
        height: 0.9em;

        transform: rotate(-1.5deg);
        filter: blur(0.4px);
        opacity: 1;
    }

    /* ===== FOOTER MOBILE ===== */

    .footer {
        padding: 40px 15px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr); /* 👈 DOS COLUMNAS */
        gap: 20px;
    }

    .footer-brand {
        grid-column: span 2; /* 👈 La marca ocupa las dos columnas */
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-column h4 {
        font-size: 14px;
    }

    .footer-column a {
        font-size: 13px;
    }

    #inicio {
        min-height: 80vh; /* menos alto en celular */
        padding: 120px 20px 40px; /* menos espacio lateral */
        
        background-attachment: scroll; /* 🔥 quitar parallax en móvil */
        background-position: 60% center; /* enfocar personas */
    }

    #inicio .contenido h1 {
        font-size: 2rem; /* más pequeño */
    }

    #inicio .contenido p {
        font-size: 1rem;
        line-height: 1.6; /* tu line-height 4 es demasiado en móvil */
        letter-spacing: 1px;
    }

    /* titulo y parrafo bloque 1 donde esat la imagen */
    .bloque {
        padding: 120px 25px 60px;
        align-items: center; /* centrado más moderno */
        text-align: center;
    }

    .bloque .contenido {
        max-width: 100%;
    }

    .titulo-destacado {
        font-size: 2.2rem; /* más proporcionado en móvil */
        line-height: 1.2;
        letter-spacing: -1px;
        margin-bottom: 25px;
    }

    .bloque p {
        font-size: 1.05rem;
        line-height: 1.7;
        opacity: 0.95;
        max-width: 95%;
        margin: 0 auto;
    }


    /* Logo */
    .logo-container {
        top: 15px;
        left: 20px; /* más pegado al borde */
        height: 28px; /* más pequeño */
    }

    .logo-text {
        font-size: 22px; /* más compacto */
        letter-spacing: 0.5px;
        text-shadow: none; /* quita ese efecto fuerte en móvil */
    }

}
