
:root {
    --primary: #005b96; /* Deep blue - primary church color */
    --secondary: #003d66; /* Darker blue for hover states */
    --accent: #f0f8ff; /* Very light blue for accents */
    --light: #ffffff; /* White background */
    --text: #333333; /* Dark gray for text */
    --gold: #d4af37; /* Classic gold color */
    --gold-light: #e8c874; /* Lighter gold for accents */
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(rgba(0, 91, 150, 0.8), rgba(0, 61, 102, 0.9));
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    margin-bottom: 2rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    color: var(--gold); /* Church name in gold */
}

.subtitle {
    font-style: italic;
    font-size: 1.2rem;
    opacity: 0.9;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.document-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.category-btn:hover, .category-btn.active {
    background-color: var(--secondary);
    color: var(--gold-light);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.document-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--gold);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.document-image {
    height: 180px;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.document-info {
    padding: 1.5rem;
}

.document-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.document-description {
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.document-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.download-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    font-weight: 500;
}

.download-btn:hover {
    background-color: var(--secondary);
    color: var(--gold-light);
}

footer {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 4rem;
    border-top: 3px solid var(--gold);
}

@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }
}
/* Glass-style Navbar */
.glass-navbar {
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Navbar Links */
.nav-link {
  position: relative;
  color: #f8f9fa !important;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: goldenrod;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown Animation */
.animate-dropdown {
  animation: fadeInDown 0.3s ease both;
  border-radius: 12px;
  background-color: #1f1f1f;
}

.dropdown-item {
  color: #fff;
}

.dropdown-item:hover {
  background-color: #343a40;
  color: goldenrod;
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .navbar-toggler {
    padding: 0.6rem;
  }
}
