a {
    text-decoration: none;
    color: inherit;
  }
/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loader img {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
}

#loader p {
    color: #e63946;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Header y Navegación */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 2.5rem;
    color: #e63946;
    font-weight: 700;
}
.logo h1 .naranja {
    color: #f0a210;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e63946;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

#hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    background-color: #e63946;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #c1121f;
}





* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    display: block;
    min-height: 100vh;
    padding: 0;
}

.page-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px 0;
}

.container {
    display: flex;
    max-width: 1200px;
    width: 90%;
    height: 56vh;
    border-radius: 15px;
    
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-section {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #f0f0f0;
}

.gallery-viewer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.media-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.media-container img,
.media-container video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.nav-button {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    color: #333;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
    top: 50%;
    transform: translateY(-50%);
}

.nav-button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.video-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 15;
    display: flex;
    gap: 8px;
}

.control-button {
    background-color: rgba(255, 255, 255, 0.6);
    color: #333; 
    border: none;
    padding: 8px 12px; 
    border-radius: 20px;
    font-size: 16px; 
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.control-button i {
    pointer-events: none; 
}

.control-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.info-section {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ffffff;
    border-left: 1px solid #eee;
}

.text-content {
    flex-grow: 1;
}

h1 {
    color: #e63946;
    font-size: 24px;
    margin-bottom: 8px;
    text-shadow: none;
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    text-shadow: none;
}

.featured-section {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.featured-tag {
    color: #e63946;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: none;
}

.featured-section p {
    margin-bottom: 15px;
    color: #555;
    font-size: 14px;
    text-shadow: none;
}

.explore-button {
    background-color: #f39213;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: auto;
    display: inline-block;
}

.explore-button:hover {
    background-color: #e63946;
}

.quote {
    font-style: italic;
    color: #888;
    font-size: 13px;
    text-align: right;
    margin-top: 20px;
    text-shadow: none;
}

.dot-navigation {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #f0a210;
}

.image-grid-section {
    max-width: 1200px;
    width: 90%;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.image-grid-section h2 {
    color: #f0a210;
    font-size: 24px;
    margin-bottom: 20px;
    text-shadow: none;
}

.dog-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-template-rows: auto;
    gap: 10px;
    margin-bottom: 30px;
    grid-template-areas:
        "img1 img2 img3"
        "img1 img4 img5"
        "img6 img7 img7"
        "img8 img9 img10";
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(4, minmax(100px, auto));
}

.dog-image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: block;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.dog-image-grid img[style="grid-area: img1;"] { grid-area: img1; }
.dog-image-grid img[style="grid-area: img2;"] { grid-area: img2; }
.dog-image-grid img[style="grid-area: img3;"] { grid-area: img3; }
.dog-image-grid img[style="grid-area: img4;"] { grid-area: img4; }
.dog-image-grid img[style="grid-area: img5;"] { grid-area: img5; }
.dog-image-grid img[style="grid-area: img6;"] { grid-area: img6; }
.dog-image-grid img[style="grid-area: img7;"] { grid-area: img7; }
.dog-image-grid img[style="grid-area: img8;"] { grid-area: img8; }
.dog-image-grid img[style="grid-area: img9;"] { grid-area: img9; }
.dog-image-grid img[style="grid-area: img10;"] { grid-area: img10; }

.dog-image-grid img.hidden-image {
    opacity: 0;
    visibility: hidden;
}

.explore-more-button {
    background-color: #f0a210;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    display: inline-block;
}

.explore-more-button:hover {
    background-color: #e63946;
}

.explore-more-button.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 992px) {
    .container {
        flex-direction: column;
        height: auto;
        min-height: 60vh;
        width: 95%;
    }

    .page-content {
        min-height: auto;
        padding: 15px 0;
    }

    .gallery-section {
        flex: none;
        height: 60vh;
        border-bottom: 1px solid #eee;
    }

    .info-section {
        flex: none;
        height: auto;
        padding: 20px;
        border-left: none;
    }

    .nav-button {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .prev-button {
        left: 5px;
    }
}









/* Footer */
footer {
    background-color: #003366; /* Dark Blue */
    color: white;
    padding: 1rem 0;
    font-size: 0.9rem;
}

footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-info i {
    margin-right: 10px;
    color: #007BFF; /* Blue */
}

.footer-map {
    grid-column: span 3;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 1rem;
    position: relative;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-copyright {
    grid-column: span 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #e63946;
}

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 5vh;
    right: 2vw;
    z-index: 1000;
    animation: float 2s infinite ease-in-out;
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3vh); /* se mueve 2% de la altura de la ventana hacia abajo */
  }
  100% {
    transform: translateY(0);
  }
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 2rem;
    transition: transform 0.3s;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        top: 70px;
        background-color: white;
        height: calc(100vh - 70px);
        width: 70%;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        border-top-left-radius: 15px;
    }

    .nav-links li {
        margin: 1.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.2rem;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background-color: #ffecf1;
        color: #e63946;
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .burger div {
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 5px;
        transition: all 0.3s ease;
    }
    
    /* Burger animation when menu is active */
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: #e63946;
    }
    
    .burger.toggle .line2 {
        opacity: 0;
    }
    
    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: #e63946;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .expertos .container {
        flex-direction: column;
    }

    .expertos-info {
        order: 2;
    }

    .expertos-img {
        order: 1;
    }

    .galeria-grid {
        grid-template-columns: 1fr 1fr;
    }

    .galeria-item-large {
        grid-column: span 2;
    }

    footer .container {
        grid-template-columns: 1fr;
    }
    
    .footer-map,
    .footer-copyright {
        grid-column: 1;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    .galeria-item-large {
        grid-column: 1;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}