body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #006666;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px; /* Espaciado reducido */
    z-index: 1000;
    box-sizing: border-box;
    height: auto; /* Permitir ajuste dinámico */
    flex-wrap: wrap; /* Permitir que los elementos se acomoden en varias líneas si es necesario */
    border-bottom: none; /* Eliminar la línea del borde */
}

header a {
    text-decoration: none; /* Asegurar que no haya subrayado en el enlace */
}
/* Logo y Nombre de la Empresa */
header .logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Evitar que se reduzca el tamaño del logo */
}

header .logo-container img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

header .company-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    margin-right: 15px;
    white-space: nowrap; /* Evitar que el nombre de la empresa se divida en varias líneas */
    border-bottom: none; /* Asegurar que no haya línea debajo del nombre */
}

/* Menú de Navegación */
nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    flex-grow: 1;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.9rem;
    padding: 6px 10px; /* Reducir el tamaño del padding */
    white-space: nowrap;
    transition: color 0.3s, background-color 0.3s, border-radius 0.3s;
}

nav a:hover {
    color: #207a6b;
    background-color: #ffffff;
    border-radius: 5px;
}

nav a.active {
    background-color: #ffffff;
    color: #207a6b;
    border-color: #207a6b;
}

/* Contenedor Principal */
main.content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 100px; /* Espacio debajo del header fijo */
    padding: 20px;
    gap: 20px;
}

/* Cuadro de Texto */
.text-box {
    text-align: center;
    max-width: 800px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.text-box h1 {
    font-size: 28px;
    color: #006666;
    margin-bottom: 10px;
}

.text-box p {
    font-size: 16px;
    color: #333333;
    margin-bottom: 20px;
}

.text-box .btn-buy {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #ffffff;
    background-color: #207a6b;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.text-box .btn-buy:hover {
    background-color: #155a47;
}

/* Imagen del Producto */
.image-box {
    max-width: 800px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.image-box img {
    width: 100%; /* Ajustar el tamaño de la imagen */
    height: auto; /* Mantener la proporción de la imagen */
    object-fit: cover; /* Asegura que las imágenes no se deformen */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-box img:hover {
    transform: scale(1.05);
}

/* Responsive */
/* Ajustes Responsivos */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Cambiar a diseño vertical */
        align-items: flex-start;
        padding: 10px; /* Reducir el padding */
    }

    nav {
        width: 100%; /* Ajustar ancho al 100% */
        justify-content: center;
    }
}

