/**
 * Beauty Platform Footer Styles
 *
 * Premium footer with Deep Beauty gradient, glassmorphism column cards,
 * animated link hovers, and a gradient divider.
 */

/* ============================================
   Base Footer Styling
   ============================================ */
.beauty-footer {
    position: relative;
    overflow: hidden;
}

/* Gradient top border accent — mirrors header's bottom accent */
.beauty-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D8598C, #9D6099, #5C4B75, #9D6099, #D8598C);
    background-size: 200% 100%;
    animation: footerGradientShift 8s ease infinite;
}

@keyframes footerGradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ============================================
   Footer Top Section (columns area)
   ============================================ */
.beauty-footer-top {
    position: relative;
}

/* Decorative radial glow behind footer */
.beauty-footer-top::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(216, 89, 140, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   Footer Logo
   ============================================ */
.beauty-footer .beauty-logo img,
.beauty-footer .wp-block-site-logo img {
    display: block;
    height: auto;
    transition: transform 0.3s ease;
}

.beauty-footer .beauty-logo img:hover,
.beauty-footer .wp-block-site-logo img:hover {
    transform: scale(1.06);
}

/* ============================================
   Footer Headings
   ============================================ */
.beauty-footer-heading {
    font-family: var(--wp--preset--font-family--playfair-display), serif !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    /* Darker color to match image */
    font-size: 0.95rem !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem !important;
}

/* ============================================
   Large Search Bar
   ============================================ */
.beauty-footer-search .wp-block-search__inside-wrapper {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
}

.beauty-footer-search .wp-block-search__input {
    border: none !important;
    background: transparent !important;
    padding: 12px 24px !important;
    font-family: var(--wp--preset--font-family--outfit), sans-serif !important;
    font-size: 1.1rem !important;
    color: #333333 !important;
    flex-grow: 1;
}

.beauty-footer-search .wp-block-search__input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.beauty-footer-search .wp-block-search__input::placeholder {
    color: #999999;
}

.beauty-footer-search .wp-block-search__button {
    background: #1a1a1a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 40px !important;
    width: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.beauty-footer-search .wp-block-search__button:hover {
    background: var(--wp--preset--color--accent-1) !important;
    transform: scale(1.02);
}

.beauty-footer-search .wp-block-search__button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ============================================
   Social Navigation Links
   ============================================ */
.beauty-social-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Align links to the right */
    gap: 0.75rem;
}

.beauty-social-nav .wp-block-navigation-item__content {
    font-family: var(--wp--preset--font-family--playfair-display), serif !important;
    font-size: 1.05rem !important;
    color: #4a4a4a !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(74, 74, 74, 0.4);
    padding: 0 !important;
    display: inline-block;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
    text-align: right;
}

.beauty-social-nav .wp-block-navigation-item__content:hover {
    color: var(--wp--preset--color--accent-1) !important;
    text-decoration-color: var(--wp--preset--color--accent-1) !important;
}

/* ============================================
   Footer Separator
   ============================================ */
.beauty-footer-separator {
    height: 1px !important;
    background: rgba(0, 0, 0, 0.05) !important;
    /* Extremely light grey/transparent */
    border: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ============================================
   Footer Bottom Bar 
   ============================================ */
.beauty-footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.beauty-footer-bottom-brand {
    font-family: var(--wp--preset--font-family--outfit), sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    color: #1a1a1a !important;
    margin: 0 !important;
}

.beauty-footer-bottom-copy {
    font-family: var(--wp--preset--font-family--playfair-display), serif !important;
    font-size: 0.95rem !important;
    color: #4a4a4a !important;
    margin: 0 !important;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .beauty-footer-columns {
        flex-direction: column !important;
        gap: 3rem !important;
    }

    .beauty-footer .wp-block-column {
        flex-basis: 100% !important;
    }

    .beauty-footer-bottom {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem !important;
    }

    .beauty-footer .wp-block-site-logo img {
        width: 32px !important;
    }

    .beauty-footer-search .wp-block-search__input {
        font-size: 1rem !important;
        padding: 10px 16px !important;
    }
}

/* ============================================
   Reduced Motion Preferences
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .beauty-footer::before {
        animation: none !important;
    }

    .beauty-social-nav .wp-block-navigation-item__content,
    .beauty-footer-search .wp-block-search__button,
    .beauty-footer .wp-block-site-logo img {
        transition: none !important;
        animation: none !important;
    }
}