/* Landing Page Styles for Reliquary */
/* Extracted from reliquary-landing.html */

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-gold: #f59e0b;
    --light-gold: #fef3c7;
    --sacred-white: #fefefe;
    --warm-gray: #6b7280;
    --success-green: #059669;
    --warning-amber: #d97706;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', serif;
    color: var(--warm-gray);
    background: linear-gradient(180deg, #0a0e27 0%, var(--primary-blue) 50%, #0a0e27 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Stained Glass Background Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at top right, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(30, 58, 138, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Navigation */
nav#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

nav#navbar.scrolled {
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo::before {
    content: '';
    width: 42px;
    height: 42px;
    background-image: url("../images/relic-9MR3wTo.png");
    filter: sepia(100%) saturate(300%) brightness(95%) hue-rotate(345deg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--sacred-white);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.user-avatar-mini {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--accent-gold);
    margin-right: 8px;
}

/* Dropdown */
.dropdown-container {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(30, 58, 138, 0.98);
    backdrop-filter: blur(10px);
    min-width: 200px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.dropdown-container:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content li a {
    display: flex;
    align-items: center;
    padding: 0.7rem 1.5rem;
    color: var(--sacred-white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.dropdown-content li a:hover {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-gold);
}

.dropdown-content li a i {
    width: 20px;
}

.dropdown-divider {
    height: 1px;
    background: rgba(245, 158, 11, 0.2);
    margin: 0.5rem 0;
}

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

.hero-content {
    text-align: center;
    color: var(--sacred-white);
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1.5s ease;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, var(--sacred-white), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--light-gold);
    letter-spacing: 2px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: 3rem;
    color: rgba(254, 254, 254, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #d97706);
    color: var(--sacred-white);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--sacred-white);
    border: 2px solid var(--light-gold);
}

.btn-secondary:hover {
    background: rgba(254, 243, 199, 0.1);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator::before {
    content: '⬇';
    color: var(--light-gold);
    font-size: 1.5rem;
    opacity: 0.6;
}

/* Relic Classes Section */
.relic-classes {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.95), rgba(30, 58, 138, 0.95));
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    text-align: center;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--sacred-white);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    font-weight: 300;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.relic-card {
    background: rgba(254, 254, 254, 0.03);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.relic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.relic-card:hover::before {
    opacity: 1;
}

.relic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-gold);
}

.relic-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    display: block;
}

.relic-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--sacred-white);
    margin-bottom: 1rem;
}

.relic-description {
    color: rgba(254, 254, 254, 0.7);
    line-height: 1.6;
}

/* Featured Saints Section */
.featured-saints {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.95), rgba(10, 14, 39, 0.95));
    position: relative;
    z-index: 2;
}

.saints-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    max-width: 1400px;
    margin: 0 auto;
    scroll-behavior: smooth;
}

.saint-card {
    min-width: 350px;
    background: rgba(254, 254, 254, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.saint-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.saint-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    position: relative;
    overflow: hidden;
}

.saint-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.saint-info {
    padding: 1.5rem;
}

.saint-name {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.saint-dates {
    color: rgba(254, 254, 254, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.saint-bio {
    color: rgba(254, 254, 254, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Call to Action Section */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(30, 58, 138, 0.2));
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--sacred-white);
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(254, 254, 254, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Footer */
footer {
    background: rgba(10, 14, 39, 0.98);
    padding: 3rem 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(245, 158, 11, 0.2);
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(254, 254, 254, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* Empty State Styles */
.no-relics-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 3rem;
    background: rgba(254, 254, 254, 0.03);
    border-radius: 30px;
    border: 1px dashed rgba(245, 158, 11, 0.3);
    margin: 2rem 0;
}

.no-relics-content {
    text-align: center;
    max-width: 500px;
}

.no-relics-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.no-relics-icon img {
    width: 80px;
    height: 80px;
    filter: sepia(100%) saturate(300%) brightness(95%) hue-rotate(345deg) opacity(0.6);
}

.no-relics-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.no-relics-text {
    font-size: 1.1rem;
    color: rgba(254, 254, 254, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.no-relics-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-divider {
    width: 100px;
    height: 1px;
    background: var(--accent-gold);
    margin: 2rem auto;
    opacity: 0.5;
}

.footer-text {
    color: rgba(254, 254, 254, 0.5);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.8), transparent);
    border-radius: 50%;
    animation: float 30s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
        transform: translateY(90vh) translateX(20px) scale(1);
    }
    50% {
        transform: translateY(-50vh) translateX(100px) scale(1);
        opacity: 0.6;
    }
    90% {
        opacity: 0.8;
        transform: translateY(-90vh) translateX(180px) scale(1);
    }
    100% {
        transform: translateY(-100vh) translateX(200px) scale(0.8);
        opacity: 0;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--sacred-white);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile menu toggle animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        border-left: 2px solid rgba(245, 158, 11, 0.3);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        gap: 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        margin: 0.5rem 0;
    }

    .dropdown-content {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(245, 158, 11, 0.05);
        border: none;
        box-shadow: none;
        min-width: 100%;
        margin-top: 0;
    }

    .dropdown-container:hover .dropdown-content {
        transform: none;
    }

    .dropdown-content li a {
        padding: 0.8rem 1rem 0.8rem 2.5rem;
        border: none;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        border: 1px solid transparent;
    }
    
    .nav-links a:hover {
        background: rgba(245, 158, 11, 0.1);
        border-color: rgba(245, 158, 11, 0.3);
        transform: translateX(5px);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    /* Mobile overlay */
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: -280px;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }
    
    .nav-links.active::before {
        left: -100vw;
        opacity: 1;
        visibility: visible;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 450px) {
    .logo {
        text-indent: -9999px;
        position: relative;
    }
    nav {
        border: none;
        background: none;
        backdrop-filter: none;
    }
}

.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info h3 {
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-size: 1.8em;
    margin-bottom: 30px;
    text-align: center;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    display: block;
    color: #d4af37;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.github-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

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

.contact-form-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form-section h3 {
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-size: 1.8em;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #d4af37;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form option {
    background: #1a1a2e;
    color: #ffffff;
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    margin-top: 20px;
}

/* Image Management for Relic Forms */
.current-images-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.current-image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.current-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
}

.image-remove-button {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
}

.image-remove-button .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.9);
    border: none;
    color: white;
    font-size: 14px;
}

.image-remove-button .btn:hover {
    background: rgba(220, 53, 69, 1);
}

/* Form Help Text */
.form-help-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    margin-top: 4px;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Form Error Messages */
.form-error-message {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Single Column Layout for Forms */
.contact-content-single {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 50px auto 0;
}

/* Form Message Styles */
.form-error-message {
    background: rgba(220, 53, 69, 0.2);
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    color: #dc3545;
}

.form-user-info {
    margin-bottom: 20px;
    color: #d4af37;
}

.form-actions-center {
    text-align: center;
    margin-top: 30px;
}

.form-actions-center p {
    margin-bottom: 10px;
}

/* Password Toggle Styling */
.password-toggle-wrapper {
    position: relative;
}

.password-toggle-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #d4af37;
    cursor: pointer;
    font-size: 16px;
}

/* Checkbox Label Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Gold Link Styling */
.gold-link {
    color: #d4af37;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info,
    .contact-form-section {
        padding: 30px 20px;
    }
}


.list {
    padding: 5rem 2rem;
    position: relative;
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.95), rgba(10, 14, 39, 0.95));
    z-index: 2;
}

.filter-section {
    max-width: 1400px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

.filter-controls {
    background: rgba(254, 254, 254, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.filter-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-form .input-group {
    flex: 1;
    min-width: 300px;
}

.filter-form .input-group-text {
    background: rgba(30, 58, 138, 0.8);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--sacred-white);
    font-size: 0.9rem;
}

.filter-form .form-select {
    background: rgba(254, 254, 254, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--sacred-white);
    font-size: 0.9rem;
}

.filter-form .form-select option {
    background: var(--primary-blue);
    color: var(--sacred-white);
}

.filter-form .btn-outline-secondary {
    border-color: rgba(245, 158, 11, 0.5);
    color: var(--accent-gold);
    background: transparent;
}

.filter-form .btn-outline-secondary:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

/* Relic-specific details in saint cards */
.relic-details {
    margin-top: 0.5rem;
}

.relic-address,
.relic-location {
    color: rgba(254, 254, 254, 0.7);
    font-size: 0.85rem;
    margin: 0.3rem 0;
    line-height: 1.4;
}

.relic-address {
    font-style: italic;
}

.relic-location {
    font-weight: 500;
    color: rgba(245, 158, 11, 0.8);
}

/* Pagination styling */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem auto 2rem;
    max-width: 1400px;
    padding: 0 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Reliquary themed pagination (buttons-based) */
.relic-pagination {
    background: linear-gradient(180deg, rgba(254, 254, 254, 0.06), rgba(254, 254, 254, 0.03));
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(254, 254, 254, 0.06);
}

.relic-pagination .btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(245, 158, 11, 0.4);
    background-color: rgba(254, 254, 254, 0.06);
    color: var(--sacred-white);
}

.relic-pagination .btn-icon:hover:not(.disabled) {
    background-color: rgba(245, 158, 11, 0.15);
    border-color: var(--accent-gold);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.25);
    transform: translateY(-1px);
}

.relic-pagination .btn-icon:active:not(.disabled) {
    transform: translateY(0);
    background-color: rgba(245, 158, 11, 0.22);
}

.relic-pagination .btn-icon.disabled {
    cursor: not-allowed;
    opacity: 0.4;
    border-color: rgba(254, 254, 254, 0.15);
}

.relic-pagination .page-status {
    font-size: 0.95rem;
    color: rgba(254, 254, 254, 0.85);
}

.pagination-info {
    color: rgba(254, 254, 254, 0.7);
    font-size: 0.9rem;
}

.navigation .pagination {
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navigation .pagination .page-link {
    background: rgba(254, 254, 254, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--sacred-white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navigation .pagination .page-link:hover,
.navigation .pagination .page-item.active .page-link {
    background: var(--accent-gold);
    color: var(--primary-blue);
    border-color: var(--accent-gold);
}

.navigation .pagination .page-item.disabled .page-link {
    background: rgba(254, 254, 254, 0.05);
    color: rgba(254, 254, 254, 0.3);
    border-color: rgba(254, 254, 254, 0.1);
}

/* Filter Header Styling */
.filter-header {
    max-width: 1400px;
    margin: 0 auto 1rem;
    padding: 0 2rem;
}

.filter-header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.filter-header .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-header .btn-secondary {
    background: rgba(254, 254, 254, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.5);
    color: var(--accent-gold);
}

.filter-header .btn-secondary:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.filter-header .btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #d97706);
    border: 2px solid transparent;
    color: var(--sacred-white);
}

.filter-header .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

/* Responsive adjustments for relic index */
@media (max-width: 768px) {
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-form .input-group {
        min-width: auto;
    }
    
    .pagination-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .saints-carousel {
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .saint-card {
        min-width: 280px;
    }
    
    .filter-header-content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .filter-header .btn {
        width: 100%;
        max-width: 250px;
    }
}
.filter-bar {
    background: rgba(254, 254, 254, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 200px;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 25px;
    background: rgba(254, 254, 254, 0.1);
    color: var(--sacred-white);
    font-size: 0.95rem;
}

.search-box input::placeholder {
    color: rgba(254, 254, 254, 0.5);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e3a8a;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    margin-top: 5px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.autocomplete-result-item {
    padding: 0.75rem 1rem;
    color: var(--sacred-white);
    cursor: pointer;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(254, 254, 254, 0.05);
}

.autocomplete-result-item:last-child {
    border-bottom: none;
}

.autocomplete-result-item:hover {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-gold);
}

.search-clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(254, 254, 254, 0.6);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
    text-decoration: none;
    font-size: 1.2rem;
    z-index: 10;
}

.search-clear-btn:hover {
    color: var(--accent-gold);
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 25px;
    background: rgba(254, 254, 254, 0.1);
    color: var(--sacred-white);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
}


/* Relics grid layout */
.relics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.relics-grid .saint-card {
    min-width: 0; /* allow cards to shrink within grid cells */
}



/* Saint of the Day integrated card styles */
.saint-card.saint-of-day {
    border: 2px solid var(--accent-gold);
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.18);
    position: relative;
}

.saint-card.saint-of-day .saint-image {
    position: relative; /* ensure label positions correctly */
}

.sod-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.95), rgba(245, 158, 11, 0.75));
    color: #0a0e27;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    z-index: 1;
}
