/* General Styles */
:root {
    --primary-color: #2E7D32; /* Deeper Grass Green */
    --secondary-color: #000000; /* Black */
    --text-color: #333333;
    --light-text-color: #FFFFFF;
    --background-color: #FFFFFF;
    --footer-bg: #E0E0E0; /* Light Gray for Footer */
    --border-color: #2E7D32;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
header {
    background-color: var(--light-text-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 150px; /* Logo más grande en desktop */
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    display: block;
    padding: 10px 0;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('assets/hero1.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    transition: background-image 1s ease-in-out;
    min-height: 500px;
}

.hero-content {
    background: rgba(46, 125, 50, 0.8);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
}

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.cta-button {
    background-color: var(--light-text-color);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 900;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 100px 0;
}

section:nth-child(even) {
    background-color: #f9f9f9;
}

h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: var(--primary-color);
    text-transform: uppercase;
}

h3 {
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* About Section */
.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Breeds Grid */
.breeds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
}

.breed-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 20px;
    overflow: hidden;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.breed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.breed-card h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-align: center;
}

.breed-card img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Formato cuadrado perfecto */
    object-fit: contain; /* Para que no se corte la cabeza del perrito */
    background-color: #f9f9f9; /* Fondo suave para el espacio extra si la imagen no es cuadrada */
    border-radius: 15px;
    margin-bottom: 25px;
}

.breed-card p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.video-container {
    margin-top: 30px;
    border: 5px solid var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Trust List */
.trust-list {
    list-style: none;
    max-width: 900px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0;
}

.trust-list li {
    padding: 20px;
    background: #e8f5e9;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.trust-list li::before {
    content: '\f1b0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.step {
    padding: 30px;
    background: white;
    border-radius: 15px;
    border-top: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: block;
}

.step h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.step p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    background: var(--primary-color);
    color: white;
}

.testimonials-section h2 {
    color: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.testimonial-card {
    background: white;
    color: #333;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.testimonial-card p:first-child {
    font-style: italic;
    color: #555;
}

.customer-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 20px !important;
}

.testimonial-card::after {
    content: '\f10e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #eee;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.5rem;
    min-width: 30px;
}

.hours {
    margin-top: 30px;
    background: #e8f5e9;
    padding: 25px;
    border-radius: 15px;
}

.hours h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.hours p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.map-placeholder {
    background: #f0f0f0;
    border: 3px dashed var(--primary-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.map-placeholder i {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.map-placeholder p {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: #333;
    padding: 80px 0 40px;
    text-align: center;
}

.footer-logo img {
    height: 180px; /* Logo del footer más protagonista */
    margin: 0 auto 30px;
    width: auto;
}

.social-links {
    margin: 30px 0;
}

.social-links a {
    color: var(--secondary-color);
    font-size: 2rem;
    margin: 0 20px;
    display: inline-block;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

footer p {
    font-size: 0.95rem;
    color: #666;
}

/* Widgets */
.floating-widgets-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-widget a {
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.call-widget a {
    background: #007bff; /* Blue for call */
}

.email-widget a {
    background: #ea4335; /* Red for email */
}

.whatsapp-widget a {
    background: #25D366; /* Green for WhatsApp */
    width: 70px; /* Keeping WhatsApp slightly larger */
    height: 70px;
    font-size: 2.2rem;
}

.floating-widget a:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.social-floating-widgets {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-floating-widgets a {
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-floating-widgets a:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    section {
        padding: 100px 0;
    }
}

/* Large Devices (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    h2 {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }
    
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .breeds-grid {
        gap: 40px;
    }
}

/* Medium Devices (768px to 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    header nav {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .hamburger {
        display: flex;
    }
    
    header nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        border-bottom: 3px solid var(--primary-color);
    }
    
    header nav ul.active {
        max-height: 500px;
    }
    
    header nav ul li {
        margin-left: 0;
        border-bottom: 1px solid #eee;
    }
    
    header nav ul li a {
        padding: 15px 20px;
        display: block;
        font-size: 0.95rem;
    }
    
    .logo img {
        height: 110px; /* Logo más grande en tablets */
    }
    
    h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .hero-section p {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 30px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .breeds-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .breed-card {
        padding: 20px;
    }
    
    .breed-card img {
        height: auto; /* Dejar que aspect-ratio maneje la altura */
    }
    
    .trust-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .social-floating-widgets {
        display: none;
    }
    
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-widget a {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    footer {
        padding: 60px 0 30px;
    }
    
    .footer-logo img {
        height: 100px;
    }
}

/* Small Devices (600px to 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    header nav {
        padding: 10px 15px;
    }
    
    .logo img {
        height: 100px; /* Logo más grande en móviles */
    }
    
    .hamburger {
        display: flex;
    }
    
    header nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        border-bottom: 3px solid var(--primary-color);
    }
    
    header nav ul.active {
        max-height: 400px;
    }
    
    header nav ul li {
        margin-left: 0;
        border-bottom: 1px solid #eee;
    }
    
    header nav ul li a {
        padding: 12px 15px;
        display: block;
        font-size: 0.9rem;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero-section {
        height: auto;
        min-height: 400px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 25px;
        width: 95%;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .breed-card {
        padding: 15px;
    }
    
    .breed-card h3 {
        font-size: 1.6rem;
    }
    
    .breed-card img {
        height: auto;
    }
    
    .breed-card p {
        font-size: 0.95rem;
    }
    
    .trust-list {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 30px auto;
    }
    
    .trust-list li {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step {
        padding: 20px;
    }
    
    .step i {
        font-size: 3rem;
    }
    
    .step h3 {
        font-size: 1.3rem;
    }
    
    .step p {
        font-size: 0.9rem;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-card p {
        font-size: 0.95rem;
    }
    
    .contact-info {
        padding: 0;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
    
    .map-placeholder {
        min-height: 250px;
    }
    
    .map-placeholder i {
        font-size: 3.5rem;
    }
    
    .map-placeholder p {
        font-size: 1rem;
    }
    
    .social-floating-widgets {
        display: none;
    }
    
    .whatsapp-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-widget a {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
    
    .social-links a {
        font-size: 1.5rem;
        margin: 0 15px;
    }
    
    footer {
        padding: 50px 0 25px;
    }
    
    .footer-logo img {
        height: 80px;
        margin-bottom: 20px;
    }
    
    footer p {
        font-size: 0.85rem;
    }
}

/* Extra Small Devices (480px to 599px) */
@media (max-width: 599px) {
    .container {
        max-width: 100%;
        padding: 0 12px;
    }
    
    header {
        padding: 10px 0;
    }
    
    header nav {
        padding: 8px 12px;
    }
    
    .logo img {
        height: 90px; /* Logo más grande en móviles pequeños */
    }
    
    .hamburger span {
        width: 22px;
        height: 2.5px;
        margin: 4px 0;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .hero-section {
        min-height: 350px;
    }
    
    .hero-section h1 {
        font-size: 1.6rem;
    }
    
    .hero-section p {
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 20px;
        width: 95%;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .breed-card {
        padding: 12px;
    }
    
    .breed-card h3 {
        font-size: 1.4rem;
    }
    
    .breed-card img {
        height: 200px;
    }
    
    .breed-card p {
        font-size: 0.9rem;
    }
    
    .video-container {
        margin-top: 20px;
        border-width: 3px;
    }
    
    .trust-list {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 25px auto;
    }
    
    .trust-list li {
        padding: 12px;
        font-size: 0.85rem;
    }
    
    .trust-list li::before {
        font-size: 1.2rem;
        margin-right: 10px;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .step {
        padding: 15px;
    }
    
    .step i {
        font-size: 2.5rem;
    }
    
    .step h3 {
        font-size: 1.1rem;
    }
    
    .step p {
        font-size: 0.85rem;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-card p {
        font-size: 0.9rem;
    }
    
    .testimonial-card::after {
        font-size: 1.5rem;
        top: 15px;
        right: 15px;
    }
    
    .contact-info p {
        font-size: 0.95rem;
        gap: 10px;
    }
    
    .contact-info i {
        font-size: 1.2rem;
    }
    
    .hours {
        padding: 20px;
        margin-top: 20px;
    }
    
    .hours h3 {
        font-size: 1.1rem;
    }
    
    .hours p {
        font-size: 0.9rem;
    }
    
    .map-placeholder {
        min-height: 200px;
    }
    
    .map-placeholder i {
        font-size: 3rem;
    }
    
    .map-placeholder p {
        font-size: 0.95rem;
    }
    
    .floating-widgets-container {
        bottom: 12px;
        right: 12px;
        gap: 10px;
    }
    
    .floating-widget a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .whatsapp-widget a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .social-links a {
        font-size: 1.3rem;
        margin: 0 10px;
    }
    
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo img {
        height: 70px;
        margin-bottom: 15px;
    }
    
    footer p {
        font-size: 0.8rem;
    }
}

/* Ultra Small Devices (320px to 479px) */
@media (max-width: 479px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    header {
        padding: 8px 0;
    }
    
    header nav {
        padding: 5px 10px;
    }
    
    .logo img {
        height: 80px; /* Logo más grande en móviles ultra pequeños */
    }
    
    .hamburger {
        padding: 8px;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
        margin: 3px 0;
    }
    
    h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .hero-section {
        min-height: 300px;
    }
    
    .hero-section h1 {
        font-size: 1.4rem;
    }
    
    .hero-section p {
        font-size: 0.85rem;
    }
    
    .hero-content {
        padding: 15px;
        width: 98%;
    }
    
    .cta-button {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    section {
        padding: 30px 0;
    }
    
    .breed-card {
        padding: 10px;
    }
    
    .breed-card h3 {
        font-size: 1.3rem;
    }
    
    .breed-card img {
        height: auto;
    }
    
    .breed-card p {
        font-size: 0.85rem;
    }
    
    .video-container {
        margin-top: 15px;
        border-width: 2px;
    }
    
    .trust-list {
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 20px auto;
    }
    
    .trust-list li {
        padding: 10px;
        font-size: 0.8rem;
    }
    
    .trust-list li::before {
        font-size: 1rem;
        margin-right: 8px;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .step {
        padding: 12px;
    }
    
    .step i {
        font-size: 2rem;
    }
    
    .step h3 {
        font-size: 1rem;
    }
    
    .step p {
        font-size: 0.8rem;
    }
    
    .testimonial-card {
        padding: 15px;
    }
    
    .testimonial-card p {
        font-size: 0.85rem;
    }
    
    .testimonial-card::after {
        font-size: 1.2rem;
        top: 10px;
        right: 10px;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .contact-info i {
        font-size: 1rem;
    }
    
    .hours {
        padding: 15px;
        margin-top: 15px;
    }
    
    .hours h3 {
        font-size: 1rem;
    }
    
    .hours p {
        font-size: 0.85rem;
    }
    
    .map-placeholder {
        min-height: 180px;
    }
    
    .map-placeholder i {
        font-size: 2.5rem;
    }
    
    .map-placeholder p {
        font-size: 0.9rem;
    }
    
    .floating-widgets-container {
        bottom: 10px;
        right: 10px;
        gap: 8px;
    }
    
    .floating-widget a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .whatsapp-widget a {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .social-links a {
        font-size: 1.2rem;
        margin: 0 8px;
    }
    
    footer {
        padding: 30px 0 15px;
    }
    
    .footer-logo img {
        height: 60px;
        margin-bottom: 10px;
    }
    
    footer p {
        font-size: 0.75rem;
    }
}
