:root {
    --accent-color: #8b0000;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --primary-color: #1a4b7a;
    --secondary-color: #d4af37; /* Dourado */
}

/* Base Styles */
body {
    background-color: #fff;
    background-position: center; /* Centraliza o foco */
    background-size: cover; /* Preenche todo o espaço */
    color: #333;
    font-family: 'Noto Serif', serif;
    line-height: 1.6;
}

/* Buttons */
.btn {
    border-radius: 4px;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0d3a63;
    border-color: #0d3a63;
}

.btn-outline-light:hover {
    color: var(--dark-color);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-img-top {
    height: 300px;
    object-fit: cover;
}

/* Category Cards */
.category-card {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 200px;
    padding: 30px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.category-card:before {
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.category-card h3,
.category-card p {
    color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.footer h2,
.footer h5 {
    color: #d4af37 !important; /* Cor clara para contraste */
}

.footer h5 {
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    position: relative;
}

.footer h5::after {
    background-color: var(--secondary-color); /* Linha decorativa dourada */
    content: '';
    height: 2px;
    left: 0;
    position: absolute;
    bottom: -8px;
    width: 40px;
}

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

.footer a:hover {
    color: var(--secondary-color); /* Dourado ao passar mouse */
}

/* Hero Section */
.hero-section {
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    min-height: 500px;
    padding: 120px 0;
}

.hero-section h1 {
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-section .lead {
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255,255,255,0.95) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 15px;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Price */
.price {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .navbar-brand img {
        height: 50px;
    }
}

/* Secondary Navigation - Correção da cor do texto */
.navbar-dark .navbar-nav .nav-link {
    color: #d0d1da !important; /* Cor clara para contraste */
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: white !important; /* Cor ao passar o mouse */
    opacity: 0.9;
}

/* Garantir que o dropdown também tenha texto claro */
.navbar-dark .navbar-nav .dropdown-menu .nav-link {
    color: #495057 !important; /* Cor escura para dropdown */
}

.navbar-dark .navbar-nav .dropdown-menu .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Melhorias adicionais para o rodapé */
.footer .fa-solid {
    color: var(--secondary-color);
    margin-right: 8px;
    text-align: center;
    width: 20px;
}

.category-card a {
    text-decoration: none !important;
}

.category-card a:hover h3 {
    color: var(--secondary-color) !important;
    transition: color 0.3s ease;
}

.religious {
    background: url('images/cards/card1.jpg') center/cover;
/*    background: url('https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1673&q=80') center/cover; */
}

.theological {
    background: url('images/cards/card2.jpg') center/cover;
/*    background: url('https://images.unsplash.com/photo-1589998059171-988d887df646?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1752&q=80') center/cover;   */
}

.prayer {
    background: url('images/cards/card3.jpg') center/cover;
/*    background: url('https://images.unsplash.com/photo-1542272201-b1ca555f8505?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1587&q=80') center/cover; */
}