/**
 * Banhos e Tosquias Page Styles
 * TIBI Pet Universe
 * 
 * @package TIBI_Pet_Universe
 */

/* ==========================================================================
   Hero Section
   ========================================================================== */
.bt-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.bt-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #00a3e0 0%, #129dab 50%, #16b3c3 100%);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Quando tem imagem de fundo, remover gradiente */
.bt-hero-bg[style*="background-image"] {
    background: none;
}

.bt-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.4) 0%, rgba(18, 157, 171, 0.5) 100%);
}

.bt-hero .container {
    position: relative;
    z-index: 1;
}

.bt-hero-content {
    max-width: 700px;
    padding: 4rem 0;
    text-align: left;
}

.bt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bt-hero-badge svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.bt-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.bt-hero-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.bt-hero-actions .btn-primary {
    background-color: #fff;
    color: var(--tibi-teal);
}

.bt-hero-actions .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.2);
}

.bt-hero-actions .btn-outline {
    background-color: #fff;
    border-color: #fff;
    color: var(--tibi-teal);
    flex-direction: column;
    line-height: 1.2;
}

.bt-hero-actions .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.2);
}

.bt-hero-phone-note {
    display: block;
    color: var(--tibi-teal);
    font-size: 0.6875rem;
    opacity: 0.7;
    margin-top: 0.125rem;
}

/* ==========================================================================
   Intro Section
   ========================================================================== */
.bt-intro {
    padding: 5rem 0;
    background-color: var(--card);
}

.bt-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bt-intro-content {
    max-width: 540px;
}

.bt-intro-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--foreground);
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

.bt-intro-text {
    font-size: 1.0625rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin: 0 0 1rem;
}

.bt-intro-text:last-child {
    margin-bottom: 0;
}

.bt-intro-image {
    position: relative;
}

.bt-intro-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.2);
}

.bt-intro-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.bt-intro-image-badge {
    position: absolute;
    bottom: 6px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background-color: var(--tibi-teal);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px -5px rgba(18, 157, 171, 0.4);
}

.bt-intro-image-badge svg {
    flex-shrink: 0;
}

.bt-intro-image-badge span {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.bt-services {
    padding: 5rem 0;
    background-color: var(--background);
}

.bt-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.bt-service-card {
    position: relative;
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bt-service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.95) 100%);
    transition: var(--transition-smooth);
    z-index: 1;
}

.bt-service-card:hover::before {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.bt-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.15);
    border-color: var(--tibi-teal);
}

/* Service Card Content */
/* make entire service card clickable */
.bt-service-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.bt-service-link:focus {
    outline: 3px solid rgba(18,157,171,0.35);
    outline-offset: 4px;
}
.bt-service-link .bt-service-card {
    cursor: pointer;
}
.bt-service-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bt-service-card.featured::before {
    background: linear-gradient(to bottom, rgba(18, 157, 171, 0.85) 0%, rgba(0, 163, 224, 0.92) 100%);
}

.bt-service-card.featured:hover::before {
    background: linear-gradient(to bottom, rgba(18, 157, 171, 0.8) 0%, rgba(0, 163, 224, 0.88) 100%);
}

.bt-service-card.featured {
    border-color: transparent;
    color: #fff;
}

.bt-service-card.featured:hover {
    border-color: transparent;
}

.bt-service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 1rem;
    background-color: var(--accent);
    color: var(--foreground);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2rem;
    box-shadow: 0 4px 12px -2px rgba(255, 213, 0, 0.4);
    z-index: 2;
}

.bt-service-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(18, 157, 171, 0.1);
    color: var(--tibi-teal);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.bt-service-card.featured .bt-service-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.bt-service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 0.75rem;
}

.bt-service-card.featured .bt-service-title {
    color: #fff;
}

.bt-service-desc {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

.bt-service-card.featured .bt-service-desc {
    color: rgba(255, 255, 255, 0.85);
}

.bt-service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bt-service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--foreground);
}

.bt-service-features li svg {
    color: var(--tibi-teal);
    flex-shrink: 0;
}

.bt-service-card.featured .bt-service-features li {
    color: #fff;
}

.bt-service-card.featured .bt-service-features li svg {
    color: var(--accent);
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */
.bt-benefits {
    padding: 5rem 0;
    background-color: var(--card);
}

.bt-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bt-benefits-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--foreground);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.bt-benefits-text {
    font-size: 1.0625rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin: 0 0 2rem;
}

.bt-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bt-benefit-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background-color: var(--muted);
    border-radius: var(--radius);
    transition: var(--transition-smooth);
}

.bt-benefit-item:hover {
    background-color: rgba(18, 157, 171, 0.08);
}

.bt-benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card);
    color: var(--tibi-teal);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
}

.bt-benefit-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 0.25rem;
}

.bt-benefit-content p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 0;
}

.bt-benefits-image {
    position: relative;
}

.bt-benefits-image-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.2);
}

.bt-benefits-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.bt-benefits-slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
}

.bt-benefits-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.bt-benefits-slide.active {
    opacity: 1;
}

.bt-benefits-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bt-benefits-stats {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    display: flex;
    gap: 1rem;
}

.bt-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.bt-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tibi-teal);
    line-height: 1;
}

.bt-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

/* ==========================================================================
   Animals Section
   ========================================================================== */
.bt-animals {
    padding: 5rem 0;
    background-color: var(--background);
}

.bt-animals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.bt-animal-card {
    padding: 2rem;
    background-color: var(--card);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bt-animal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px -15px rgba(18, 157, 171, 0.25);
    border-color: var(--tibi-teal);
}

.bt-animal-card:hover .bt-animal-image img {
    transform: scale(1.08);
}

.bt-animal-card:hover .bt-animal-image::after {
    opacity: 0;
}

.bt-animal-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 8px 30px -8px rgba(18, 157, 171, 0.3);
    border: 4px solid var(--tibi-teal);
    flex-shrink: 0;
}

.bt-animal-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 157, 171, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    transition: opacity 0.3s ease;
}

.bt-animal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bt-animal-content {
    flex: 1;
}

.bt-animal-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 0.75rem;
}

.bt-animal-card p {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.bt-cta {
    padding: 5rem 0;
    background-color: var(--card);
}

.bt-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem 4rem;
    background: linear-gradient(135deg, var(--tibi-teal) 0%, #00a3e0 100%);
    border-radius: calc(var(--radius) * 2);
    box-shadow: 0 25px 80px -20px rgba(18, 157, 171, 0.4);
}

.bt-cta-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
}

.bt-cta-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 500px;
}

.bt-cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.bt-cta-actions .btn-primary {
    background-color: #fff;
    color: var(--tibi-teal);
}

.bt-cta-actions .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.bt-cta-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    background-color: transparent;
}

.bt-cta-actions .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1200px) {
    .bt-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bt-animals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .bt-hero {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .bt-hero-content {
        max-width: 100%;
    }
    
    .bt-intro-grid,
    .bt-benefits-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .bt-intro-content {
        max-width: 100%;
        order: 2;
    }
    
    .bt-intro-image {
        order: 1;
    }
    
    .bt-intro-image-badge {
        bottom: auto;
        top: 1rem;
        left: 1rem;
    }
    
    .bt-benefits-content {
        order: 1;
    }
    
    .bt-benefits-image {
        order: 2;
    }
    
    .bt-benefits-stats {
        position: static;
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .bt-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 2rem;
    }
    
    .bt-cta-text {
        max-width: 100%;
    }
    
    .bt-cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .bt-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .bt-hero {
        min-height: 400px;
    }
    
    .bt-hero-content {
        padding: 3rem 0;
    }
    
    .bt-hero-title {
        font-size: 2rem;
    }
    
    .bt-hero-text {
        font-size: 1rem;
    }
    
    .bt-hero-actions {
        flex-direction: column;
    }
    
    .bt-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .bt-intro,
    .bt-services,
    .bt-benefits,
    .bt-animals,
    .bt-gallery,
    .bt-cta {
        padding: 3rem 0;
    }
    
    .bt-intro-title,
    .bt-benefits-title {
        font-size: 1.75rem;
    }
    
    .bt-services-grid {
        grid-template-columns: 1fr;
    }
    
    .bt-animals-grid {
        grid-template-columns: 1fr;
    }

    .bt-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .bt-hero {
        padding: 3rem 0;
    }
    
    .bt-hero-badge {
        font-size: 0.8125rem;
    }
    
    .bt-hero-title {
        font-size: 1.75rem;
    }
    
    .bt-service-content {
        padding: 1.5rem;
    }
    
    .bt-service-card {
        min-height: 340px;
    }
    
    .bt-benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .bt-stats {
        flex-direction: column;
    }
    
    .bt-stat {
        padding: 1.25rem 2rem;
    }

    .bt-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* ==========================================================================
   Gallery Section - Patudos após tratamento
   ========================================================================== */
.bt-gallery {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fff 0%, #f7fafa 100%);
}

.bt-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 10px;
}

.bt-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.bt-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.bt-gallery-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.bt-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bt-gallery-item:hover .bt-gallery-image img {
    transform: scale(1.08);
}

.bt-gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bt-gallery-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.bt-gallery-service {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.bt-gallery-service::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--tibi-teal, #00a8a8);
    border-radius: 50%;
}
