/* 
   Veterinary Website Theme 
   Palette: Deep Teal, Soft Coral, Off-white, Dark Slate
*/

:root {
    --primary-color: #1ABC9C;
    /* Verde Turquesa */
    --primary-dark: #16A085;
    --secondary-color: #D4AF37;
    /* Dorado */
    --accent-pink: #FF69B4;
    /* Rosado */
    --bg-color: #D1F2EB;
    /* Verde Turquesa suave para fondo */
    --text-color: #2C3E50;
    --white: #ffffff;
    --gray-light: #f9f9f9;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --header-bg: #F9F4E0;
    /* Dorado suave muy claro */
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('WhatsApp Image 2026-02-07 at 16.03.32.jpeg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40%;
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif;
    color: var(--text-color);
    font-weight: 700;
    /* Bolder for Nunito */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-pink);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #d63384;
    /* Darker Pink */
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-block:hover {
    filter: brightness(0.95);
}


/* Header */
.header {
    background: linear-gradient(45deg, #FDD017 0%, #d4af37 50%, #FDD017 100%);
    background-size: 200% 200%;
    animation: goldWater 3s ease infinite;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 4px solid var(--primary-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(244, 241, 222, 0.8) 0%, rgba(255, 255, 255, 1) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
    border: 4px solid var(--secondary-color);
    /* Gold Border */
    border-radius: 8px;
}

.hero-image img {
    box-shadow: 20px 20px 0px var(--accent-pink);
    /* Pink Shadow */
    border-radius: 4px;
}


/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-color);
    padding: 2.5rem;
    border-radius: 16px;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
    /* Borde dorado */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-features {
    margin-top: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li i {
    color: var(--secondary-color);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.about-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: #FFE4E1;
    /* Fondo rosado suave */
    border: 4px solid var(--secondary-color);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    /* Para que la imagen no se salga del borde redondeado */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
    /* Hace que el blanco se vuelva transparente */
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(45deg,
            var(--secondary-color),
            var(--secondary-color) 10px,
            var(--accent-pink) 10px,
            var(--accent-pink) 20px);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-list {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--header-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
    }

    .nav-list.active {
        left: 0;
    }

    .nav-list li {
        margin: 1rem 0;
    }

    .hero-content,
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-image {
        order: 2;
    }

    .hero-image img {
        box-shadow: none;
        margin: 0 auto;
    }
}

/* Animation for Gold Water Background */
@keyframes goldWater {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}