/* ════════════════════════════════════════
   experienciaestilos.css — Experiencia
   Seminuevos MX
   ════════════════════════════════════════ */

/* ── RESET GENERAL ── */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f5f5f5;
    color: #333;
}

/* ── HEADER ── */

header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('fondo.png');
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

header h1 {
    font-size: 60px;
    margin-bottom: 15px;
}

header p {
    font-size: 20px;
    margin-bottom: 15px;
}

#reloj {
    font-size: 20px;
    color: white;
    font-weight: bold;
}

/* ── NAV ── */

nav {
    background: #111;
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 99;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    transition: 0.3s;
}

nav a:hover {
    color: #00bfff;
}

/* ── SECCIONES ── */

section {
    padding: 60px 10%;
}

section:nth-child(even) {
    background: white;
}

section h2 {
    text-align: center;
    font-size: 35px;
    margin-bottom: 20px;
}

/* ── CARDS ── */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    color: black;
    margin-bottom: 10px;
}

/* ── TABLA ── */

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-top: 20px;
}

table th {
    background: black;
    color: white;
    padding: 15px;
}

table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

/* ── FORMULARIO ── */

form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 700px;
    margin: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 18px;
    margin-bottom: 6px;
    color: #333;
}

form input[type="text"],
form input[type="email"] {
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}
/* Calificación */
select[name="calificacion"]{
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
}

select[name="calificacion"]:focus{
    border-color: #0d6efd;
    outline: none;
}

/* Comentario */
textarea[name="comentario"]{
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    resize: vertical;
}

textarea[name="comentario"]:focus{
    border-color: #0d6efd;
    outline: none;
}

form input[type="text"]:focus,
form input[type="email"]:focus {
    border-color: #00bfff;
}

form input[type="submit"] {
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    transition: 0.3s;
}

form input[type="submit"]:hover {
    background: #222;
}

/* ── BOTONES SUELTOS ── */

button {
    background: black;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #222;
}

/* ── MENSAJE CONFIRMACIÓN ── */

#mensaje {
    text-align: center;
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
}

/* ── FOOTER ── */

footer {
    background: black;
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
}

footer p {
    margin: 4px 0;
}

#contador {
    margin-top: 10px;
    color: white;
}
