/* Global Variables & Reset */
:root {
    --primary-color: #2fbda5; /* Pastel Green */
    --primary-hover: #26a08c;
    --secondary-color: #ff9a76; /* Soft Peach */
    --secondary-hover: #ff855b;
    --bg-color: #f8fafc; /* Very light cool grey */
    --surface-color: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --shadow-soft: 0 10px 40px -10px rgba(47, 189, 165, 0.15);
    --shadow-hover: 0 20px 40px -10px rgba(47, 189, 165, 0.25);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utilities */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(47, 189, 165, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 189, 165, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 26px; /* Adjust for border */
}

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

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 5% 100px;
    min-height: 75vh;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1e293b;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: 40px;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
}

.pulse-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(47, 189, 165, 0.15);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes pulseBadge {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(47, 189, 165, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(47, 189, 165, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(47, 189, 165, 0); }
}

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    z-index: 2;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-grad);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-emoji {
    font-size: 6rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.15));
}

.carousel-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    background: rgba(0,0,0,0.15);
    padding: 8px 24px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.floating-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #cbebf2 0%, #e2fbe3 100%);
    border-radius: 50%;
    top: -20px;
    right: 0;
    z-index: 1;
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}

/* Services Section */
.services {
    padding: 80px 5%;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

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

/* Fun interactive bubble */
.card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    transition: var(--transition);
}

.card:hover::before {
    transform: scale(3);
}

.icon-bubble {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.walk-bubble { background-color: #e0f2fe; }
.drop-bubble { background-color: #ffedd5; }
.night-bubble { background-color: #f3e8ff; }

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.card .price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.services-note {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background: #fdfdfd;
    border: 1px dashed #e2e8f0;
    border-radius: var(--border-radius-md);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.services-note strong {
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
}

.contact-card {
    background: white;
    max-width: 1000px;
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    display: flex;
    overflow: hidden;
}

.contact-info {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e9d89 100%);
    padding: 50px;
    color: white;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact-info p {
    opacity: 0.9;
    margin-bottom: 40px;
}

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

.contact-method .icon {
    font-size: 1.5rem;
}

.booking-form {
    flex: 1.2;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(47, 189, 165, 0.1);
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

.success-message {
    padding: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1.2;
}

.success-message h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.hidden {
    display: none !important;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.section-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* All Kinds of Pets */
.pets-section {
    padding: 80px 5%;
    background-color: var(--bg-color);
}

.pet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.pet-card {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 30px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.pet-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(47, 189, 165, 0.15);
}

.pet-emoji {
    font-size: 3rem;
    margin-bottom: 10px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pet-card:hover .pet-emoji {
    transform: scale(1.2) rotate(5deg);
}

.pet-card h3 {
    font-size: 1.1rem;
    color: var(--text-main);
}

.pet-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 5%;
    background-color: white;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.t-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.t-card:hover {
    background: white;
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
}

.t-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.author {
    display: flex;
    flex-direction: column;
}

.author strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.author span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Intake Form Layout */
.intake-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.intake-sidebar {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #178372 100%);
    color: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.intake-sidebar h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.intake-sidebar p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
}

.intake-main {
    flex: 2;
    min-width: 300px;
}

.intake-section {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.02);
}

.intake-section h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

/* Form Helper Classes */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.mt-3 {
    margin-top: 15px;
}

/* Pet block repeated */
.pet-block {
    background: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
    position: relative;
    border: 1px dashed #cbd5e1;
}

.pet-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-remove-pet {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-weight: 600;
}

.btn-add-pet {
    width: 100%;
    margin-top: 10px;
    background: white;
    color: var(--primary-color);
    border: 2px dashed var(--primary-color);
}

.btn-add-pet:hover {
    background: var(--primary-color);
    color: white;
    border-style: solid;
}

.agreement-box {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 20px;
    background: white;
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
}

.agreement-box input[type="checkbox"] {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.submit-btn-main {
    width: 100%;
    margin-top: 30px;
    font-size: 1.2rem;
    padding: 18px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .nav-links {
        display: none; /* simple mobile nav for now */
    }

    .contact-card {
        flex-direction: column;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .intake-sidebar {
        position: static;
        margin-bottom: -10px;
    }
}
