/* ╔══════════════════════════════════════════════════╗
   ║   JMD JEWELLERS — GOLDEN FOOTER DESIGN          ║
   ╚══════════════════════════════════════════════════╝ */

/* Uses design tokens from jmd-header.css (:root variables) */

/* ─── HIDE DEFAULT FOOTER ─── */
.site-footer.site-footer {
    display: none !important;
}

/* ═══════════════════════════════════════════
   FOOTER CONTAINER
   ═══════════════════════════════════════════ */
.jmd-footer {
    display: block !important;
    background: var(--jmd-bg-dark, #1a1a1a);
    color: var(--jmd-white-muted, #b0a89e);
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 10;
    width: 100%;
}

/* Subtle background pattern overlay */
.jmd-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(212, 168, 67, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(212, 168, 67, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   TOP DECORATIVE DIVIDER
   ═══════════════════════════════════════════ */
.jmd-footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    background: var(--jmd-bg-dark, #1a1a1a);
    padding-top: 8px;
}

.jmd-footer-divider__line {
    flex: 1;
    max-width: 500px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--jmd-gold-dark, #B8860B) 30%,
            var(--jmd-gold, #D4A843) 50%,
            var(--jmd-gold-dark, #B8860B) 70%,
            transparent 100%);
    opacity: 0.5;
}

.jmd-footer-divider__ornament {
    color: var(--jmd-gold, #D4A843);
    font-size: 10px;
    margin: 0 16px;
    opacity: 0.6;
    animation: jmd-glow-pulse 3s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   MAIN FOOTER GRID
   ═══════════════════════════════════════════ */
.jmd-footer__main {
    position: relative;
    z-index: 1;
}

.jmd-footer__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
}

/* ─── COLUMN HEADINGS ─── */
.jmd-footer__heading {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--jmd-gold, #D4A843);
    margin: 0 0 6px;
}

.jmd-footer__heading-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg,
            var(--jmd-gold, #D4A843),
            var(--jmd-gold-light, #F0D78C),
            transparent);
    margin-bottom: 20px;
    border-radius: 1px;
}

/* ═══════════════════════════════════════════
   COLUMN 1: BRAND
   ═══════════════════════════════════════════ */
.jmd-footer__col--brand {
    padding-right: 24px;
}

.jmd-footer__logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.jmd-footer__logo-link:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.jmd-footer__logo-img {
    height: 70px !important;
    width: auto !important;
    max-width: none !important;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(212, 168, 67, 0.2));
}

.jmd-footer__logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(135deg,
            var(--jmd-gold-dark, #B8860B),
            var(--jmd-gold, #D4A843),
            var(--jmd-gold-shimmer, #FFE4A0),
            var(--jmd-gold, #D4A843),
            var(--jmd-gold-dark, #B8860B));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: jmd-shimmer 4s linear infinite;
}

.jmd-footer__tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--jmd-white-muted, #b0a89e);
    margin: 4px 0 0;
    opacity: 0.6;
}

.jmd-footer__about {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--jmd-white-muted, #b0a89e);
    margin-top: 18px;
    max-width: 320px;
}

/* ═══════════════════════════════════════════
   COLUMN 2: QUICK LINKS
   ═══════════════════════════════════════════ */
.jmd-footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jmd-footer-nav-list li {
    margin-bottom: 0;
}

.jmd-footer-nav-list li a {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.8px;
    color: var(--jmd-white-muted, #b0a89e);
    text-decoration: none;
    padding: 7px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease, padding-left 0.3s ease;
    position: relative;
}

.jmd-footer-nav-list li a::before {
    content: '✦';
    font-size: 6px;
    color: var(--jmd-gold-dark, #B8860B);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.jmd-footer-nav-list li a:hover {
    color: var(--jmd-gold, #D4A843);
    padding-left: 4px;
}

.jmd-footer-nav-list li a:hover::before {
    opacity: 1;
}

/* ═══════════════════════════════════════════
   COLUMN 3: CONTACT INFO
   ═══════════════════════════════════════════ */
.jmd-footer__contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jmd-footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.jmd-footer__contact-list li svg {
    flex-shrink: 0;
    color: var(--jmd-gold, #D4A843);
    margin-top: 3px;
    opacity: 0.8;
}

.jmd-footer__contact-list li a {
    color: var(--jmd-white-muted, #b0a89e);
    text-decoration: none;
    transition: color 0.3s ease;
}

.jmd-footer__contact-list li a:hover {
    color: var(--jmd-gold, #D4A843);
}

/* ═══════════════════════════════════════════
   COLUMN 4: STORE HOURS
   ═══════════════════════════════════════════ */
.jmd-footer__hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jmd-footer__hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 168, 67, 0.08);
    font-size: 0.88rem;
}

.jmd-footer__hours-list li:last-child {
    border-bottom: none;
}

.jmd-footer__day {
    color: var(--jmd-white, #FAFAFA);
    font-weight: 500;
}

.jmd-footer__time {
    color: var(--jmd-gold, #D4A843);
    font-weight: 500;
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════
   BOTTOM BAR
   ═══════════════════════════════════════════ */
.jmd-footer__bottom {
    border-top: 1px solid rgba(212, 168, 67, 0.12);
    background: var(--jmd-bg-darker, #111111);
}

.jmd-footer__bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jmd-footer__copyright {
    font-size: 0.82rem;
    color: var(--jmd-white-muted, #b0a89e);
    margin: 0;
    letter-spacing: 0.5px;
}

.jmd-footer__copyright strong {
    color: var(--jmd-gold, #D4A843);
    font-weight: 600;
}

.jmd-footer__bottom-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jmd-footer__bottom-links a {
    font-size: 0.8rem;
    color: var(--jmd-white-muted, #b0a89e);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.jmd-footer__bottom-links a:hover {
    color: var(--jmd-gold, #D4A843);
}

.jmd-footer__bottom-sep {
    font-size: 6px;
    color: var(--jmd-gold-dark, #B8860B);
    opacity: 0.5;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
    .jmd-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px 48px;
        padding: 48px 24px 32px;
    }

    .jmd-footer__col--brand {
        padding-right: 0;
    }

    .jmd-footer__bottom-inner {
        padding: 16px 24px;
    }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
    .jmd-footer__inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 20px 28px;
        text-align: center;
    }

    .jmd-footer__col--brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .jmd-footer__about {
        max-width: 100%;
    }

    .jmd-footer__heading-line {
        margin-left: auto;
        margin-right: auto;
    }

    .jmd-footer-nav-list li a {
        justify-content: center;
    }

    .jmd-footer__contact-list li {
        justify-content: center;
    }

    .jmd-footer__hours-list li {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .jmd-footer__bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 16px 20px;
    }

    .jmd-footer-divider {
        padding: 0 20px;
        padding-top: 6px;
    }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
    .jmd-footer__logo-img {
        height: 55px;
    }

    .jmd-footer__logo-text {
        font-size: 1.4rem;
    }
}