/* Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #333 100%);
    color: #fff;
    line-height: 1.6;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

#preloader img {
    width: 80px;
    height: 80px;
    animation: bounce 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px #d29f68);
    /* Asegura que el logo del preloader no sea el que causa el problema de tamaño */
    max-width: 100%;
    height: auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}



/* Secciones Generales */
section {
    padding: 80px 20px;
    margin: 40px auto;
    max-width: 1200px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

section:hover::before {
    left: 100%;
}

h2 {
    font-family: "Open Sans", sans-serif; /* Asegura que los títulos no tengan serifa */
    color: #d29f68;
    text-align: center; /* Centrado por defecto en escritorio */
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

@media (max-width: 768px) {
    h2 {
        text-align: left; /* Alinear a la izquierda en móviles */
    }
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d29f68, transparent);
}

p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
}

/* Descripción Breve */
.description {
    text-align: center;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.description h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.description p {
    text-align: center;
}

/* Call to Action */
.call-to-action {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    position: relative;
    border-radius: 15px;
    margin: 40px auto;
    max-width: 1200px;
}

.call-to-action .square-image {
    max-width: 350px;
    border-radius: 0;
    margin-bottom: 30px;
    border: 4px solid #d29f68;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.call-to-action img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
}

.whatsapp-button {
    display: inline-block;
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
    color: #fff;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.3em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #1DA851 0%, #25D366 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

/* Galería */
.gallery {
    padding: 80px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid #333;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-grid img:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: #d29f68;
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.3);
}

.gallery-grid img.grayscale {
    filter: grayscale(100%) contrast(1.2);
    border-color: #666;
}

.gallery-grid img.grayscale:hover {
    filter: grayscale(100%) contrast(1.2) brightness(1.1);
}

/* Contacto y Mapa */
.contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
}

.map-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.map-container iframe {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    height: 350px;
    border-radius: 15px;
    border: 3px solid #d29f68;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.map-dog-image {
    max-width: 250px;
    border-radius: 15px;
    border: 3px solid #d29f68;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease;
}

.map-dog-image:hover {
    transform: scale(1.05);
}
.contact h2 {
    text-align: center; /* Centrado en escritorio */
}

@media (max-width: 768px) {
    .contact h2 {
        text-align: left; /* Alinear a la izquierda en móviles */
    }
}   font-size: 1.3em;
    color: #d29f68;
    font-weight: bold;
}

.social-icons {
    text-align: center;
    margin-top: 40px;
}

.social-icons a {
    display: inline-block;
    margin: 0 20px;
    transition: transform 0.3s ease;
}

.social-icons img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
}

/* Footer */
footer {
    position: relative;
    height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 50px;
}

footer img:first-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    z-index: 1;
}

footer 

/* Responsividad */
@media (max-width: 768px) {
    .main-banner h1 {
        font-size: 2.5em;
    }

    .main-banner p {
        font-size: 1.3em;
    }

    section {
        padding: 50px 15px;
        margin: 20px 10px;
    }

    h2 {
        font-size: 2em;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important; /* 3 fotos por fila en móvil */
        gap: 10px;
    }

    .gallery-grid img {
        height: 120px;
        object-fit: cover;
        border-radius: 10px;
    }

    .map-container {
        flex-direction: column;
    }

    .map-container iframe {
        width: 100%;
        height: 300px;
    }

    .social-icons img {
        width: 50px;
        height: 50px;
    }

    .call-to-action img {
        max-width: 250px;
    }

    .whatsapp-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .main-banner h1 {
        font-size: 2em;
        letter-spacing: 1px;
    }

    .main-banner p {
        font-size: 1.1em;
    }

    section {
        padding: 40px 10px;
        margin: 15px 5px;
    }

    h2 {
        font-size: 1.8em;
    }

    p {
        font-size: 1em;
    }

    /* Galería para pantallas muy pequeñas - mantener 3 columnas */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px;
    }

    .gallery-grid img {
        height: 100px;
        object-fit: cover;
        border-radius: 8px;
    }
}



/* Navegación */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Alinear logo a la izquierda y menú a la derecha */
    align-items: center;
    padding: 15px 20px;
}

.nav-logo img {
    height: 70px; /* Ajusta el tamaño según sea necesario */
    width: auto;
    max-width: 100%; /* Asegura que no se desborde */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center; /* Centrar el menú */
    width: 100%;
}


.nav-menu a {
    font-family: "Open Sans", sans-serif;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #d29f68;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d29f68;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #d29f68;
    margin: 3px 0;
    transition: 0.3s;
}

/* Preloader mejorado */
#preloader p {
    color: #d29f68;
    font-size: 1.2em;
    margin-top: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Banner mejorado */
.banner-content {
    position: relative;
    z-index: 2;
}

.banner-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.banner-icons img {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px #d29f68);
    animation: float 3s ease-in-out infinite;
}

.paw-icon { animation-delay: 0s; }
.cert-icon { animation-delay: 1s; }
.house-icon { animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Servicios Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-item:hover {
    transform: translateY(-10px);
    border-color: #d29f68;
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.service-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px #d29f68);
}

.service-item h3 {
    color: #d29f68;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 0.95em;
    line-height: 1.6;
    text-align: left;
}

/* Misión mejorada */
.mission-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.mission-text {
    flex: 2;
}

.mission-image {
    flex: 1;
}

.mission-image img {
    width: 100%;
    border-radius: 15px;
    border: 3px solid #d29f68;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

/* Información del perro */
.info-section {
    margin-bottom: 50px;
}

.info-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.info-content.reverse {
    flex-direction: row-reverse;
}

.info-text {
    flex: 2;
}

.info-image {
    flex: 1;
}

.info-image img {
    width: 100%;
    border-radius: 15px;
    border: 3px solid #d29f68;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

/* Call to Action mejorado */
.call-to-action h2 {
    font-size: 3em;
    margin-bottom: 30px;
}

.call-to-action p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #ccc;
    text-align: center;
}

.button-icon {
    width: 25px;
    height: 25px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Galería mejorada */
.gallery-subtitle {
    text-align: center;
    color: #ccc;
    font-style: italic;
    margin-bottom: 30px;
}

/* Contacto mejorado */
.contact-info {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    color: #d29f68;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.contact-details strong {
    color: #d29f68;
}

.map-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    border: 3px solid #d29f68;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Footer mejorado */
.footer-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.footer-content p {
    color: #ccc;
    margin-top: 15px;
    font-size: 0.9em;
}

/* Responsividad para navegación */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 20px 0;
    }

    .nav-menu a {
        font-size: 1.2em;
    }

    .banner-icons {
        gap: 20px;
    }

    .banner-icons img {
        width: 40px;
        height: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mission-content {
        flex-direction: column;
        gap: 20px;
    }

    .info-content,
    .info-content.reverse {
        flex-direction: column;
        gap: 20px;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 10px 15px;
    }

    .nav-logo {
        height: 35px;
    }

    .service-item {
        padding: 20px;
    }

    .call-to-action h2 {
        font-size: 2.2em;
    }

    .whatsapp-button {
        padding: 15px 25px;
        font-size: 1em;
    }

    .button-icon {
        width: 20px;
        height: 20px;
    }
}



/* Nuevo Banner Superior con Círculos Dinámicos */
.top-banner {
    position: relative;
    width: 100%;
    height: 500px;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/lindo-pastor-aleman-jugando-al-aire-libre-copiando-espacio-3-scaled.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 70px;
}

.banner-title {
    text-align: center;
    z-index: 3;
    margin-bottom: 30px;
}

.banner-title h1 {
    font-size: 2.5em;
    color: #d29f68;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.banner-title p {
    font-size: 1.3em;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.circle-container {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 2;
}

.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #d29f68;
    box-shadow: 0 0 20px rgba(210, 159, 104, 0.5);
    transition: transform 0.3s ease-in-out;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle:hover {
    transform: scale(1.1);
}

.paw-prints {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.paw-small {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    animation: movePaw 15s linear infinite;
}

.paw-1 { top: 10%; left: 5%; animation-delay: 0s; }
.paw-2 { top: 50%; left: 30%; animation-delay: 5s; }
.paw-3 { top: 80%; left: 70%; animation-delay: 10s; }

@keyframes movePaw {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(100px, 50px) rotate(45deg); opacity: 0.5; }
    50% { transform: translate(200px, 0px) rotate(90deg); opacity: 0.3; }
    75% { transform: translate(100px, -50px) rotate(135deg); opacity: 0.5; }
    100% { transform: translate(0, 0) rotate(180deg); opacity: 0.3; }
}

/* Media Queries para el nuevo banner */
@media (max-width: 768px) {
    .top-banner {
        height: 400px;
    }

    .banner-title h1 {
        font-size: 2em;
    }

    .banner-title p {
        font-size: 1.1em;
    }

    .circle {
        width: 80px;
        height: 80px;
    }

    .paw-small {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .top-banner {
        height: 350px;
    }

    .banner-title h1 {
        font-size: 1.8em;
    }

    .banner-title p {
        font-size: 1em;
    }

    .circle {
        width: 60px;
        height: 60px;
    }

    .circle-container {
        height: 150px;
    }
}



/* Animaciones para JavaScript */
.animate-in {
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mejoras adicionales para los círculos */
.circle {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.circle:nth-child(1) { animation-delay: 0.1s; }
.circle:nth-child(2) { animation-delay: 0.3s; }
.circle:nth-child(3) { animation-delay: 0.5s; }
.circle:nth-child(4) { animation-delay: 0.7s; }

/* Mejoras para la responsividad de servicios */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}



/* Logo en Contacto */
.contact-logo {
    max-width: 300px; /* Ajusta el tamaño según sea necesario */
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px rgba(210, 159, 104, 0.8));
    transition: transform 0.3s ease;
}

.contact-logo:hover {
    transform: scale(1.05);


@media (max-width: 768px) {
    .contact-logo {
        max-width: 200px;
    }
}




.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* Estilos para la imagen cuadrada en la sección 'Adquiere tu Cachorro!' */
.call-to-action .square-image {
    max-width: 350px;
    border-radius: 0;
    margin-bottom: 30px;
    border: 4px solid #d29f68;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.call-to-action .square-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
}

/* Estilos para las imágenes en la sección 'Adquiere tu Cachorro!' */


.circular-puppies ;
}

.circular-puppies img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

/* Media query para pantallas más pequeñas */
@media (max-width: 768px) {
    .call-to-action .square-image {
        max-width: 250px;
    }

    .circular-puppies {
        flex-direction: column;
        align-items: center;
    }

    .circular-puppies img {
        max-width: 180px;
        height: auto;
        margin-bottom: 15px;
    }
}





/* Regla para asegurar que las imágenes no sean ovaladas */
.not-oval {
    border-radius: 0 !important;
}





.force-square {
    width: 350px !important;
    height: 350px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}





.force-square {
    border-radius: 0 !important;
}




.puppy-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.puppy-images img {
    border-radius: 0 !important;
    max-width: 250px;
    height: auto;
    border: 4px solid #d29f68;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.puppy-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
}




.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
    border-radius: 0; /* Asegura que la imagen dentro del botón no tenga border-radius */
    box-shadow: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 10px #777;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
}


