/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F1F8F7;
    color: #2d5016;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {  
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #7fb069;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: block;
}

.nav-link:hover {
    color: #2d5016;
    background-color: #e8f5e8;
}

.cta-button {
    background-color: #FFD54F;
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
}

.cta-button:hover {
    background-color: #1a2f0c;
    color: #ffffff;
    transform: translateY(-2px);
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 80px;
}

.hero-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-image {
    position: relative;
    width: 100%;
    margin: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: block;
}

.text-overlay {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
}

.text-overlay h1 {
    margin: 0;
    margin-bottom: 0.1em;
    line-height: 1.1;
    font-size: 6rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-overlay p {
    margin: 0;
    margin-top: 0;
    line-height: 1;
    font-size: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    background-color: #f8f6f0;
}

.icon-png {
    max-width: 50px;
    max-height: 50px;
    margin-bottom: 1rem; /* Asegura espacio debajo del ícono */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #2d5016;
}



.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Reducido de 280px a 250px para pantallas pequeñas */
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e8f5e8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex; /* Añadido para mejor control del contenido */
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #7fb069;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d5016;
    margin-bottom: 0.5rem;
    line-height: 1.4; /* Añadido para mejor legibilidad */
    text-rendering: optimizeLegibility; /* Optimiza renderizado de texto */
}

.product-description {
    font-weight: 300;
    color: #5a7c47;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5; /* Añadido para mejor legibilidad */
    text-rendering: optimizeLegibility;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    background-color: #7fb069;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

/* Grooming Section */
.grooming {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative; /* For separator */
}

.grooming::after {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(to right, transparent, #7fb069, transparent);
    margin: 0 auto;
    width: 50%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.grooming-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grooming-text {
    z-index: 1;
}

.grooming-description {
    font-weight: 300;
    color: #5a7c47;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.services-list {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.services-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #5a7c47;
    font-weight: 300;
}

.services-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #7fb069;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.2rem;
}

.grooming-image {
    position: relative;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #e8f5e8; /* Light green to differentiate from Grooming */
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    z-index: 1;
}

.about-description {
    font-weight: 300;
    color: #5a7c47;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    position: relative;
}

/* Slider Styles */
.slider-container {
    width: 100%;
    max-width: 517.5px;
    height: 540px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.slider-container.about-slider {
    max-width: 437px;
    height: 456px;
}

.glider {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.glider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.glider-prev,
.glider-next {
    position: absolute;
    transform: translateY(-50%);
    background-color: #7fb069;
    color: #ffffff;
    border: none;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.glider-prev:hover,
.glider-next:hover {
    background-color: #1a2f0c;
    transform: translateY(-50%) scale(1.1);
}

.glider-prev.grooming-prev,
.glider-prev.about-prev {
    left: 10px;
    top: 45%;
}

.glider-next.grooming-next,
.glider-next.about-next {
    right: 10px;
    top: 45%;
}

.dots {
    text-align: center;
    margin-top: 1rem;
    z-index: 2;
}

.glider-dot {
    background-color: #e8f5e8;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.glider-dot.active {
    background-color: #7fb069;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f8f6f0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e8f5e8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-item:hover {
    transform: translateX(10px);
    background-color: #7fb069;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-item i {
    font-size: 1.5rem;
    color: #7fb069;
    margin-top: 0.2rem;
    transition: color 0.3s ease;
}

.contact-item:hover i {
    color: #ffffff;
}

.contact-item h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2d5016;
}

.contact-item:hover h3 {
    color: #ffffff;
}

.contact-item p {
    font-weight: 300;
    color: #5a7c47;
}

.contact-item:hover p {
    color: #ffffff;
}

.contact-item a {
    color: #5a7c47;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover a {
    color: #ffffff;
}

.contact-form-container {
    max-width: 600px;
}

.contact-form {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid #e8f5e8;
}

.contact-form label {
    display: block;
    font-weight: 700;
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 2px solid #e8f5e8;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background-color: #7fb069;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background-color: #1a2f0c;
    transform: translateY(-2px);
}

.location {
    margin-top: 3rem;
    text-align: center;
}

.location iframe {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border: 2px solid #e8f5e8;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Footer */
.footer {
    background-color: #165035;
    padding: 3rem 0 1rem;
    border-top: 3px solid #7fb069;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    font-weight: 300;
    color: #a8c99a;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #7fb069;
    color: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #ffffff;
    color: #7fb069;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #7fb069;
}

.footer-bottom p {
    font-weight: 300;
    color: #a8c99a;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #7fb069;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    .text-overlay h1 {
        font-size: 2rem;
    }

    .text-overlay p {
        font-size: 0.9rem;
    }

    .hero-image img {
        max-height: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .grooming-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .slider-container {
        max-width: 258.75px;
        height: 270px;
    }

    .slider-container.about-slider {
        max-width: 218.5px;
        height: 228px;
    }

    .glider img {
        height: 100%;
    }

    .location iframe {
        height: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .contact-item:hover {
        transform: none;
    }
}

@media screen and (max-width: 480px) {
    .text-overlay h1 {
        font-size: 1.5rem;
    }

    .nav-logo {
        font-size: 1.4rem;
    }

    .product-card {
        padding: 1rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .hero-image img {
        max-height: 250px;
    }

    .slider-container {
        max-width: 172.5px;
        height: 180px;
        position: relative;
        overflow: hidden;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

    .slider-container.about-slider {
        max-width: 145.67px;
        height: 152px;
    }

    .glider {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}


    .glider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

    .location iframe {
        height: 250px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Ripple effect for buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.cta-button, .social-link {
    position: relative;
    overflow: hidden;
}

/* Section animations */
.section-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Active navigation link */
.nav-link.active {
    background-color: #d4e9e2;
    color: #1e3932;
}

/* Scroll-to-top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #006241;
    color: #dff9ba;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #d4e9e2;
    color: #1e3932;
    transform: translateY(-3px);
}
@media screen and (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem; /* Reducido para pantallas pequeñas */
    }

    .product-card {
        padding: 1.2rem; /* Ajustado para más espacio */
        min-height: 220px; /* Asegura altura mínima para evitar cortes */
    }

    .product-title {
        font-size: 1.1rem; /* Reducido para pantallas pequeñas */
        line-height: 1.3;
    }.product-description {
        font-size: 0.85rem; /* Reducido para pantallas pequeñas */
        line-height: 1.4;
    }

    .icon-png {
        max-width: 40px; /* Reducido para pantallas pequeñas */
        max-height: 40px;
    }
}