/* =========================
   RESET BÁSICO
========================= */
body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}

/* =========================
   NAVBAR
========================= */
.navbar-brand {
    font-size: 1.4rem;
}

.navbar .btn {
    border-radius: 20px;
    padding: 6px 14px;
}


/* =========================
   CTA
========================= */
section.bg-dark {
    background: linear-gradient(135deg, #111, #000);
}

section.bg-dark h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
}

/* =========================
   FOOTER
========================= */
footer {
    font-size: .9rem;
}

/* TITULOS */
h1,
h2,
h3 {
    margin-bottom: 10px;
}

/* LINKS */
a {
    color: #0a58ca;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* FORMULÁRIOS */
form {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    max-width: 500px;
    margin-bottom: 20px;
}

label {
    font-weight: bold;
}

input,
select,
button,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* =========================
   BOTÕES - PADRÃO GLOBAL
========================= */
.btn {
    border-radius: 25px;
    font-weight: 600;
}

/* SUCCESS */
.btn-success {
    background: #198754;
    color: #fff;
}

.btn-success:hover {
    background: #157347;
}

/* SECONDARY */
.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background: #5c636a;
}

/* OUTLINE */
.btn-outline-success {
    border-radius: 25px;
}

/* TABELAS */
table {
    background: #fff;
    border-collapse: collapse;
    width: 100%;
}

table th,
table td {
    padding: 10px;
    border: 1px solid #ddd;
}

table th {
    background: #f1f1f1;
}

/* LISTAS */
ul {
    list-style: none;
}

ul li {
    padding: 8px 0;
}

/* MENSAGENS */
.success {
    color: #198754;
    font-weight: bold;
}

.error {
    color: #dc3545;
    font-weight: bold;
}

/* HORÁRIOS */
.slot {
    padding: 8px 12px;
    margin: 5px;
    border: 1px solid #198754;
    background: #fff;
    cursor: pointer;
}

.slot:hover {
    background: #198754;
    color: #fff;
}

/* MENU SIMPLES */
.menu {
    background: #fff;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.menu a {
    margin-right: 15px;
    font-weight: bold;
}

.card {
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    border: none;
}

.navbar-brand {
    font-weight: bold;
}

.fc {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}

/* ===== FULLCALENDAR FIX ALTURA ===== */

#calendar {
    min-height: 650px;
}

/* ===== PADRONIZA ALTURA DOS HORÁRIOS ===== */
/* ===== HORÁRIOS UNIFORMES ===== */
.fc .fc-timegrid-slot {
    height: 56px !important;
}

.fc-timegrid-event {
    border-radius: 10px;
    padding: 6px;
    font-weight: 500;
}

.fc .fc-timegrid-axis {
    font-size: 14px;
    font-weight: 600;
}

.fc .fc-timegrid-slot-label {
    font-size: 13px;
    font-weight: 600;
}

.fc-event {
    padding: 6px 8px;
    font-size: 13px;
    border-radius: 8px;
}



/* SweetAlert com cara de app */
.swal2-popup {
    border-radius: 16px !important;
}

.swal2-actions {
    gap: 12px;
}

.swal2-confirm.btn-confirm {
    background-color: #198754 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 10px 22px !important;
    font-weight: 600;
}

.swal2-cancel.btn-cancel {
    background-color: transparent !important;
    color: #6c757d !important;
    border: 1px solid #ced4da !important;
    border-radius: 8px !important;
    padding: 10px 22px !important;
}

.swal2-confirm.btn-confirm {
    background-color: #dc3545 !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 10px 22px;
    font-weight: 600;
}

.swal2-cancel.btn-cancel {
    background-color: transparent !important;
    color: #6c757d !important;
    border: 1px solid #ced4da !important;
    border-radius: 8px;
    padding: 10px 22px;
}


/* =========================
   DESKTOP: ESPAÇO ENTRE HERO E CARDS
========================= */
@media (min-width: 769px) {

    .lista-barbeiros {
        padding-top: 40px;
        /* ajuste fino aqui */
        padding-bottom: 40px;
    }

}

/* =========================
   HERO MARKETPLACE FINAL
========================= */
.hero-marketplace {
    background: radial-gradient(circle at top, #1f2933, #000);
    padding: 140px 20px 110px;
    margin-top: 56px;
}

.hero-marketplace h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.hero-marketplace p {
    color: #dcdcdc;
}

.badge-hero {
    background: rgba(25, 135, 84, .18);
    color: #7CFFB2;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: .85rem;
}

/* =========================
   BUSCA FINAL
========================= */
.search-box-marketplace {
    background: #fff;
    padding: 28px;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
    max-width: 1100px;
    margin: 0 auto;
}

.search-box-marketplace input,
.search-box-marketplace select {
    border-radius: 14px;
    border: none;
    background: #f8f9fa;
}

.search-box-marketplace input:focus,
.search-box-marketplace select:focus {
    background: #fff;
    box-shadow: none;
}

/* =========================
   CARDS FINAL
========================= */
.card-marketplace {
    border: none;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.card-marketplace:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
}

.icon-marketplace {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #198754, #0f5132);
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* =========================
   MOBILE FINAL
========================= */
@media (max-width: 768px) {

    .hero-marketplace {
        min-height: calc(100vh - 70px);
        padding: 90px 12px 30px;
        display: flex;
        align-items: center;
    }

    .search-box-marketplace {
        padding: 18px;
        border-radius: 18px;
    }

    .lista-barbeiros {
        padding: 10px 6px;
    }

    .row {
        --bs-gutter-x: 6px;
        --bs-gutter-y: 10px;
    }

    .card-marketplace {
        border-radius: 14px;
    }
    
}


.hero-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    transition: background-image 1.2s ease-in-out;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, .65),
            rgba(0, 0, 0, .75));
    z-index: 1;
}

.hero-marketplace .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-bg {
        background-image: url('/assets/img/hero/barbearia1.jpg') !important;
    }
}