:root {
    /* Paleta de colores para Del Sol Veterinaria */
    --primary-color: #6a4c9c; /* Un púrpura oscuro del logo */
    --secondary-color: #4ac99c; /* Un aguamarina del logo */
    --accent-color: #5b3d88; /* Un púrpura ligeramente más oscuro */
    --bg-light-color: #f8f8f8;
    --bg-dark-color: #333333; /* Un gris oscuro para el footer */
    --text-color: #555;
    --text-light-color: #ffffff;
    --border-color: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Base */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; text-align: center; margin-bottom: 20px; }
h3 { font-size: 1.5rem; }

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light-color);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light-color);
}

.section {
    padding: 80px 0;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Header & Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    background-image: url('imagenes/hero-bg.jpg'); /* Reemplazar con una imagen de Del Sol */
    background-size: cover;
    background-position: center;
    color: var(--text-light-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay para mejorar la legibilidad del texto */
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    padding: 15px 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo img {
    height: 100px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    place-self: center;
}

.nav-links li a {
    color: var(--text-light-color);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none; /* Oculto por defecto en desktop */
    color: var(--text-light-color);
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--text-light-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About Us Section */
.about-us-section {
    background-color: var(--bg-light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--shadow-color);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    text-align: left;
}

/* Services Section */
.services-section {
    background-color: var(--text-light-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    background-color: var(--bg-light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--shadow-color);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}


/* Gallery Section */
.gallery-section {
    background-color: var(--bg-light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--shadow-color);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    background-color: var(--text-light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background-color: var(--bg-light-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--shadow-color);
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info ul li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 25px; /* Para alinear mejor los iconos */
    text-align: center;
}

.contact-form-container h3 {
    margin-top: 0;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--bg-dark-color);
    color: #b0b0b0;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer .social-links a {
    color: #b0b0b0;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: var(--secondary-color);
}

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px; /* Centra el icono verticalmente */
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    transition: all 0.3s ease;
}

.whatsapp-float i {
    vertical-align: middle;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.6);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    .about-text {
        text-align: center;
    }
    .about-text h2 {
        text-align: center;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: var(--primary-color);
        position: absolute;
        top: 60px;
        left: 0;
        padding-bottom: 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        padding: 15px;
    }

    .menu-toggle {
        display: block;
    }

    .contact-info {
        order: 2;
    }
    .contact-form-container {
        order: 1;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        line-height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* ... (todo el código CSS anterior sin cambios) ... */

/* ... (todo el código CSS anterior sin cambios hasta la media query) ... */

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    .about-text {
        text-align: center;
    }
    .about-text h2 {
        text-align: center;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px; 
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: var(--primary-color);
        position: absolute;
        top: 60px;
        left: 0;
        padding-bottom: 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        padding: 15px;
    }

    .menu-toggle {
        display: block;
    }

    /* Cambio agregado para el ancho de los campos del formulario */
    .contact-form input,
    .contact-form textarea {
        width: 80%; /* Nuevo ancho para mobile */
    }

    .contact-info {
        order: 2;
    }
    .contact-form-container {
        order: 1;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        line-height: 50px;
        bottom: 20px;
        right: 20px;
    }
}