/* ---------------------- RESET ---------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------------------- GLOBAL ---------------------- */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f9fbfd;
    color: #2c2c2c;
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #111;
}

p {
    margin-bottom: 1.2em;
}

a {
    color: #0077ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #005fcc;
}

/* ---------------------- HEADER ---------------------- */
.header {
    background: linear-gradient(135deg, #2231ff, #1abcff);
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    max-width: 1200px;
    margin: auto;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo img {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    object-fit: cover;
}

.logo:hover {
    transform: scale(1.08) rotate(-2deg);
}

/* NAVIGATION */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 10px;
    position: relative;
    display: inline-block;
    background: rgba(255,255,255,0.07);
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255,255,255,0.25);
    color: #ffe082;
}

.nav-link::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background: #ffe082;
    position: absolute;
    bottom: 5px;
    left: 25%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 50%;
}

/* ---------------------- HAMBURGER MENU ---------------------- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------------------- MAIN ---------------------- */
.main-content {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f0f4ff, #e8faff);
    border-top: 4px solid #2231ff;
    border-bottom: 4px solid #1abcff;
}

/* ---------------------- RUTAS Y HORARIOS ---------------------- */
.routes h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2231ff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
    position: relative;
}

.routes h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    margin: 12px auto 0 auto;
    background: linear-gradient(90deg, #2231ff, #1abcff);
    border-radius: 4px;
}

.routes p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 600;
    color: #555;
}

/* Lista de horarios */
.schedule {
    list-style: none;
    padding: 0;
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.schedule li {
    background: linear-gradient(135deg, #1abcff, #2231ff);
    color: #fff;
    margin: 12px 0;
    padding: 15px 25px;
    border-radius: 14px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: default;
}

.schedule li:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #2231ff, #1abcff);
}

/* ---------------------- RESPONSIVE ---------------------- */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        background: #2231ff;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 220px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }

    .nav-list.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .routes h2 {
        font-size: 2rem;
    }

    .routes p {
        font-size: 1rem;
    }

    .schedule li {
        font-size: 1rem;
        padding: 12px 18px;
    }
}

@media (max-width: 480px) {
    .routes h2 {
        font-size: 1.7rem;
    }
}

