/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== BODY ===== */

body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0056b3, #003f82);
    min-height: 100vh;
}

/* ===== EFECTO VIDRIO ===== */
.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* ===== HEADER ===== */
header {
    background: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
}

header h1 {
    color: #0056b3;
}

/* ===== NAV ===== */
nav {
    background: #0056b3;
    padding: 12px 40px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 25px;
    font-weight: 500;
}

nav a:hover {
    opacity: 0.8;
}

/* ===== CATÁLOGO ===== */
.seccion {
    max-width: 1200px;
    margin: 60px auto;
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 12px;
}

.seccion h2 {
    color: #0056b3;
    margin-bottom: 25px;
}

.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
    gap: 25px;
}

.producto {
    background: white;
    border-radius: 12px;
    overflow-x: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.producto:hover {
    transform: translateY(-5px);
}

.producto img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.producto h3 {
    padding: 15px 15px 5px 15px;
}

.producto p {
    padding: 0 15px 10px 15px;
    font-weight: bold;
    color: #0056b3;
}

.producto form {
    padding: 0 15px 15px 15px;
}

.producto button {
    width: 100%;
    padding: 10px;
    background: #0056b3;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.producto button:hover {
    background: #003f82;
}

/* ===== BOTONES GENERALES ===== */
.btn {
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
}

.btn-inicio {
    background: #003f82;
}

.btn-catalogo {
    background: #0056b3;
}

.btn-whatsapp {
    background: #25D366;
}

/* ===== GALERÍA ===== */
.galeria-container {
    max-width: 1200px;
    margin: 60px auto;
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 12px;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
    gap: 20px;
}

.galeria-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}

.galeria-grid img:hover {
    transform: scale(1.05);
}

/* ===== HERO ===== */
.hero {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,86,179,0.8), rgba(0,40,100,0.8));
    color: white;
}

.hero-content h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

.btn-hero {
    background: white;
    color: #0056b3;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.carrito-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#f5f9ff;
    padding:15px;
    border-radius:10px;
    margin-bottom:15px;
}

.carrito-item img{
    width:80px;
    border-radius:8px;
}

@media(max-width:600px){
    .carrito-item{
        flex-direction:column;
        text-align:center;
    }

    .carrito-item img{
        margin-bottom:10px;
    }
}

nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}

nav a{
    padding:10px;
}

@media(max-width:600px){
    nav{
        flex-direction:column;
        align-items:center;
    }
}