
/* Colors */
:root {
    --earth-red: #9A3B26;       /* Vermelho terroso - cor da terra africana */
    --sunset-orange: #E46F2B;   /* Laranja do pôr-do-sol africano */
    --warm-yellow: #F0C05A;     /* Amarelo quente - cor do sol */
    --savanna-green: #5B8C3A;   /* Verde das savanas */
    --deep-brown: #4A2C12;      /* Marrom profundo - cor de madeiras e artefatos */
    --clay-beige: #D7B38C;      /* Bege de argila */
    --sky-blue: #5D8CAE;        /* Azul do céu africano */
    --dark: #1E1E1E;            /* Preto mais suave */
    --light: #F5F5DC;           /* Bege claro para fundos */
    --text-color: #333;         /* Cor principal do texto */
    --text-light: #6D6D6D;      /* Texto secundário */
}

/* Base styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    padding-top: 72px;
    background-color: var(--light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--deep-brown);
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--earth-red), var(--sunset-orange));
}

/* Navbar */
.navbar {
    transition: all 0.3s;
    padding: 0.75rem 0;
    background: linear-gradient(135deg, var(--earth-red), var(--sunset-orange)) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
    transition: transform 0.3s;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link:hover {
    color: var(--warm-yellow) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.dropdown-item {
    padding: 0.5rem 1.25rem;
    transition: all 0.2s;
    color: var(--deep-brown);
}

.dropdown-item:hover {
    background-color: rgba(154, 59, 38, 0.1);
    color: var(--earth-red);
}

/* Hero section */
.hero-banner {
    height: 90vh;
    min-height: 600px;
    background-image: url('../images/african-savanna.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(154, 59, 38, 0.7), rgba(228, 111, 43, 0.6));
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.hero-banner h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero-banner p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1.2rem;
}

/* Buttons */
.btn-orange {
    background-color: var(--sunset-orange);
    border-color: var(--earth-red);
    color: white;
    transition: all 0.3s;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.btn-orange:hover {
    background-color: var(--earth-red);
    border-color: var(--deep-brown);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-orange {
    color: var(--earth-red);
    border-color: var(--earth-red);
    transition: all 0.3s;
    font-weight: 600;
}

.btn-outline-orange:hover {
    background-color: var(--earth-red);
    color: white;
}


 /* borda para carregar mais conto */



 /* Estilo para o botão "Carregar Mais Contos" */
        #loadMoreBtn {
            display: inline-block; /* Garante que o botão é exibido */
            opacity: 1; /* Torna completamente visível */
            visibility: visible; /* Torna visível */
            margin-top: 2rem; /* Espaçamento adequado */
        }


.btn-earth-red {
    background-color: var(--earth-red);
    border-color: var(--deep-brown); /* Adiciona cor à borda */
    border-width: 2px; /* Define a espessura da borda */
    border-style: solid; /* Define o estilo da borda */
    color: white;
    transition: all 0.3s;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.btn-earth-red:hover {
    background-color: var(--deep-brown);
    border-color: var(--earth-red); /* Muda a cor da borda no hover */
    color: orange;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
  /* borda para carregar mais conto */


/* Search bar */
.search-bar {
    margin-bottom: 30px;
    background-color: var(--clay-beige);
    border-bottom: 2px solid var(--earth-red);
}

.search-bar .form-control {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--earth-red);
}

.search-bar .btn {
    border-radius: 0 50px 50px 0;
    background-color: var(--earth-red);
    color: white;
}

/* Story cards */
.story-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    background-color: white;
    border-top: 4px solid var(--sunset-orange);
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(154, 59, 38, 0.2);
}

.story-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    border-bottom: 3px solid var(--warm-yellow);
}

.story-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.story-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--deep-brown);
}

.story-card-text {
    flex: 1;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.story-card-footer {
    background-color: transparent;
    border-top: none;
    padding-top: 0;
    padding: 0 1.5rem 1.5rem;
}

.story-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--savanna-green);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Audio stories */
.audio-features i {
    font-size: 1.5rem;
    color: var(--earth-red);
}

.list-group-item {
    border-left: none;
    border-right: none;
    padding: 1rem 1.25rem;
    transition: all 0.2s;
    border-color: rgba(154, 59, 38, 0.1);
}

.list-group-item:hover {
    background-color: rgba(154, 59, 38, 0.05);
}

.list-group-item.active {
    background-color: var(--savanna-green);
    border-color: var(--savanna-green);
    color: white;
}

/* About section */
.about-img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border: 5px solid white;
    outline: 2px solid var(--earth-red);
}

/* Contact form */
.contact-info i {
    min-width: 24px;
    color: var(--earth-red);
}

.form-control, .form-select {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--clay-beige);
}

.form-control:focus, .form-select:focus {
    border-color: var(--earth-red);
    box-shadow: 0 0 0 0.25rem rgba(154, 59, 38, 0.25);
}

/* Modal */
.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.modal-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--earth-red), var(--sunset-orange)) !important;
    color: white;
}

.modal-body {
    padding: 2rem;
    background-color: var(--light);
}

.modal-footer {
    padding: 1rem 1.5rem;
    background-color: var(--light);
}

/* Audio player */
.audio-player {
    z-index: 1000;
    border-top: 2px solid var(--earth-red);
    background-color: white;
}

.progress {
    cursor: pointer;
    background-color: var(--clay-beige);
}

.progress-bar {
    transition: width 0.1s linear;
    background-color: var(--earth-red);
}

#audioPlayPause i {
    color: var(--earth-red) !important;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--deep-brown), var(--earth-red)) !important;
    color: white;
    border-top: 5px solid var(--warm-yellow);
}

footer a {
    color: var(--clay-beige);
    transition: color 0.2s;
}

footer a:hover {
    color: var(--warm-yellow) !important;
    text-decoration: none;
}

.social-links a {
    transition: all 0.2s;
    border: 1px solid var(--clay-beige);
}

.social-links a:hover {
    background-color: var(--warm-yellow) !important;
    color: var(--deep-brown) !important;
    border-color: var(--warm-yellow);
}

/* Garante cor branca para todo o footer */
footer.bg-dark {
    color: #fff !important;
}

/* Links do footer */
footer.bg-dark a {
    color: #fff !important;
    text-decoration: none;
    transition: opacity 0.3s;
}

/* Hover dos links */
footer.bg-dark a:hover {
    opacity: 0.8;
}

/* Títulos e elementos específicos */
footer.bg-dark h5,
footer.bg-dark .text-uppercase,
footer.bg-dark .list-unstyled,
footer.bg-dark .app-download,
footer.bg-dark .social-links a {
    color: inherit !important;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-banner h1 {
        font-size: 2.5rem;
    }
    
    .hero-banner p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .hero-banner {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        height: 60vh;
        min-height: 400px;
        background-attachment: scroll;
    }
    
    .hero-banner h1 {
        font-size: 1.8rem;
    }
    
    .hero-banner .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .search-bar .input-group {
        flex-direction: column;
    }
    
    .search-bar .btn {
        border-radius: 0 0 50px 50px;
        width: 100%;
    }
    
    .search-bar input {
        border-radius: 50px 50px 0 0 !important;
    }
}

/* Utility classes */
.text-orange {
    color: var(--sunset-orange) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.bg-earth-red {
    background-color: var(--earth-red) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.rounded {
    border-radius: 8px !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

.pt-5 {
    padding-top: 3rem !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--clay-beige);
}

::-webkit-scrollbar-thumb {
    background: var(--earth-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--sunset-orange);
}

/* Additional African patterns (optional) */
.african-pattern-bg {
    background-image: url('../images/african-pattern.png');
    background-size: 300px;
    opacity: 0.05;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
