
/* Body general */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a, #2b2b2b); /* Fondo similar al index */
    color: white;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background: rgba(255, 0, 0, 0.9);
    padding: 20px 5%;
    text-align: center;
    box-shadow: 0 0 20px red;
    z-index: 10;
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    text-shadow: 0 0 10px #000;
}

header p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Navbar */
nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

nav li { margin: 0 15px; }

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav a:hover { color: #ff4d4d; }

/* Plans Section */
.plans {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.plan {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid #ff4d4d;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 10px 10px 20px rgba(255, 0, 0, 0.3), -10px -10px 20px rgba(255, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
}

.plan:hover {
    transform: translateY(-10px);
    box-shadow: 15px 15px 30px rgba(255, 0, 0, 0.5), -15px -15px 30px rgba(255, 0, 0, 0.5);
}

.plan h3 {
    color: #ff4d4d;
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(255, 0, 0, 0.5);
}

.plan p {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.8;
    margin: 15px 0;
    font-style: italic;
}

/* Imagenes en fila */
.images-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.images-row img {
    width: 45%;
    max-width: 250px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.images-row img:hover { transform: scale(1.05); }

/* Botón */
.plan button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
    margin-top: auto;
}

.plan button:hover {
    background-color: #ff3333;
    transform: scale(1.1);
}

/* Modal Imagen */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 30px red;
    animation: zoomIn 0.3s ease;
}

/* Animación de entrada */
@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Botón cerrar */
.close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover { color: #ff4d4d; }

/* Back Button */
.back-button {
    text-align: center;
    margin: 30px 0;
}

.back-button a {
    text-decoration: none;
    background-color: #ff4d4d;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

.back-button a:hover {
    background-color: #ff3333;
    transform: scale(1.05);
}

/* Footer fijo abajo */
/* Footer */
footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 20px;
    box-shadow: 0 -2px 10px red;
    margin-top: auto;
    font-size: 0.95rem;
    border-radius: 12px 12px 0 0;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 { font-size: 1.8rem; }
    nav a { font-size: 0.9rem; }
    .plan button { font-size: 0.9rem; padding: 8px 18px; }
    .plans { padding: 20px; gap: 20px; }
    .images-row img { width: 90%; max-width: 300px; }
    footer { font-size: 0.9rem; padding: 15px 5%; }
}
