:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --text-color: #333;
    --background-color: #f4f4f4;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;  /* Cambiado: removido el padding horizontal */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;  /* Añadido: para que coincida con el ancho máximo del main */
    margin: 0 auto;  /* Añadido: para centrar el contenido */
    padding: 0 2rem;  /* Añadido: para mantener el espacio en los lados */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    text-align: center;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
}

.bed-types {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}

.bed-type {
    display: flex;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.bed-type:hover {
    transform: translateY(-5px);
}

.bed-type-1 {
    flex-direction: row;
}

.bed-type-2 {
    flex-direction: row;
}

.bed-type-2 .bed-info {
    order: 2;
}

.bed-type-2 .bed-image {
    order: 1;
}

.bed-info, .bed-image {
    flex: 1;
    padding: 1rem;
}

.bed-info ul {
    padding-left: 1.5rem;
}

button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #27ae60;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .bed-type {
        flex-direction: column;
    }

    .bed-type-2 {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    /* ... otros estilos existentes ... */

    .bed-type-2 .bed-info,
    .bed-type-2 .bed-image {
        order: 0;  /* Restablece el orden en pantallas pequeñas */
    }
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.contactar-whatsapp {
    background-color: #25D366;  /* Color verde de WhatsApp */
}

.contactar-whatsapp:hover {
    background-color: #128C7E;  /* Un tono más oscuro para el hover */
}