/* === ESTILOS GENERALES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* === HEADER === */
.header {
    background-color: #66bb6a;
    color: white;
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.header h1 {
    font-size: 2.2rem;
    font-weight: 600;
}
/* === CONTAINER === */
.container {
    flex: 1;
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}
/* === LOGO === */
.logo {
    margin-bottom: 20px;
}
.logo img {
    max-width: 90px;
    height: auto;
}
/* === NAV === */
.nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}
.nav a {
    color: #333;
    text-decoration: none;
    padding: 10px 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.nav a:hover,
.nav a.active {
    background-color: #66bb6a;
    color: white;
    border-color: #66bb6a;
}
/* === CONTENT === */
.content h2 {
    font-size: 1.9rem;
    color: #66bb6a;
    margin-bottom: 15px;
}
.content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
/* === BOTONES RÁPIDOS === */
.quick-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}
.btn {
    display: inline-block;
    background-color: #66bb6a;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(102,187,106,0.3);
}
.btn:hover {
    background-color: #55a559;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(102,187,106,0.4);
}
/* === TABLAS === */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
th, td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
th {
    background-color: #66bb6a;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
tr:hover {
    background-color: #f8fff8;
}
td img {
    border-radius: 4px;
}
/* === BOTÓN COPIAR WHATSAPP === */
.copy-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.2s;
}
.copy-btn:hover {
    background: #1da851;
}
/* === FOOTER === */
.footer {
    background-color: #66bb6a;
    color: white;
    text-align: center;
    padding: 30px 20px 15px;
    margin-top: auto;
}

/* === NUEVA SECCIÓN: DESCARGAS PDF EN FOOTER === */
.footer h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.downloads {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.download-item {
    text-align: center;
}

.download-item a {
    display: block;
    transition: transform 0.3s ease;
}

.download-item a:hover {
    transform: scale(1.12);
}

.download-item img {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    transition: filter 0.3s ease;
}

.download-item a:hover img {
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
}

.download-item p {
    margin-top: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

/* Responsive para descargas */
@media (max-width: 768px) {
    .downloads {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .download-item img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 25px 15px 15px;
    }
    
    .downloads {
        gap: 25px;
    }
}

/* === RELOJES MUNDIALES (horario.html) === */
.clocks-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.clock {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    width: 200px;
    text-align: center;
    transition: transform 0.3s ease;
}
.clock:hover {
    transform: translateY(-5px);
}
.clock .flag {
    width: 60px;
    height: 40px;
    margin: 0 auto 12px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.clock .country {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}
.clock .time {
    font-size: 1.8rem;
    font-weight: bold;
    color: #66bb6a;
    margin: 8px 0;
    font-family: 'Courier New', monospace;
}
.clock .date {
    font-size: 0.9rem;
    color: #777;
}
/* Responsive para relojes */
@media (max-width: 600px) {
    .clock {
        width: 85%;
    }
}
/* TÍTULO DE LA SECCIÓN DESCARGAS */
.downloads-title {
    margin: 50px 0 40px;
    font-size: 1.8rem;
    color: #66bb6a;
    font-weight: 600;
    text-align: center;
}

/* SUBTÍTULOS DEBAJO DE CADA ICONO (así salen grandes y bonitos como en tu imagen) */
.download-item .subtitle {
    margin-top: 18px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #222;
    text-align: center;
}

/* Aseguramos que el hover siga funcionando bien */
.download-item a:hover img {
    filter: brightness(1.1);
    transform: scale(1.05);
}