/* ============================================
   Premium Footer — Fr. V. M. Thomas Vattathara
   ============================================ */

/* --- Base Footer --- */
.premium-site-footer {
    position: relative;
    background: linear-gradient(160deg, #160c03 0%, #1e1005 50%, #2a1608 100%);
    color: #F5ECD7;
    padding: 72px 0 0;
    overflow: hidden;
    border-top: 1px solid rgba(200, 150, 62, 0.18);
    font-family: 'Inter', sans-serif;
}

/* Ambient glow */
.premium-site-footer::before {
    content: '';
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 300px;
    background: radial-gradient(ellipse, rgba(200,150,62,0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.relative-z {
    position: relative;
    z-index: 1;
}

/* --- Main Grid --- */
.footer-premium-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 48px;
}

/* --- Brand Column --- */
.footer-brand-col {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.footer-logo-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: #F5ECD7;
    margin-bottom: 18px;
    text-decoration: none;
    line-height: 1.3;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
    justify-content: center;
}
.footer-logo-premium:hover { color: #C8963E; }

.logo-icon-gold {
    color: #C8963E;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.footer-tagline-premium {
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    color: rgba(245, 236, 215, 0.58);
    line-height: 1.85;
    margin-bottom: 28px;
    max-width: 380px;
    text-align: center;
}

/* Social Links */
.social-links-premium {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-link-premium {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(200,150,62,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C8963E;
    transition: all 0.28s ease;
    text-decoration: none;
}
.social-link-premium:hover {
    background: #C8963E;
    color: #160c03;
    border-color: #C8963E;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(200,150,62,0.28);
}

/* --- Link Columns --- */
.footer-links-col {}

.footer-heading-premium {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #C8963E;
    margin: 0 0 20px;
}

.footer-links-premium {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.footer-links-premium li { margin-bottom: 12px; }
.footer-links-premium a {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(245, 236, 215, 0.65);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, gap 0.2s ease;
}
.footer-links-premium a::before {
    content: '›';
    font-size: 1rem;
    color: #C8963E;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.footer-links-premium a:hover {
    color: #F5ECD7;
    gap: 10px;
}
.footer-links-premium a:hover::before { opacity: 1; }

/* Quote block in footer */
.footer-quote-block {
    border-left: 2px solid rgba(200,150,62,0.35);
    padding: 10px 0 10px 16px;
    margin-top: 8px;
}
.footer-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: rgba(200,150,62,0.3);
    line-height: 0;
    vertical-align: -0.5rem;
    display: block;
    margin-bottom: 6px;
}
.footer-quote-block p {
    font-family: 'Lora', serif;
    font-size: 0.83rem;
    font-style: italic;
    color: rgba(245,236,215,0.45);
    line-height: 1.7;
    margin: 0;
}

/* --- Divider --- */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,150,62,0.3) 30%, rgba(200,150,62,0.5) 50%, rgba(200,150,62,0.3) 70%, transparent);
    margin-bottom: 40px;
}

/* --- Bottom Section --- */
.footer-bottom-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding-bottom: 36px;
}

/* Credits card — full (contact page) */
.footer-credits {
    background: rgba(200,150,62,0.05);
    border: 1px solid rgba(200,150,62,0.2);
    border-radius: 14px;
    padding: 28px 40px;
    max-width: 800px;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.footer-credits::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, #C8963E 40%, #e8c070 60%, transparent);
}

/* Credits compact (non-contact pages) */
.footer-credits-compact {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 32px;
    border-radius: 50px;
    max-width: fit-content;
    background: rgba(200,150,62,0.06);
    border: 1px solid rgba(200,150,62,0.18);
    color: inherit;
    cursor: pointer;
    font: inherit;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.footer-credits-compact::before { display: none; }
.footer-credits-compact:hover,
.footer-credits-compact:focus-visible {
    background: rgba(200,150,62,0.1);
    border-color: rgba(200,150,62,0.34);
    transform: translateY(-1px);
}
.footer-credits-compact:focus-visible {
    outline: 2px solid rgba(200,150,62,0.55);
    outline-offset: 4px;
}

.footer-credits-reveal {
    max-width: 1040px;
    margin-top: 2px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.footer-credits-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.footer-credits-reveal[hidden] {
    display: none;
}

.credits-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: #C8963E;
    white-space: nowrap;
}

.credits-main-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #F5ECD7;
    letter-spacing: 0.3px;
}

.credits-batch {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(200,150,62,0.75);
    white-space: nowrap;
}

/* Compact dividers between inline items */
.footer-credits-compact .credits-title::after,
.footer-credits-compact .credits-main-name::after {
    content: '·';
    margin-left: 14px;
    color: rgba(200,150,62,0.35);
}

/* Credits full layout */
.credits-guidance {
    font-family: 'Lora', serif;
    font-size: 0.82rem;
    font-style: italic;
    color: rgba(245,236,215,0.5);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.credits-guidance::before,
.credits-guidance::after {
    content: '';
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: rgba(200,150,62,0.25);
}

.credits-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.credits-names span,
.credits-names a {
    padding: 5px 15px;
    border-radius: 30px;
    background: rgba(200,150,62,0.07);
    border: 1px solid rgba(200,150,62,0.2);
    color: rgba(245,236,215,0.85);
    font-family: 'Inter', sans-serif;
    font-size: 0.83rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}
.credits-names span:hover,
.credits-names a:hover {
    background: rgba(200,150,62,0.15);
    border-color: rgba(200,150,62,0.4);
    color: #f5ecd7;
    transform: translateY(-1px);
}

/* Copyright */
.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(245, 236, 215, 0.35);
    letter-spacing: 0.3px;
}

.footer-admin-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(200,150,62,0.24);
    background: rgba(200,150,62,0.07);
    color: rgba(245,236,215,0.7);
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.footer-admin-login:hover,
.footer-admin-login:focus-visible {
    background: rgba(200,150,62,0.14);
    border-color: rgba(200,150,62,0.48);
    color: #F5ECD7;
    transform: translateY(-1px);
}

.footer-admin-login:focus-visible {
    outline: 2px solid rgba(200,150,62,0.55);
    outline-offset: 4px;
}

/* --- Responsive --- */
@media (max-width: 960px) {
    .footer-premium-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .footer-brand-col {
        grid-column: 1;
        padding-right: 0;
    }
    .footer-tagline-premium { max-width: 100%; }
}

@media (max-width: 600px) {
    .premium-site-footer { padding-top: 48px; }
    .footer-premium-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 36px;
    }
    .footer-credits { padding: 22px 18px; }
    .footer-credits-compact {
        flex-direction: column;
        gap: 6px;
        border-radius: 14px;
        padding: 16px 24px;
    }
    .footer-credits-compact .credits-title::after,
    .footer-credits-compact .credits-main-name::after { display: none; }
}
