/* Nuevo CSS para un diseño más moderno */
body {
    font-family: 'Poppins', sans-serif;
    background: #e9ecef;
    margin: 0;
    padding: 0;
    color: #343a40;
}

header {
    background: #2d2d86;
    color: white;
    padding: 15px;
    text-align: center;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1920x800.png?text=Alquiler+de+Juegos') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

button {
    padding: 12px 25px;
    background: #2d2d86;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

button:hover {
    background: #1a1a5c;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    margin: 40px 0 20px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #495057;
}

.info-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 250px;
}

.info-card h3 {
    color: #2d2d86;
    font-weight: 600;
}

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

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product-card h3 {
    text-align: center;
    margin: 15px 0 5px;
    color: #2d2d86;
    font-weight: 600;
}

.product-card p {
    padding: 0 15px 15px;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.cta-section {
    text-align: center;
    background: #343a40;
    color: white;
    padding: 50px 20px;
    margin: 40px 0;
    border-radius: 10px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

footer {
    background: #2d2d86;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

/* Estilos para el formulario si se usaran */
form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

label {
    text-align: left;
    margin-top: 10px;
    font-weight: 600;
}

input, select {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ced4da;
    border-radius: 5px;
}

/* --- Mejoras para el formulario de entrada --- */

.form-header {
    background-color: #2d2d86;
    height: auto;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.form-header h1 {
    font-size: 2.5rem;
    margin: 0;
}

.form-container {
    background-color: #ffffff;
    padding: 40px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.form-container p {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #495057;
}

input, select {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
}

input:focus, select:focus {
    border-color: #2d2d86;
    outline: none;
    box-shadow: 0 0 8px rgba(45, 45, 134, 0.2);
}

button {
    padding: 15px;
    background: #2d2d86;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: #1a1a5c;
    transform: translateY(-2px);
}

button:disabled {
    background: #adb5bd;
    cursor: not-allowed;
}

/* Fin de las mejoras para el formulario */