/* Cuerpo de la página */
body {
    font-family: Georgia, serif;
    background-color: #fff8f0;
    margin: 0;
    color: #333;
}

/* Cabecera */
header {
    background: linear-gradient(to right, #5a2a27, #7d3e3e);
    color: #fff;
    padding: 1.5rem 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

header .cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header .logo {
    height: 110px;
    width: 90 px;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

header h1 {
    font-size: 2.5rem;
    font-family: 'Cinzel', serif;
    margin-left: 1rem;
    flex: 1;
    color: #ffe6c7;
    text-shadow: 1px 1px 2px #000;
}

header .login-form {
    display: flex;
    gap: 0.5rem;
}

header .login-form input,
header .login-form button {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Georgia', serif;
    font-size: 0.8rem;
}

header .login-form button {
    background-color: #e0b973;
    color: #2e2e2e;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

header .login-form button:hover {
    background-color: #c89f5d;
}

header .alta-link {
    color: #ffe6c7;
    margin-left: 1rem;
    text-decoration: underline;
    font-size: 0.9rem;
}

header nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 2rem;
    background: #3b1f1f;
    padding: 1rem 0;
    flex-wrap: wrap;
    box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.4);
}

header nav a {
    color: #ffe6c7;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Cinzel', serif;
}

header nav a:hover {
    color: #f7c873;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Contenido principal */
main {
    padding: 3rem 2rem;
}

/* Sección de sugerencias */
.sugerencias-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.sugerencia {
    background-color: #fef2e0;
    border: 1px solid #d6bfa5;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
    font-size: 0.9rem;
}

.sugerencia:hover {
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.2);
}

.sugerencia h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #5c3c1f;
}

.sugerencia p {
    font-size: 0.95rem;
    margin-top: 0.5rem;
    color: #2e2e2e;
}

.sugerencia .estrellas {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

/* Formulario de sugerencias */
.formulario-sugerencia h2 {
    font-size: 1.5rem;
    color: #5c3c1f;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 1rem;
    color: #5c3c1f;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    margin-top: 0.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    box-sizing: border-box;
}

button {
    background-color: #e0b973;
    color: #2e2e2e;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Georgia', serif;
}

button:hover {
    background-color: #c89f5d;
}

/* Mensaje de confirmación */
.titulo {
    font-size: 2rem;
    color: #5c3c1f;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.mensaje {
    font-size: 1.2rem;
    color: #4e4e4e;
    margin-bottom: 2rem;
}

.acciones {
    margin-top: 1.5rem;
}

.boton {
    background-color: #e0b973;
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 1rem;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.boton:hover {
    background-color: #c89f5d;
    transform: scale(1.05);
}

.boton.seleccionado {
    background-color: #c89f5d;
}

/* Comentarios */
.testimonios {
    margin-top: 2rem;
    background-color: #fff8f0;
    padding: 1rem;
    border-radius: 8px;
}

.testimonio {
    background-color: #fffaf2;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    border: 1px solid #c89f5d;
}

.testimonio p {
    font-size: 1.1rem;
    color: #2e2e2e;
}

/* Puntuación por estrellas */
.estrellas {
    font-size: 1.5rem;
}

/* Pie de página */
footer {
    padding: 2.5rem;
    background-color: #2e1a1a;
    color: #ffe6c7;
    text-align: center;
    font-family: 'Georgia', serif;
    border-top: 4px solid #7d3e3e;
}

footer a {
    color: #f7c873;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover {
    text-decoration: underline;
    color: #ffd700;
}