/* ========================================
   CLÍNICA VETERINARIA ZEUS - ESTILOS GLOBALES
   Paleta: Teal, Naranja, Beige, Blanco
   ======================================== */

:root {
    --teal-dark: #1a7a7a;
    --teal-light: #2a9d9d;
    --orange: #e8a060;
    --orange-dark: #d4894a;
    --beige: #f5d5b5;
    --beige-light: #fef6ed;
    --sky-blue: #6bc4e8;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    background: var(--beige-light);
    color: var(--gray-800);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    background: var(--white);
    padding: 0.8rem 2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-brand span {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--teal-dark);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.navbar-menu a {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
}

.navbar-menu a:hover {
    background: var(--beige);
    color: var(--teal-dark);
}

.navbar-menu a.active {
    background: var(--teal-dark);
    color: var(--white);
}

.navbar-menu .btn-login {
    background: var(--orange);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    margin-left: 1rem;
}

.navbar-menu .btn-login:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--teal-dark);
    cursor: pointer;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-light) 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: url('../Fotos/Portada.jpg') center/cover no-repeat;
    opacity: 0.15;
    border-radius: 50%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    color: var(--orange);
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 400px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: float 4s ease-in-out infinite;
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--teal-dark);
}

.btn-secondary:hover {
    background: var(--beige);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--teal-dark);
}

.btn-teal {
    background: var(--teal-dark);
    color: var(--white);
}

.btn-teal:hover {
    background: var(--teal-light);
    transform: translateY(-3px);
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--teal-dark);
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray-600);
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* ========================================
   QUICK INFO BAR
   ======================================== */
.quick-info {
    background: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.quick-info-item i {
    font-size: 1.5rem;
    color: var(--teal-dark);
}

.quick-info-item span {
    font-weight: 600;
    color: var(--gray-700);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--gray-800);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--orange);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--gray-400);
    display: block;
    padding: 0.3rem 0;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: var(--teal-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--gray-700);
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--teal-dark);
    box-shadow: 0 0 0 3px rgba(26, 122, 122, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
    padding: 4rem 2rem;
    margin: 3rem 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-md);
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }

    .quick-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .quick-info-item {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
}
