/* =========================================================
   FOOTER - FM Hairstyle
   Using brand palette
========================================================= */

.fm-footer {
    background: var(--fm-espresso, #24191A);
    color: var(--fm-ivory, #F8F1EC);
    padding-top: 4rem;
    padding-bottom: 0;
    border-top: 1px solid var(--fm-border-subtle, rgba(217, 140, 107, 0.15));
    margin-top: auto;
}

.fm-footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* Brand Column */
.footer-brand {
    margin-bottom: 1rem;
}

.footer-logo {
    display: block;
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    opacity: 1;
    border-radius: 4px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.footer-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--fm-warm-gray, #BEB2AE);
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(248, 241, 236, 0.06);
    color: var(--fm-warm-gray, #BEB2AE);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--fm-rose-gold, #D98C6B);
    color: var(--fm-black, #120F10);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 140, 107, 0.25);
}

/* Headings */
.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fm-ivory, #F8F1EC);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--fm-rose-gold, #D98C6B);
}

/* Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--fm-warm-gray, #BEB2AE);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '›';
    opacity: 0;
    margin-right: 0;
    transition: all 0.3s ease;
    color: var(--fm-rose-gold, #D98C6B);
}

.footer-links a:hover {
    color: var(--fm-ivory, #F8F1EC);
    padding-left: 18px;
}

.footer-links a:hover::before {
    opacity: 1;
    margin-right: 8px;
}

/* Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0.8rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--fm-warm-gray, #BEB2AE);
    line-height: 1.5;
}

.footer-contact li i {
    color: var(--fm-rose-gold, #D98C6B);
    font-size: 0.95rem;
    margin-top: 3px;
    min-width: 18px;
}

.footer-contact a {
    color: var(--fm-warm-gray, #BEB2AE);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--fm-rose-gold, #D98C6B);
}

.footer-email-secondary {
    opacity: 0.7;
    font-size: 0.85rem;
}

.footer-email-secondary i {
    font-size: 0.8rem;
}

/* Opening Hours */
.footer-hours {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(248, 241, 236, 0.05);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.footer-hours li:last-child {
    border-bottom: none;
}

.footer-hours .day {
    color: var(--fm-warm-gray, #BEB2AE);
}

.footer-hours .time {
    color: var(--fm-ivory, #F8F1EC);
    font-weight: 500;
}

.footer-hours .time.closed {
    color: var(--fm-dusty-pink, #D96A8A);
    font-weight: 600;
}

/* Footer CTA Button */
.footer-cta {
    margin-top: 1rem;
}

.footer-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--fm-dusty-pink, #D96A8A);
    color: var(--fm-black, #120F10);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.footer-book-btn i {
    font-size: 0.9rem;
}

.footer-book-btn:hover {
    background: var(--fm-dusty-pink-dark, #C45A7A);
    color: var(--fm-ivory, #F8F1EC);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 106, 138, 0.3);
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(248, 241, 236, 0.06);
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--fm-warm-gray-dark, #9A8E8A);
    margin: 0;
}

.footer-legal-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--fm-warm-gray, #BEB2AE);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: var(--fm-rose-gold, #D98C6B);
}

.footer-legal-divider {
    color: rgba(248, 241, 236, 0.1);
    margin: 0 10px;
}

/* =========================================================
   RESPONSIVE FOOTER - TABLET & MOBILE (991px and below)
========================================================= */

@media (max-width: 991px) {
    .fm-footer {
        padding-top: 3rem;
    }
    
    .fm-footer .container {
        padding: 0 1.5rem;
    }
    
    .footer-logo {
        max-width: 160px;
    }
    
    .footer-tagline {
        max-width: 100%;
    }
    
    .footer-heading {
        margin-top: 0.5rem;
    }
}

/* =========================================================
   RESPONSIVE FOOTER - MOBILE (767px and below)
========================================================= */

@media (max-width: 767px) {
    .fm-footer {
        padding-top: 2.5rem;
    }
    
    .fm-footer .container {
        padding: 0 1.25rem;
    }
    
    /* Keep columns but stack them vertically */
    .fm-footer .row > [class*="col-"] {
        margin-bottom: 2rem;
    }
    
    .fm-footer .row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
    
    /* Brand column - keep left aligned */
    .footer-brand {
        text-align: left;
    }
    
    .footer-logo {
        max-width: 140px;
        margin-left: 0;
        margin-right: 0;
    }
    
    .footer-tagline {
        max-width: 100%;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    /* Headings - keep left aligned */
    .footer-heading {
        text-align: left;
        font-size: 1rem;
    }
    
    .footer-heading::after {
        left: 0;
        transform: none;
    }
    
    /* Quick Links - keep left aligned */
    .footer-links {
        text-align: left;
    }
    
    .footer-links a::before {
        display: inline-block;
    }
    
    .footer-links a:hover {
        padding-left: 18px;
    }
    
    /* Contact - keep left aligned */
    .footer-contact li {
        justify-content: flex-start;
    }
    
    /* Hours - keep left aligned with space-between */
    .footer-hours li {
        justify-content: space-between;
        gap: 0;
    }
    
    /* CTA - keep left aligned */
    .footer-cta {
        text-align: left;
    }
    
    /* Bottom bar */
    .footer-bottom {
        text-align: center;
        margin-top: 1.5rem;
        padding: 1rem 0;
    }
    
    .footer-copyright {
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .footer-legal-divider {
        display: inline-block;
    }
    
    .footer-legal-link {
        display: inline-block;
        margin: 0;
    }
}

/* =========================================================
   RESPONSIVE FOOTER - SMALL PHONES (576px and below)
========================================================= */

@media (max-width: 576px) {
    .fm-footer {
        padding-top: 2rem;
    }
    
    .fm-footer .container {
        padding: 0 1rem;
    }
    
    .fm-footer .row > [class*="col-"] {
        margin-bottom: 1.5rem;
    }
    
    .footer-logo {
        max-width: 120px;
    }
    
    .footer-tagline {
        font-size: 0.85rem;
    }
    
    .footer-heading {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
    
    .footer-contact li {
        font-size: 0.8rem;
        gap: 10px;
    }
    
    .footer-contact li i {
        font-size: 0.85rem;
        min-width: 16px;
    }
    
    .footer-hours li {
        font-size: 0.8rem;
        padding: 0.35rem 0;
    }
    
    .footer-book-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.8rem;
        padding: 0.5rem 1.25rem;
    }
    
    .footer-bottom {
        margin-top: 1rem;
        padding: 0.75rem 0;
    }
    
    .footer-copyright {
        font-size: 0.7rem;
    }
    
    .footer-legal-link {
        font-size: 0.7rem;
    }
}