* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.topbar {
    background-color: #b19a19c5  ;
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
}


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 60px;   
    right: 35px;    
    background-color: white; 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1); 
}

.whatsapp-icon {
    width: 120px;
    height: 120px;
}

/* Responsive */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-icon {
        width: 100px;
        height: 100px;
    }
}



body {
    line-height: 1.6;

}

header{
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}


.logo{

    font-size: 1.5rem;
    font-weight: bold;
    color: #333;

}



.logo {
    display: flex;
    align-items: center;
    gap: 1rem; /* espacio entre texto y logo */
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.logo-img {
    width: 200px;   
    height: auto;
}



.nav-links{

    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a{

    text-decoration: none;
    color:#333;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    padding: 0.5rem 1rem;     /* espacio interno para que parezca botón */
    border-radius: 5px;       /* esquinas redondeadas */
    transition: background 0.3s, color 0.3s;
    font-weight: 500;
}

/* Hover */
.nav-links li a:hover {
    background-color: #b19a19c5 ;  
    color: white;
}

/* Estado activo */
.nav-links li a.active {
    background-color: #333; 
    color: white;
}




#hero {
    padding-top: 2rem;
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/Galpon.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;

}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button{
    background-color: #b39e28c5 ;
    color: white;
    border:none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 2rem;
    text-decoration: none;


}

.cta-button:hover{
    background-color: #bea61dc5

}


#productos{
    padding: 4rem 2rem;
    max-width: 1200px;
    margin:0 auto;

}

#productos h2{
    text-align: center;
    margin-bottom: 2rem;

}

.productos-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.productos-card{
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow:0 2px 5px rgba(0, 0, 0, 0.1);
display: flex;
    flex-direction: column; 
    
}


.productos-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


.productos-card h3{
    padding: 1rem;
    color: #333;

}

.descripcion{
    padding: .5rem 1rem;
    color: #666;

}

.productos-card button{
    margin: 1rem auto;
    margin-top: auto;
    display: block;
    padding: .75rem 1.5rem;
    font-size: 1rem;
    background-color: #b39e28c5;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;

}

.productos-card button:hover{
 background-color: #000000;
}


.productos-card h3 {
    text-align: center; 
    margin: 10px 0;
}

.productos-card .descripcion {
    text-align: justify; 
    margin: 0 10px 15px 10px; 
}








#contacto{
    background-color: #f9f9f9;
    padding: 4rem 2rem;

}

#contacto h2{
    text-align: center;
    margin-bottom: 2rem ;
}

form{
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input,textarea{
    padding: .8rem;
    border: 1px solid#ddd;
    border-radius: 5px;
}

textarea{
    height: 150px;
    resize: vertical;

}

form button{
    background-color:#b39e28c5  ;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover{
    background-color:#b19a19c5 ;
}



footer{
    background-color:#b39e28c5 ;
    color: white;
    text-align: center;
    padding: 1rem;
}

footer.footer {
    background-color: #b39e28c5 ; 
    color: #fff;
    padding: 40px 20px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.footer-logo .logo {
    max-width: 150px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-section p,
.footer-section ul {
    font-size: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 0.7;
}

/* Redes sociales */
.social-icons a {
    font-size: 20px;
    margin-right: 10px;
    color: #fff;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

/* Línea inferior */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    margin-top: 20px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 13px;
}

.footer-bottom .dev a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}



/*Moviles */
@media screen and (max-width:430px) {
    nav{
        flex-direction: column;

    }
    .nav-links{
        flex-direction: column;
        text-align: center;
        margin-top: 1rem;

    }
}



/* ********************************** Sección AVISOS LEGALES********************************************* */

/* Sección de Política de Privacidad */
#privacy {
    max-width: 900px;
    margin: 50px auto;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: #333;
}

#privacy h1 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 25px;
    color: #b39e28c5; /* azul corporativo */
    border-bottom: 3px solid #b39e28c5;
    display: inline-block;
    padding-bottom: 5px;
}

#privacy h2 {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #222;
    border-left: 5px solid #b39e28c5;
    padding-left: 10px;
}

#privacy p {
    margin-bottom: 15px;
    text-align: justify;
}

#privacy ul {
    margin: 15px 0 20px 20px;
    padding-left: 15px;
}

#privacy ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

#privacy ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #b39e28c5;
    font-weight: bold;
}

#privacy strong {
    color: #000;
}

#privacy a {
    color:#b39e28c5;
    text-decoration: none;
    font-weight: bold;
}

#privacy a:hover {
    text-decoration: underline;
}



/* Sección Aviso Legal */
#aviso-legal {
    max-width: 900px;
    margin: 50px auto;
    background: #fdfdfc;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: #333;
}

#aviso-legal h1 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 25px;
    color: #b39e28c5; 
    border-bottom: 3px solid #b39e28c5;
    display: inline-block;
    padding-bottom: 5px;
}

#aviso-legal h2 {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #222;
    border-left: 5px solid #b39e28c5;
    padding-left: 10px;
}

#aviso-legal p {
    margin-bottom: 15px;
    text-align: justify;
}

#aviso-legal ul {
    margin: 15px 0 20px 20px;
    padding-left: 15px;
}

#aviso-legal ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

#aviso-legal ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #b39e28c5;
    font-weight: bold;
}


/* Sección Política de Cookies */
#cookies {
    max-width: 900px;
    margin: 50px auto;
    background: #fdfdfc;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: #333;
}

#cookies h1 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 25px;
    color: #b39e28c5; 
    border-bottom: 3px solid #b39e28c5;
    display: inline-block;
    padding-bottom: 5px;
}

#cookies h2 {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #222;
    border-left: 5px solid #b39e28c5;
    padding-left: 10px;
}

#cookies p {
    margin-bottom: 15px;
    text-align: justify;
}

#cookies ul {
    margin: 15px 0 20px 20px;
    padding-left: 15px;
}

#cookies ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

#cookies ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #b39e28c5;
    font-weight: bold;
}



/* Deslizado Rapido */

html {
  scroll-behavior: smooth;
}
