/* ===========================
   FUNDO DO SITE
=========================== */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;

    background: linear-gradient(
        135deg,
        #2b0000,
        #5a0f0f,
        #8b0000
    );

    min-height: 100vh;
}


/* ===========================
   TOPO
=========================== */

.topo {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 70px;

    background-color: #4a0000;

    display: flex;
    align-items: center;

    padding: 0 20px;

    box-shadow: 0 3px 15px rgba(0,0,0,0.35);

    z-index: 1000;
}

.topo h1 {
    color: white;

    margin-left: 15px;

    font-size: 22px;

    font-weight: bold;

    letter-spacing: 0.5px;
}


/* ===========================
   LOGOS
=========================== */

.logo-topo {
    width: 50px;
    height: 50px;

    object-fit: contain;
}

.logo-card {
    width: 65px;
    height: 65px;

    object-fit: contain;

    margin: 0 8px;
}


/* ===========================
   CONTAINER
=========================== */

.container {
    margin-top: 100px;
    margin-bottom: 30px;
}


/* ===========================
   CARDS
=========================== */

.card {
    border: none;

    border-radius: 20px;

    background: white;

    color: #5a0f0f;

    box-shadow: 0 10px 30px rgba(0,0,0,0.18);

    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}


/* ===========================
   TÍTULOS
=========================== */

h2,
h3,
h4,
h5 {
    color: #8b0000;

    font-weight: bold;
}


/* ===========================
   LABELS
=========================== */

.form-label {
    color: #5a0f0f;

    font-weight: 600;
}


/* ===========================
   INPUTS E SELECTS
=========================== */

.form-control,
.form-select {
    border: 1px solid #8b0000;

    border-radius: 12px;

    color: #5a0f0f;

    padding: 10px;
}

.form-control:focus,
.form-select:focus {

    border-color: #8b0000;

    box-shadow:
        0 0 12px rgba(139,0,0,0.25);

    outline: none;
}


/* ===========================
   BOTÕES
=========================== */

.btn {
    border-radius: 12px;

    font-weight: bold;

    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);

    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}


/* VERMELHO PRINCIPAL */

.btn-primary {
    background-color: #8b0000;

    border: none;
}

.btn-primary:hover {
    background-color: #690000;
}


/* VERDE */

.btn-success {
    background-color: #2e7d32;

    border: none;
}

.btn-success:hover {
    background-color: #256428;
}


/* CINZA */

.btn-secondary {
    background-color: #d6d6d6;

    color: black;

    border: none;
}

.btn-secondary:hover {
    background-color: #bdbdbd;

    color: black;
}


/* AMARELO */

.btn-warning {
    background-color: #f9a825;

    color: black;

    border: none;
}

.btn-warning:hover {
    background-color: #f57f17;

    color: black;
}


/* VERMELHO ALERTA */

.btn-danger {
    background-color: #c62828;

    border: none;
}

.btn-danger:hover {
    background-color: #a61f1f;
}


/* AZUL CLARO */

.btn-info {
    border: none;
}


/* ===========================
   TABELAS
=========================== */

.table {
    color: #5a0f0f;
}

.table thead {
    background-color: #8b0000;

    color: white;
}

.table thead th {
    border: none;
}

.table tbody tr {
    background-color: white;

    transition: 0.2s;
}

.table tbody tr:hover {
    background-color: #fff4f4;
}


/* ===========================
   HISTÓRICO
=========================== */

ul {
    list-style: none;

    padding: 0;
}

ul li {

    padding: 12px;

    border-bottom: 1px solid #ddd;
}


/* ===========================
   REDES SOCIAIS
=========================== */

.redes-sociais a {

    text-decoration: none;

    transition: 0.3s;
}

.redes-sociais a:hover {

    transform: scale(1.25);
}


/* ===========================
   CARROSSEL
=========================== */

.carousel img {

    border-radius: 15px;

    object-fit: cover;

    max-height: 350px;
}


/* ===========================
   IMAGENS DOS CARDS
=========================== */

.card-img-top {

    height: 220px;

    object-fit: cover;

    border-top-left-radius: 20px;

    border-top-right-radius: 20px;
}


/* ===========================
   RODAPÉ
=========================== */

footer {

    color: white;

    text-align: center;

    margin-top: 30px;

    margin-bottom: 20px;

    font-size: 14px;
}


/* ===========================
   RESPONSIVIDADE
=========================== */

@media (max-width: 768px) {

    .topo h1 {

        font-size: 16px;
    }

    .logo-topo {

        width: 40px;
        height: 40px;
    }

    .logo-card {

        width: 50px;
        height: 50px;
    }

    .card {

        border-radius: 15px;
    }

    .carousel img {

        max-height: 220px;
    }
}