/* General styling for the body */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    font-size: 18px;
    max-width: 100%;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* Header section styling */
header {
    background-color: #000;
    padding: 0; /* Ensures no extra padding in the header */
    margin: 0;
    border: none; /* Removes any border around the header */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estilos del header */
.header {
    background-image: url('/imagenes/steel.jpg');
    background-size: cover;
    padding: 0;
    margin: 0;
    border: none;
}

.header-content {
    text-align: center;
    padding: 20px 0;
    margin: 0;
}

.logo {
    max-width: 150px;
    height: auto;
}

.header h2 {
    margin-top: 10px;
    margin-bottom: 0px;
    font-size: 24px;
    color: #000000;
}

/* Estilos del navbar */
.navbar {
    background-color: #ff0000;
    color: #000000;
    margin: 0;
    padding: 0;
    border: none;
    text-align: center;  /* Centra el contenido de la barra */
}

.navbar a {
    color: #fff;
    padding: 10px;
    text-decoration: none ;
    display: inline-block;
}

.navbar a:hover {
    background-color: #555; /* Color de fondo al pasar el mouse */
}


/* General container with a max width of 720px */
.container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px;
}

/* Styling for headings (H2) */
h2 {
    color: #444;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-top: 40px;
    font-size: 24px;
}

/* Product section styling */
.product video {
    width: 80%; /* Ensures video takes full width */
    height: auto;
    margin: 20px auto;
    display: block;
}

/* Social media icons */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Adjusts horizontal space between icons */
    margin-top: 20px;
}

.social-icons a {
    font-size: 40px;
    color: #E1306C; /* Default Instagram color */
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #25D366; /* Color change on hover */
}

/* Unified style for all sections */
section {
    margin-top: 40px;
    padding: 20px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 5px;
}

section h2 {
    color: #444;
    font-size: 24px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

/* Contact section styling */
.contact {
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0;
    padding-block-end: 0px;
    background-color: transparent;
    border: none;
}

form label {
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
    width: 100%;
    max-width: 400px;
    font-size: 18px;
}

form input, form textarea, form button {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

form button {
    background-color: #333;
    color: white;
    cursor: pointer;
    border: none;
    font-size: 18px;
}

form button:hover {
    background-color: #555;
}

/* Alert styling for the success message */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #c3e6cb;
    text-align: center;
}

/* Contenedor para los logos con flexbox */
.logos-container {
    display: flex;
    flex-wrap: wrap; /* Permitir que los elementos pasen a una nueva línea si es necesario */
    justify-content: center; /* Centrar los elementos horizontalmente */
    align-items: center; /* Centrar los elementos verticalmente */
    gap: 20px; /* Espacio entre logos */
    padding: 0px;
}

/* Tamaño de los logos */
.logos-container img {
    width: 25%;
    max-width: 100px;
    height: auto;
    object-fit: contain;
    margin: 10px;
}

/* Ajustes en dispositivos móviles */
@media (max-width: 600px) {
    .logos-container img {
        max-width: 75px; /* Reducir el tamaño en móviles */
        margin: 5px;
    }

    .social-icons {
        flex-direction: row;
        gap: 10px; /* Reduces space between icons on mobile */
    }

    .social-icons a {
        font-size: 30px; /* Adjust icon size for mobile */
    }
}

footer {
    text-align: center; /* Centrar el texto */
    background-color: #222;
    color: #fff;
    padding: 10px;
    margin-top: 40px;
    font-size: 16px;
}

.subtitulo-centro {
    font-size: 18px; /* Reducir el tamaño del título a un subtítulo */
    text-align: center; /* Centrar el subtítulo */
    margin-bottom: 20px; /* Añadir un poco de espacio debajo */
}
