/* ========== VARIÁVEIS DE CORES ========== */
:root {
    --bege: #c6b8a6;
    --vinho: #6b2c2c;
    --preto: #120a0c;
    --cinza: #5b5758;
    --branco: #ffffff;
}

/* ========== BODY ========== */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--bege);
    color: var(--preto);
    padding-top: 0px;
}

/* ========== NAVBAR ========== */
.navbar {
    background-color: var(--bege);
    border-bottom: 1px solid var(--bege);
}

.navbar-brand {
    font-weight: bold;
    letter-spacing: 2px;
    color: red !important;
}

.navbar-brand:hover {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.navbar-nav .nav-link,
.navbar-nav .nav-item a {
    color: var(--preto) !important;
    margin: 0 10px;
    font-weight: 500;
    text-decoration: none;
}

.navbar-nav .nav-item a:hover,
.navbar-nav .nav-link:hover {
    color: var(--vinho) !important;
}

/* ========== BOTÕES PADRONIZADOS (MESMO ESTILO) ========== */
.btn-ver-obras,
.btn-primary,
.btn-contacto {
    display: inline-block;
    background-color: var(--vinho); /* cor vinho do site */
    color: var(--bege); /* texto bege */
    font-weight: 600;
    padding: 10px 20px; /* menor para btn-primary e btn-contacto */
    font-size: 0.95rem;
    border-radius: 8px; /* borda padrão */
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* sombra inicial */
    transition: box-shadow 0.3s, transform 0.2s, background-color 0.3s;
    margin: 5px;
}

.btn-ver-obras {
    padding: 12px 25px; /* botão maior para obras */
    font-size: 1rem;
}

.btn-ver-obras:hover,
.btn-primary:hover,
.btn-contacto:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.3); /* sombra mais chamativa */
    transform: translateY(-3px); /* efeito de leve “levantar” */
    background-color: #8b1e1e; /* vinho mais claro ao passar mouse */
    color: var(--bege); /* mantém o texto bege */
}

/* ========== HERO ========== */
.hero-section {
    position: relative;
    height: 80vh;
}

.hero-carousel img {
    height: 80vh;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--branco);
    text-align: center;
}

/* ========== QUEM SOMOS ========== */
#quem-somos {
    background-color: var(--bege);
    padding: 80px 20px;
    text-align: center;
}

#quem-somos .destaque {
    color: var(--vinho);
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

#quem-somos .descricao {
    color: var(--preto);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-transform: none;
}

/* ========== OBRAS ========== */
#obras {
    padding: 80px 0;
    background-color: var(--bege);
}

#obras .intro-obras {
    text-align: center;
    margin-bottom: 40px;
}

#obras .intro-obras h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--vinho);
}

#obras .intro-obras p {
    font-size: 1.2rem;
    color: var(--preto);
}

/* Galeria */
.galeria-obras {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.obra-item {
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 200px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.obra-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    border-radius: 12px;
}

.obra-item:hover img {
    transform: scale(1.1);
}

.obra-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(107, 44, 44, 0.8);
    color: var(--bege);
    padding: 10px;
    text-align: center;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

.obra-item:hover .overlay {
    opacity: 1;
}

/* Botão central obras */
.btn-obras {
    text-align: center;
    margin-top: 40px;
}

/* ========== RODAPÉ ========== */
.footer {
    background-color: var(--vinho);
    color: var(--bege);
    padding: 40px 20px;
    text-align: center;
    font-size: 1rem;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
}

.footer p {
    margin: 0 0 15px 0;
    font-weight: 500;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--bege);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s, transform 0.2s;
}

.footer-links a:hover {
    color: #ffbfa5;
    transform: translateY(-2px);
}
