/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh; /* Puedes ajustar esta altura si lo necesitas */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;

    /* Estilos de la imagen de fondo */
    background-image: url('../images/maincabinets.webp');
    background-size: cover; /* Escala la imagen para cubrir completamente el contenedor */
    background-position: center center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
}

/* Overlay opcional para mejorar legibilidad */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay oscuro semitransparente */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Asegura que el contenido esté sobre el overlay */
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem; /* Adjust as needed */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add text shadow for readability */
    color: var(--white); /* Ensure h1 color is white */
}

.cta-button {
    display: inline-block;
    background-color: var(--brand-orange);
    color: var(--white);
    padding: 15px 30px;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    position: relative; /* Ensure button is above overlay */
    z-index: 2;
}

.cta-button:hover {
    background-color: #d9681a; /* Darker orange */
    text-decoration: none;
}