/* style.css COMPLETO CON CAMBIOS */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #fdfdfd;
    color: #333;
}

h2, h3, h4, h5, h6 {
    color: #742e00;
    letter-spacing: 1px;
}

header {
    background: #f8f8f8;
    color: white;
    padding: 20px;
    text-align: center;
}

header nav a {
    display: inline-block;
    background: white;
    color: #d62828;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

header nav a:hover {
    background: #f77f00;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#quienes-somos, #servicios, #productos, #contacto, footer {
    padding: 50px 20px;
    text-align: center;
}

ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: auto;
    text-align: left;
}

ul li {
    margin: 15px 0;
    font-size: 18px;
}

ul ul {
    list-style: disc;
    padding-left: 20px;
    text-align: left;
}

.galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.galeria .producto {
    text-align: center;
    margin: 15px;
}

.galeria .producto p {
    margin-top: 8px;
    font-size: 16px;
    color: #033361;
}

.galeria img {
    width: 280px;
    margin: 15px;
    border: 2px solid #ccc;
    transition: transform 0.3s;
}

.galeria img:hover {
    transform: scale(1.05);
}

form {
    display: inline-block;
    text-align: left;
    max-width: 400px;
    width: 100%;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
}

form button {
    background: #d62828;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

footer {
    background: #003049;
    color: white;
}

footer a {
    color: #f77f00;
    text-decoration: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-contenido {
    background: white;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    max-width: 500px;
    max-height: 90vh;
    text-align: center;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-scroll {
    padding: 20px;
    overflow-y: auto;
}

.modal-scroll button {
    background: #d62828;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.cerrar {
    color: #aaa;
    float: right;
    font-size: 28px;
    cursor: pointer;
}

.cerrar:hover {
    color: #000;
}

#loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #F6F3EC;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

#loader p {
    margin-top: 15px;
    color: #033361;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.sol {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #F67C17;
    position: relative;
    animation: girar 1s linear infinite;
    box-shadow: 0 0 15px #F67C17;
}

.sol::before, .sol::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #F67C17;
    opacity: 0.6;
}

.sol::after {
    width: 100px;
    height: 100px;
    opacity: 0.3;
}

@keyframes girar {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

header .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

header .logo img {
    max-width: 180px;
    height: auto;
}

#acordeon {
    padding: 50px 20px;
    text-align: left;
}

.acordeon {
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: background 0.3s;
}

.acordeon:hover {
    background: #f5f5f5;
}

.acordeon h4 {
    margin: 0;
    color: #F67C17;
}

.acordeon ul {
    margin-top: 10px;
    padding-left: 20px;
    display: none;
}

.acordeon.abierto ul {
    display: block;
}

.acordeon ul li {
    padding: 10px;
    margin: 8px 0;
    background: #f0f0f0;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.acordeon ul li:hover {
    background: #f77f00;
    color: white;
}

.breadcrumb {
    font-size: 14px;
    color: #555;
    background: #fafafa;
    padding: 10px 20px;
    margin: 0;
    border-bottom: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
}

.breadcrumb a {
    color: #d62828;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.modal-contenido input[type="number"] {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
