/* Estilos Customizados para PetMaxi Guide */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}


/* Hover effects para opções */
html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;

    overflow-x: hidden;
}

.page-background {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.page-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.background-seal {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;

    width: 180px;
    height: 180px;

    pointer-events: none;
}

.background-seal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ==========================================
   Elementos decorativos do background
   ========================================== */

.background-decorations {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: -1;

    overflow: hidden;
    pointer-events: none;
}


/* Configuração comum */
.decoration {
    position: absolute;
    display: block;

    width: auto;
    height: auto;

    max-width: none;

    user-select: none;
    pointer-events: none;
}


/* Canto inferior esquerdo */
.decoration-bottom-left {
    left: 0;
    bottom: 0;

    width: 260px;
}


/* Canto inferior direito */
.decoration-bottom-right {
    right: 0;
    bottom: 0;

    width: 280px;
}


/* Meio da página */
.decoration-middle {
    left: 50%;
    top: 50%;

    width: 220px;

    transform: translate(-50%, -50%);
}


/* Quarta imagem - ajustas conforme quiseres */
.decoration-extra {
    left: 4%;
    top: 40%;

    width: 200px;
}

@media (max-width: 768px) {

    .background-seal {
        display: none;
    }

    .decoration-bottom-left {
        width: 150px;
        left: -30px;
        bottom: -10px;
    }

    .decoration-bottom-right {
        width: 160px;
        right: -30px;
        bottom: -10px;
    }

    .decoration-middle {
        width: 130px;
    }

    .decoration-extra {
        width: 120px;
    }
}
/* ==========================================
    HOME
========================================= */

    .guide-card {
        border-radius: 1.5rem;
        transition: all .25s ease;
        overflow: hidden;
    }

    .guide-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, .12) !important;
    }

    .guide-card .btn {
        transition: all .25s ease;
    }

    .guide-card:hover .btn {
        background-color: #198754;
        transform: scale(1.03);
    }

/* ==========================================
   Conteúdo da página
   ========================================== */

.page-content {
    position: relative;
    min-height: 100vh;
}
.hero-bg{
    position: fixed;
    inset: 0;

    width: 100vw;
    height: 100vh;

    object-fit: cover;
    object-position: center;

    z-index: -1;

    display: block;

    max-width: none;
}
/* Estilo para o seletor de idioma */
.language-switcher {
    position: fixed;
    top: 20px;
    left: 20px;

    z-index: 1000;
}
.language-btn img,
.language-option img {
    width: 24px;
    height: 24px;

    object-fit: cover;

    border-radius: 50%;

    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);

    flex-shrink: 0;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 7px 13px 7px 8px;

    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);

    color: #212529;
    font-size: 13px;
    font-weight: 700;

    transition: all 0.2s ease;
}

.language-btn:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.16);
}

.language-menu {
    min-width: 190px;

    margin-top: 8px !important;
    padding: 7px;

    border: 0;
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 9px 10px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 500;
}

.language-option:hover {
    background: #e8f5ee;
    color: #198754;
}

.language-option.active {
    background: #d1e7dd;
    color: #0a3622;
    font-weight: 600;
}

/* Badges customizados */
.bg-success-subtle {
    background-color: #d1e7dd !important;
}

.text-success-emphasis {
    color: #0a3622 !important;
}

/* Animação suave para transições */
* {
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Ajustes para botões */
.btn {
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Checkbox customizado */
.form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

/* Responsividade para imagens */
img {
    max-width: 100%;
    height: auto;
}
.product-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f8f9fa;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sombra suave para cards */
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}
.product-card {
    transition: 
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Página de Resultados */
    .product-card {
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    }
    
    .product-image-wrapper {
        position: relative;
        width: 100%;
        height: 250px;
        overflow: hidden;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .product-image-wrapper img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }
    
    .product-card:hover .product-image-wrapper img {
        transform: scale(1.05);
    }
    
    .zoom-icon {
        position: absolute;
        bottom: 10px;
        right: 10px;
        background: rgba(25, 135, 84, 0.9);
        color: white;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    
    .product-card:hover .zoom-icon {
        opacity: 1;
    }
    
    /* Modal Styles - Moderna e Impactante */
    .modal-dialog {
        max-width: 760px;
    }
    
    .modal-content {
        border: none;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }
    
    .modal-backdrop.show {
        opacity: 0.7;
        backdrop-filter: blur(8px);
    }
    
    .modal-header {
        background: linear-gradient(135deg, #198754 0%, #20c997 100%);
        color: white;
        border: none;
        padding: 1rem 2.5rem;
        position: relative;
        overflow: hidden;
    }
    
    .modal-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
        background-size: 100px 100px;
        opacity: 0.3;
        pointer-events: none;
    }
    
    .modal-header .btn-close {
        filter: brightness(0) invert(1);
        opacity: 0.9;
        width: 32px;
        height: 32px;
        background-size: 20px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }
    
    .modal-header .btn-close:hover {
        opacity: 1;
        transform: rotate(90deg);
    }
    
    .modal-title {
        font-size: 1.75rem;
        font-weight: 700;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 1;
    }
    
    .modal-brand {
        font-size: 1rem;
        opacity: 0.9;
        font-weight: 500;
        letter-spacing: 0.5px;
        position: relative;
        z-index: 1;
    }
    
    .modal-body {
        padding: 0;
        background: #fff;
    }
    
    .modal-image-container {
        position: relative;
        width: 100%;
        /*height: 450px;*/
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
        overflow: hidden;
        padding: 0;
        margin: 0;     
    }
    
    .modal-image-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100px;
        background: linear-gradient(180deg, rgba(25, 135, 84, 0.08) 0%, transparent 100%);
        pointer-events: none;
    }
    
    .modal-image-container img {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
        animation: fadeInScale 0.4s ease-out;
    }
    
    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: scale(0.95);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }
    
    .modal-info-section {
        padding: 2.5rem;
    }
    
    .modal-description {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        padding: 1.5rem;
        border-radius: 16px;
        border-left: 4px solid #198754;
        margin-bottom: 2rem;
    }
    
    .modal-description h6 {
        font-weight: 700;
        color: #198754;
        margin-bottom: 1rem;
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .modal-description p {
        color: #495057;
        line-height: 1.7;
        margin: 0;
        font-size: 1rem;
    }
    
    .modal-actions {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .modal-actions .btn {
        flex: 1;
        min-width: 180px;
        padding: 0.875rem 1.5rem;
        font-weight: 600;
        border-radius: 12px;
        transition: all 0.3s ease;
        border-width: 2px;
    }
    
    .modal-actions .btn-success {
        background: linear-gradient(135deg, #198754 0%, #20c997 100%);
        border: none;
        box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
    }
    
    .modal-actions .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
    }
    
    .modal-actions .btn-outline-success {
        border-color: #198754;
        color: #198754;
        background: white;
    }
    
    .modal-actions .btn-outline-success:hover {
        background: #198754;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(25, 135, 84, 0.2);
    }
    
    .modal-actions .btn i {
        font-size: 1.1rem;
    }
    
    @media (max-width: 768px) {
        .modal-dialog {
            margin: 0.5rem;
        }
        
        .modal-image-container {
            height: 300px;
        }
        
        .modal-info-section {
            padding: 1.5rem;
        }
        
        .modal-actions .btn {
            min-width: 100%;
        }
    }