/* General */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
}

/* Línea superior */
.top-bar {
    background-color: #333;
    color: white;
    font-size: 14px;
    text-align: center;
    padding: 0.1px 0;
    line-height: 0.3;
    z-index: 1000;
    position: fixed;
    width: 100%;
    top: 0;
}

/* Encabezado */
header {
    background: linear-gradient(rgba(51, 51, 51, 0.8), rgba(51, 51, 51, 0));
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 30px;
    z-index: 999;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 50px;
    max-width: 100%;
    object-fit: contain;
    margin-left: 20px;
}

/* Menú de navegación */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    margin-right: 30px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a.active {
    color: #ffcc80;
}

nav ul li a:hover {
    color: #ffcc80;
}

/* Héroe con fondo de imagen y gradiente */
.hero-planes {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5),
        rgba(255, 255, 255, 0)
    ),
    url('fondo-planes.jpg') no-repeat center center;
    background-size: cover;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 800px;
}

/* Sección de planes */
.content {
    padding: 60px 20px;
    text-align: center;
    background-color: #fdf2e9;
    border-radius: 10px;
    margin: 20px;
}

.content h2 {
    color: #f57c00;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Planes */
.plans {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.plan {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px;
    text-align: center;
}

.plan img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.plan h3 {
    color: #f57c00;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.plan p {
    margin: 5px 0;
}

.plan .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

/* Botón de WhatsApp */
.whatsapp-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #1ebe57;
}

/* Destacar el plan central */
.plan.destacado {
    border: 3px solid #daa520;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.5);
    transform: scale(1.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan.destacado:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.7);
}

/* Promociones */
.promociones {
    padding: 40px 20px;
    background-color: #f7f7f7;
    text-align: center;
}

.promociones h2 {
    font-size: 2.5rem;
    color: #f57c00;
    margin-bottom: 20px;
}

.promo-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.promo-images img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 3px solid #f57c00;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.promo-details {
    background: white;
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    text-align: left;
}

.promo-details h3 {
    color: #f57c00;
    margin-bottom: 10px;
}

.promo-details p {
    font-size: 1.2rem;
    margin: 10px 0;
}

/* Pie de página */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
}
