/* ===================================
   VETFELINOS - Custom CSS
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #0ea5a0;
    --primary-dark: #0d9488;
    --primary-light: #14b8a6;
    --brand-pink: #ec4899;
    --brand-pink-light: #f9a8d4;

    /* Backgrounds */
    --background: #fafaf9;
    --foreground: #1c1917;
    --card: #ffffff;
    --secondary: #f5f5f4;
    --muted: #a8a29e;
    --muted-foreground: #78716c;

    /* Bootstrap Override Colors */
    --bs-primary: #0ea5a0;
    --bs-success: #0ea5a0;
    --bs-body-bg: #fafaf9;
    --bs-body-color: #1c1917;

    /* Spacing */
    --section-padding: 80px;
    --section-padding-lg: 120px;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2.5rem;
    --radius-3xl: 3rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px rgba(0,0,0,0.15);

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* ===================================
   Base Styles
   =================================== */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

/* ===================================
   Navbar
   =================================== */

.glass {
    background-color: rgba(250, 250, 249, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar {
    padding: 0.75rem 0;
    transition: var(--transition);
}

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

.brand-icon {
    width: 48px;
    height: 48px;
    background-color: var(--brand-pink);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.25);
    transition: var(--transition);
}

.navbar-brand:hover .brand-icon {
    transform: rotate(6deg);
}

.brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--foreground);
}

.brand-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    font-weight: 500;
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--foreground);
    padding: 0.5rem 0;
    position: relative;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.navbar .nav-link:hover {
    color: var(--primary);
}

.navbar .nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    padding: 0.5rem;
    font-size: 1.5rem;
    color: var(--foreground);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===================================
   Buttons
   =================================== */

.btn-whatsapp {
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius-full);
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-whatsapp:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary-custom {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.875rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid rgba(14, 165, 160, 0.2);
    border-radius: var(--radius-full);
    padding: 0.875rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background-color: rgba(14, 165, 160, 0.05);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-instagram {
    background-color: var(--foreground);
    color: white;
    border-radius: var(--radius-full);
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-instagram:hover {
    background-color: var(--foreground);
    color: white;
    opacity: 0.9;
}

.btn-whatsapp-large {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp-large:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    /* padding-top: 80px; */
    position: relative;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 160, 0.03) 0%, transparent 70%);
    border-radius: 100px 0 0 0;
    z-index: -1;
    display: none;
}

@media (min-width: 992px) {
    .hero-bg-pattern {
        display: block;
    }
}

.hero-bg-blur {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: rgba(236, 72, 153, 0.1);
    color: var(--brand-pink);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.875rem;
}

.hero-features {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    color: var(--brand-pink);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.overlay-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    animation: bounce 2s infinite;
}

.overlay-badge-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(236, 72, 153, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-pink);
    font-size: 1.5rem;
}

.hero-decoration-square {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 130px;
    height: 130px;
    background-color: var(--secondary);
    border-radius: var(--radius-xl);
    z-index: 1;
}

.hero-decoration-circle {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(14, 165, 160, 0.15);
    border-radius: 50%;
    z-index: 1;
}

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

/* ===================================
   Services Section
   =================================== */

.services-section {
    background-color: rgba(245, 245, 244, 0.5);
}

.service-card {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(14, 165, 160, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ===================================
   About Section
   =================================== */

.about-section {
    background-color: var(--background);
}

.badge-about {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(14, 165, 160, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: 60px;
    box-shadow: var(--shadow-xl);
}

.about-quote {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--brand-pink);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 280px;
}

.about-quote p {
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .about-quote {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 1rem;
        border-radius: var(--radius-lg);
        max-width: 100%;
    }
}

.credential-card {
    background-color: rgba(245, 245, 244, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.credential-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(236, 72, 153, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-pink);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ===================================
   Testimonials Section
   =================================== */

.testimonials-section {
    background-color: rgba(14, 165, 160, 0.03);
}

.testimonial-card {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.quote-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
}

.stars {
    color: var(--primary);
    font-size: 0.875rem;
}

.stars i + i {
    margin-left: 0.125rem;
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    background-color: var(--background);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(245, 245, 244, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.instructions-card {
    background-color: rgba(245, 245, 244, 0.5);
    border: 1px solid rgba(14, 165, 160, 0.1);
}

.step-number {
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.alert-custom {
    background-color: rgba(14, 165, 160, 0.1);
    color: var(--primary);
    padding: 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background-color: var(--foreground);
    color: white;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand .brand-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.footer-brand .brand-name {
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand .brand-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
}

.border-light {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ===================================
   Text Utilities
   =================================== */

.text-primary {
    color: var(--primary) !important;
}

.text-muted {
    color: var(--muted-foreground) !important;
}

.italic {
    font-style: italic;
}

/* ===================================
   Section Padding
   =================================== */

section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

@media (min-width: 768px) {
    section {
        padding-top: var(--section-padding-lg);
        padding-bottom: var(--section-padding-lg);
    }
}

/* ===================================
   Responsive Adjustments
   =================================== */

@media (max-width: 991px) {
    .hero-section {
        padding-top: 100px;
    }

    .hero-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .display-3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .navbar-collapse {
        background-color: var(--background);
        padding: 1rem;
        border-radius: var(--radius-lg);
        margin-top: 0.5rem;
        box-shadow: var(--shadow-lg);
    }

    .display-4 {
        font-size: 2rem;
    }

    .btn-whatsapp-large {
        justify-content: center;
    }

    /* Mobile improvements */
    .hero-section {
        padding-top: 90px;
        padding-bottom: 40px;
        text-align: center;
    }

    .hero-section .display-3 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

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

    .badge-hero {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    .service-card {
        padding: 1.25rem;
        text-align: center;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 1rem;
    }

    .about-section {
        text-align: center;
    }

    .about-image {
        border-radius: 30px;
    }

    .about-quote {
        padding: 1rem 1.5rem;
    }

    .credential-card {
        text-align: center;
        justify-content: center;
    }

    .testimonial-card {
        margin-bottom: 1rem;
    }

    .instructions-card {
        margin-top: 2rem;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    /* Better touch targets */
    .btn,
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar .nav-link {
        padding: 0.75rem 0;
    }

    /* Spacing adjustments */
    .py-5 {
        padding-top: 1.5em !important;
        padding-bottom: 1.5em !important;
    }

    /* Hide decorative elements on mobile */
    .hero-bg-pattern,
    .hero-bg-blur {
        display: none;
    }

    .hero-decoration-square,
    .hero-decoration-circle {
        display: none;
    }

    .overlay-badge {
        top: 10px;
        right: 10px;
        padding: 0.75rem;
    }

    .overlay-badge-icon {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
}

/* Very small devices */
@media (max-width: 380px) {
    .hero-section .display-3 {
        font-size: 1.5rem;
    }

    .btn-primary-custom,
    .btn-outline-custom,
    .btn-whatsapp-large {
        width: 100%;
        text-align: center;
    }
}

/* ===================================
   Font Awesome Icons
   =================================== */

.fa-solid {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.service-icon .fa-solid,
.credential-icon .fa-solid {
    font-size: 1.5rem;
}

.feature-icon {
    font-size: 1.25rem;
}

.overlay-badge-icon .fa-solid {
    font-size: 1.5rem;
}

/* ===================================
   Animations
   =================================== */

[data-aos="fade-right"],
[data-aos="fade-left"],
[data-aos="fade-up"] {
    pointer-events: none;
}

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

/* ===================================
   Scrollbar Styling
   =================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--muted);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--muted-foreground);
}
