/* =================
   Custom CSS for Taxi-Pet Landing Page
   ================= */

:root {
    --primary-color: #8BC34A;
    --primary-dark: #689F38;
    --secondary-color: #FDD835;
    --accent-color: #E41E23;
    --text-dark: #212121;
    --text-light: #6C757D;
    --text-lighter: #ADB5BD;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --shadow-light: 0 2px 10px rgba(139, 195, 74, 0.1);
    --shadow-medium: 0 4px 20px rgba(139, 195, 74, 0.15);
    --border-radius: 12px;
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* =================
   Typography
   ================= */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* =================
   Navigation
   ================= */

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    align-items: center;
}

.navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

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

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="25" r="1.5" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="50" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="25" cy="75" r="1.2" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="0.8" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons .btn {
    margin-bottom: 1rem;
}

.hero-stats {
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.hero-image img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* =================
   Step Cards
   ================= */

.step-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

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

.step-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.step-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* =================
   Benefit Cards
   ================= */

.benefit-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* =================
   Coverage Grid
   ================= */

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.coverage-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.coverage-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.coverage-item i {
    font-size: 1.2rem;
}

.coverage-item span {
    font-weight: 500;
    color: var(--text-dark);
}

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

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
}

.testimonial-image {
    text-align: center;
}

.testimonial-image img {
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.testimonial-image img:hover {
    transform: scale(1.1);
}

.about-image img {
    max-height: 350px;
    object-fit: cover;
    width: 100%;
}

/* Logo largo en navbar */
.navbar-brand img {
    height: auto !important;
    max-height: 50px !important;
    width: auto !important;
}

/* Footer brand logo */
.footer-brand img {
    filter: brightness(0) invert(1);
}

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

.testimonial-rating i {
    color: #FFD700;
    margin-right: 0.2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
    display: block;
}

/* =================
   CTA Section
   ================= */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,50 Q25,25 50,50 T100,50 V100 H0 Z" fill="%23ffffff" opacity="0.1"/></svg>');
    background-size: cover;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 2rem;
    }
}

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

.footer {
    background-color: #1A1A1A !important;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.social-links a {
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: var(--primary-color) !important;
    text-decoration: none;
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

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

.bg-light {
    background-color: var(--bg-light) !important;
}

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease forwards;
}

/* =================
   Responsive Design
   ================= */

@media (max-width: 992px) {
    .hero-section {
        padding: 100px 0 40px;
    }
    
    .step-card,
    .benefit-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .coverage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step-card,
    .benefit-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* =================
   Smooth Scrolling
   ================= */

html {
    scroll-behavior: smooth;
}

/* =================
   Loading States
   ================= */

.btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* =================
   Focus States
   ================= */

.btn:focus,
.nav-link:focus {
    box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.25);
    outline: none;
}