   /* ======= style.css ======= */

/* ======= Reset básico y fuente ======= */
body {
    font-family: Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    }

    /* ======= Header (navbar Bootstrap) ======= */
    .navbar {
    background-color: #007bff;
    }
    .navbar-brand, .nav-link {
    color: #fff !important;
    }
    .navbar-nav .nav-link.active {
    font-weight: bold;
    text-decoration: underline;
    }

    /* ======= Contenido principal ======= */
    main {
    flex-grow: 1;
    padding: 40px 20px;
    }

    .container-custom {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

    /* ======= Footer ======= */
    footer {
    background-color: #343a40;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    }

    /* =======  About Us ======= */
    .about-section h1 {
    color: #007bff;
    margin-bottom: 20px;
    }
    .about-section p {
    line-height: 1.6;
    }
    .map-container iframe {
    border: 0;
}

    /* ======= Products ======= */
    .product-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: #fff;
    transition: transform 0.2s;
    }

    .product-card:hover {
    transform: translateY(-5px);
    }

    .product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    }

    .product-card h3 {
    margin-top: 10px;
    }

    .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

    /* ======= Ubicación ======= */
    .map-container {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

/* Estilo para el formulario de contacto */
form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    }

    form:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    form .form-label {
    font-weight: 600;
    color: #343a40;
    }

    form .form-control {
    border-radius: 8px;
    border: 1.5px solid #ced4da;
    transition: border-color 0.3s ease;
    }

    form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: none;
    }

    .btn-primary {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.6rem 0;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    }

    .btn-primary:hover {
    background-color: #0b5ed7;
    }

    /* Centrar el título y párrafo */
    main h1,
    main p {
    color: #212529;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    /* Espaciado extra para el footer */
    footer {
    margin-top: 3rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* ======= Navbar responsive ======= */
@media (max-width: 768px) {
    .navbar-expand-lg .navbar-nav {
    flex-direction: column;
    align-items: center;
    }
}

    /* ======= Responsive ======= */
    @media (max-width: 768px) {
    main {
        padding: 20px 10px;
    }
    }
