/* ----------------- BASE ----------------- */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    background-color: #f8f9fa;
    color: #222;
}

/* ----------------- FOOTER ----------------- */
footer {
    position: relative;
    padding: 1rem 0;
    background-color: #81d4b7;
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
}

/* ----------------- BOTÕES ----------------- */
.btn-close-lg {
    width: 2.5rem;
    height: 2.5rem;
}

.btn-primary, .btn-secondary, .dropdown-toggle {
    background: linear-gradient(90deg, #a8e6cf, #81d4b7);
    border: none;
    color: #000 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 10px;
}

    .btn-primary:hover,
    .btn-secondary:hover,
    .dropdown-toggle:hover,
    .btn-primary:focus,
    .btn-secondary:focus,
    .dropdown-toggle:focus {
        background: linear-gradient(90deg, #81d4b7, #a8e6cf);
        color: #000;
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

/* Foco verde para botões e inputs */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #81d4b7;
    outline: none; /* remove a borda azul padrão */
}

.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #81d4b7;
    border-color: #81d4b7;
    outline: none;
}


/* ----------------- DROPDOWN ----------------- */
.dropdown-menu-dark {
    background-color: #d4f1e0;
    color: #000;
    border-radius: 10px;
}

    .dropdown-menu-dark .dropdown-item {
        color: #000;
        transition: all 0.3s ease;
    }

        .dropdown-menu-dark .dropdown-item:hover {
            background-color: #81d4b7;
            color: #fff;
        }

/* ----------------- NAVBAR BRAND ----------------- */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    transition: transform 0.3s, color 0.3s, text-shadow 0.3s;
    position: relative;
}

    .navbar-brand:hover {
        color: #90ee90;
        transform: scale(1.1);
        text-shadow: 0 0 8px #90ee90;
        animation: pulse 0.6s ease-in-out;
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1.15);
    }
}

/* ----------------- NAV LINKS ----------------- */
.nav-link {
    color: white;
    transition: all 0.3s ease;
}

    .nav-link:hover {
        color: #90ee90;
        text-shadow: 0 0 6px #90ee90;
    }

/* ----------------- RESPONSIVIDADE ----------------- */
@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .btn-primary {
        font-size: 0.9rem;
    }
}

/* ----------------- CARDS ----------------- */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #fff;
}

    .card:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

.card-body {
    display: flex;
    flex-direction: column;
}

.card p.text-success {
    font-weight: 700;
    font-size: 1.25rem;
}

/* Botões dentro do card */
.card .card-body button {
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .card .card-body button:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

.card-img-top {
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Avaliação em estrelas */
.star {
    color: gold;
    font-size: 1.1rem;
}

/* ----------------- MODAL ----------------- */
.modal-content {
    border-radius: 15px;
    padding: 1rem;
    background-color: #fefefe;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.modal-header, .modal-footer {
    border: none;
}

/* Resumo de endereço */
#resumoEndereco1, #resumoEndereco2, #resumoEndereco3, #resumoEndereco4 {
    background-color: #d4f1e0;
    color: #1b3a2e;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-top: 10px;
    font-weight: 500;
}

/* Campos de pagamento */
.modal-body .form-select {
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .modal-body .form-select:focus {
        box-shadow: 0 0 8px #81d4b7;
        border-color: #81d4b7;
    }

/* ----------------- HERO ----------------- */
.team-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.custom-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    border-radius: 15px;
}

.hero-title {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.text-shadow {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .hero-img {
        max-height: 300px;
    }
}

/* ----------------- FILTRO E BUSCA ----------------- */
.filtro-busca-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

    .filtro-busca-wrapper select,
    .filtro-busca-wrapper input {
        min-width: 180px;
        border-radius: 10px;
    }

input.form-control {
    transition: all 0.3s ease;
}

    input.form-control:focus {
        border-color: #81d4b7;
        box-shadow: 0 0 8px #81d4b7;
    }

/* ----------------- AUTOCOMPLETE ----------------- */
.autocomplete-suggestions {
    position: absolute;
    background: #fff;
    border: 1px solid #81d4b7;
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.autocomplete-suggestion {
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

    .autocomplete-suggestion:hover {
        background: #81d4b7;
        color: #fff;
    }

/* ----------------- ANIMAÇÃO ----------------- */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----------------- CARRINHO ----------------- */
#carrinhoLista div {
    background-color: #f0fdf4;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

    #carrinhoLista div:hover {
        background-color: #d4f1e0;
    }

#carrinhoTotal {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2f5d3c;
}
.modal-content {
    border-radius: 15px;
    padding: 1rem;
    background-color: #d4f1e0; /* nova cor de fundo */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
