/**
 * ROUGE VINTAGE-INDUSTRIAL URBAN LOUNGE — FOOTER STYLES (REDESIGNED)
 * Main Color: #770b24 (Royal Velvet Rouge) | Accent: Antique Gold (#D4AF37)
 * Mobile-First Responsive
 */

.rg-footer {
    background: #0d0a0c;
    border-top: 1px solid var(--rg-primary-border);
    padding: 44px 0 calc(var(--rg-dock-h) + 24px);
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

@media (min-width: 840px) {
    .rg-footer {
        padding: 60px 0 50px;
    }
}

/* Background Architectural Sketch Watermark using Coffee & Compliments Mural */
.rg-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../../images/decor/coffee-compliments-mural.jpg');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.08;
    pointer-events: none;
    filter: sepia(40%) contrast(120%);
}

.rg-footer__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
}

@media (min-width: 640px) {
    .rg-footer__inner {
        gap: 28px;
    }
}

.rg-footer__emblem-wrap {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--rg-gold) 0%, var(--rg-primary) 50%, var(--rg-gold-dark) 100%);
    box-shadow: 0 0 20px var(--rg-primary-glow), 0 0 14px var(--rg-gold-glow);
    display: inline-block;
    transition: transform 0.4s ease;
}

@media (min-width: 640px) {
    .rg-footer__emblem-wrap {
        width: 80px;
        height: 80px;
    }
}

.rg-footer__emblem-wrap:hover {
    transform: scale(1.06);
}

.rg-footer__crest {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.rg-footer__title {
    font-family: var(--rg-font-display);
    font-size: clamp(1.3rem, 3.5vw, 1.55rem);
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--rg-parchment);
    margin: 6px 0 2px;
}

.rg-footer__tagline {
    font-size: clamp(0.82rem, 2vw, 0.94rem);
    color: var(--rg-parchment-muted);
    max-width: 580px;
    margin: 0;
    line-height: 1.7;
}

.rg-divider-wrap {
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
    padding: 0 16px;
}

.rg-divider-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 8px var(--rg-primary-glow-soft));
}

/* Footer Grid & Contact */
.rg-footer__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 800px;
    padding: 10px 0;
}

.rg-footer__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.82rem, 2vw, 0.92rem);
    color: var(--rg-parchment-soft);
    background: rgba(28, 18, 24, 0.75);
    border: 1px solid var(--rg-primary-border);
    padding: 8px 16px;
    border-radius: var(--rg-radius-pill);
    backdrop-filter: blur(8px);
    transition: all var(--rg-trans-fast);
}

.rg-footer__item:hover {
    border-color: var(--rg-gold-border);
    box-shadow: 0 0 14px var(--rg-primary-glow-soft);
}

.rg-footer__item-icon {
    color: var(--rg-gold);
    font-size: 0.95rem;
}

.rg-footer__item a {
    color: var(--rg-parchment);
    text-decoration: none;
    transition: color var(--rg-trans-fast);
}

.rg-footer__item a:hover {
    color: var(--rg-gold-warm);
}

/* Socials */
.rg-footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rg-footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(28, 18, 24, 0.85);
    border: 1px solid var(--rg-primary-border);
    color: var(--rg-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    touch-action: manipulation;
    transition: all var(--rg-trans-smooth);
}

.rg-footer__social-link:hover,
.rg-footer__social-link:active {
    background: linear-gradient(135deg, #9c1333 0%, #770b24 100%);
    border-color: var(--rg-gold);
    color: #FAF7F2;
    box-shadow: 0 0 20px rgba(119, 11, 36, 0.7);
    transform: translateY(-2px);
}

/* Copyright & Submark */
.rg-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.76rem;
    color: var(--rg-parchment-dim);
    border-top: 1px solid rgba(119, 11, 36, 0.25);
    padding-top: 16px;
    width: 100%;
}
