/* Importação das fontes */
@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=PT+Serif:wght@400;700&display=swap');

/* Global Styles */
:root {
    font-size: 16px;
}

html {
    overflow-x: hidden;
}

body {
    background: #121212;
    color: #f0f0f0;
    position: relative;
    min-height: 100vh;
    letter-spacing: 0.05rem;
    word-wrap: break-word;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/fundo-hero.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    z-index: 3;
    max-width: 90%;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .hero-content {
        max-width: 62%;
        padding: 2rem;
    }
}

/* Font Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Dela Gothic One', sans-serif;
    color: #f0f0f0;
    letter-spacing: 0.15rem;
}

p, .lead, .texto-preview, .texto-completo {
    font-family: 'PT Serif', serif;
    color: #f0f0f0;
    line-height: 1.6;
}

.hero-content h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: bold;
}

.hero-content p {
    line-height: 1.8rem;
}

.titulo {
    font-weight: bold;
}

/* Estilo do botão Ver Textos */
.btn.btn-outline-light {
    border: 2px solid #eaeaea; 
    color: #eaeaea; 
    padding: 1.25rem 2.2rem;
    letter-spacing: 0.2rem; 
    font-size: 0.8rem;
    background-color: transparent;
    border-radius: 0;
    font-family: 'Dela Gothic One', sans-serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 245px;
}

/* Efeito ao passar o mouse */
.btn.btn-outline-light:hover {
    color: #f0f0f0;
    background-color: rgba(240, 240, 240, 0.05);
    border-color: #f0f0f0;
    transform: none;
    box-shadow: none;
}

/* === Estilo dos Cards === */
.card-abismo {
    background: rgba(27, 31, 35, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.card-abismo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-abismo:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-body {
    padding: 2rem;
    background: rgba(27, 31, 35, 0.5);
}

.card-subtitle {
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 0.75rem;
    color: #eaeaea;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 0.5rem;
}

.card-title {
    font-family: 'Dela Gothic One', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
}

.card-text {
    font-family: 'PT Serif', serif;
    color: #d0d0d0;
    line-height: 1.6;
    margin-top: 1rem;
}

/* --- Footer --- */
.footer {
    background: transparent;
    color: #d0d0d0;
}

.footer-motto {
    font-family: 'PT Serif', serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #d0d0d0;
    margin-bottom: 0.5rem;
}

.footer-text {
    font-family: 'PT Serif', serif;
    font-size: 0.9rem;
}

.footer-link {
    color: #b85c39;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Ícones sociais */
.social-icons a {
    color: #b85c39;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* --- Animação e navegação --- */
.card-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.card-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.d-none {
    display: none !important;
}

/* Estilo para os botões de navegação */
#prevBtn, #nextBtn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-family: 'Dela Gothic One', sans-serif;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

#prevBtn:hover, #nextBtn:hover {
    color: #f0f0f0;
    background-color: rgba(240, 240, 240, 0.05);
    border-color: #f0f0f0;
}

#prevBtn[disabled], #nextBtn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Centraliza os botões em telas menores */
@media (max-width: 575.98px) {
    .d-flex.flex-column {
        align-items: center;
    }
    
    #prevBtn, #nextBtn {
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}