/* ============================================
   CSS COMPARTIDO - Basilica Menor
   ============================================ */

/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&family=Lato:wght@400;700&display=swap');

/* CSS Variables */
:root {
    --primary: #1A237E;      /* Solemn Deep Blue */
    --gold: #C5A059;         /* Sacred Gold */
    --cream: #FDFBF7;        /* Liturgical Cream */
    --dark: #212121;
    --accent: #B71C1C;       /* Vinotinto for Devotion */
    --background: #B66125;
}

/* Reset y Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--cream);
    color: var(--dark);
    line-height: 1.6;
}

/* Accessibility Bar */
.a11y-bar {
    background: var(--dark);
    color: white;
    padding: 5px 20px;
    font-size: 0.8rem;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Header */
header {
    background: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
}

nav { display: flex; gap: 25px; align-items: center; }
nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}
nav a:hover { color: var(--gold); }

.btn-donate {
    background: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}
.btn-donate:hover { background: #8B0000; }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Footer */
footer {
    background: var(--background);
    color: white;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
}

.footer-columns {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 20px;
    text-align: left;
}

.footer-column {
    flex: 1;
    max-width: 400px;
}

.footer-column h4 {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 1rem;
}

.footer-column p,
.footer-column a {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    .footer-column {
        text-align: center;
    }
}

/* Shared Utilities */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 20px;
}
.back-link:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 768px) {
    nav { display: none; }
    nav.mobile-open { 
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .mobile-menu-btn { display: block; }
}