/* Custom styles for Index.html replacing Tailwind classes */

.gradient-hero {
    background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--secondary) / 0.3) 100%);
    /* Adjusted for potential specific needs, or keep var */
    /* If --secondary is HSL, we might need to adjust how we handle opacity or use the original style */
}

/* Re-implementing the gradient-hero from styles.css if needed here, or relying on global styles.css */
/* Actually styles.css has .gradient-hero, so we might just need component specific tweaks */

/* Hero Section */
.hero-section {
    padding-top: 4rem;
    padding-bottom: 6rem;
}

/* Feature Badge */
.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Hero Title */
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.text-highlight-primary {
    color: hsl(var(--primary));
}

.hero-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 32rem;
    margin-bottom: 2rem;
}

/* Search Box Container */
.search-box-container {
    background-color: hsl(var(--background));
    border: 1px solid hsl(var(--input));
    border-radius: 9999px;
    padding: 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 576px) {
    .search-box-container {
        flex-direction: row;
        align-items: center;
    }
}

.search-input-wrapper {
    position: relative;
    flex-grow: 1;
}

.search-icon-pos {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: hsl(var(--muted-foreground));
    width: 1.25rem;
    height: 1.25rem;
}

.search-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem 0.75rem 3rem;
    font-size: 1rem;
    outline: none;
}

/* Trust Badges */
.trust-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.125rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.trust-badge-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

.trust-badge-primary {
    background-color: hsla(var(--primary), 0.1);
    /* Approximate bg-primary/10 */
    color: hsl(var(--primary));
}

.trust-badge-accent {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

/* Hero Image Cards */
.hero-float-card {
    position: absolute;
    background-color: hsl(var(--card));
    color: hsl(var(--card-foreground));
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 20;
}

.float-card-content {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-box {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box-success {
    background-color: hsla(var(--success), 0.1);
}

.icon-box-highlight {
    background-color: hsla(var(--highlight), 0.1);
}

/* Steps Section */
.step-icon-wrapper {
    height: 5rem;
    width: 5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.step-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
    background-color: hsl(var(--highlight));
    color: hsl(var(--highlight-foreground));
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* Cards */
.sitter-card {
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    color: hsl(var(--card-foreground));
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sitter-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-img-container {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: hsl(var(--muted));
}

.card-img-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.favorite-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.favorite-btn:hover {
    color: hsl(var(--primary));
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background-color: hsla(var(--primary), 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}

/* Footer specific overrides */
.footer-link {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: hsl(var(--primary));
}

.social-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
    background: transparent;
    border: none;
    color: hsl(var(--foreground));
}

.social-btn:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}