/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
}

/* Header */
header {
    background-color: #fff;
    color: #000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.logo .plomeria {
    color: #007BFF; /* Color azul para "Plomería" */
}

.logo .sanchez {
    color: #333; /* Color gris oscuro para "Sánchez" */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #007BFF;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-image: url('images/fondo2.jpg');
    background-size: cover;
    background-position: center;
    padding: 0 5%;
}

.hero-content h1 {
    font-size: 3rem;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin: 0 0 25px 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.btn {
    background-color: #0077ff;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 1.1rem;
}

.btn:hover {
    background-color: #0056b3;
}

/* Services Section */
.services, .about, .brands, .contact, .location {
    padding: 50px 5%;
    margin: 20px 5%;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.services h2, .about h2, .brands h2, .contact h2, .location h2 {
    color: #2c3e50;
    border-bottom: 2px solid #007BFF;
    display: inline-block;
    padding-bottom: 10px;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.service-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.service-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 30%;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item i {
    font-size: 2.5rem;
    color: #007BFF;
    margin-bottom: 15px;
}

.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.features span {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
}

/* Brands Section */
.brand-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.brand-grid img {
    height: 50px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.brand-grid img:hover {
    filter: grayscale(0%);
}

/* Contact Section */
.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.2rem;
}

.contact-info i {
    margin-right: 10px;
    color: #007BFF;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

form input, form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    background-color: #007BFF;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1.1rem;
}

form button:hover {
    background-color: #0056b3;
}

/* Location Section */
.location iframe {
    margin-top: 20px;
    border-radius: 10px;
    width: 100%;
    height: 400px;
}

/* Footer */
footer {
    background-color: #fff;
    color: #000;
    padding: 40px 5%;
    text-align: center;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #007BFF;
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 5px;
}

.footer-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 10px 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 10px 0;
}

.footer-section ul li a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #007BFF;
}

.footer-section i {
    margin-right: 10px;
    color: #007BFF;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    color: #000;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #007BFF;
}

/* Media Queries */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .service-item {
        width: 45%;
    }

    .features {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .service-item {
        width: 100%;
    }

    .brand-grid img {
        height: 40px;
    }

    .location iframe {
        height: 300px;
    }
}
/* Estilos para el contenedor de opciones */
.send-options {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.send-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
}

/* Ocultar el radio button nativo */
.send-options input[type="radio"] {
    display: none;
}

/* Estilo personalizado del radio button */
.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #007BFF;
    border-radius: 50%;
    position: relative;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Punto interior cuando está seleccionado */
.custom-radio::before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: #007BFF;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
}

/* Cambiar el estilo cuando el radio button está seleccionado */
.send-options input[type="radio"]:checked + .custom-radio::before {
    opacity: 1;
}

/* Cambiar el color del borde cuando está seleccionado */
.send-options input[type="radio"]:checked + .custom-radio {
    border-color: #0056b3;
}

/* Efecto hover */
.send-options label:hover .custom-radio {
    border-color: #0056b3;
}