/* ==========================================================================
   Footer Styles - Split Background Design
   ========================================================================== */

.site-footer {
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

/* Split Background - Pink and Purple */
.footer-split-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.footer-pink-section {
    width: 50%;
    height: 100%;
    background: #FF006E;
}

.footer-purple-section {
    width: 50%;
    height: 100%;
    background: #7B3FF2;
}

/* Footer Container */
.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem 3rem 0; /* Remove bottom padding */
    position: relative;
    z-index: 1;
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-end;
    position: relative;
    padding-bottom: 4rem;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Footer Menus */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-menu-left .footer-menu {
    align-items: flex-start;
}

.footer-menu-right {
    align-items: flex-end;
    justify-content: flex-end;
    display: flex;
}

.footer-menu-right .footer-menu {
    align-items: flex-end;
    text-align: right;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    font-size: 2.4rem; /* reduced by 20% from 3rem */
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
    display: inline-block;
    font-family: var(--font-primary);
}

.footer-menu a:hover {
    opacity: 0.7;
}

/* Footer Logo */
.footer-logo {
    margin-top: auto;
}

.footer-logo-image {
    width: auto;
    height: 60px;
    display: block;
}

/* Center Mascot Image */
.footer-center-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    margin-bottom: -4rem; /* Pull the image down to sit on the bottom */
}

.footer-mascot {
    width: auto;
    height: 280px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    display: block;
}

/* Copyright */
.footer-copyright {
    margin-top: auto;
    padding-top: 2rem;
}

.footer-copyright p {
    color: white;
    font-size: 1.5rem; /* reduced by 20% from 1.875rem */
    margin: 0;
    opacity: 0.9;
    font-family: var(--font-primary);
}

/* ==========================================================================
   Footer Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    .footer-container {
        padding: 3rem 2rem;
    }
    
    .footer-content {
        gap: 3rem;
    }
    
    .footer-mascot {
        height: 240px;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        gap: 2rem;
    }
    
    .footer-mascot {
        height: 200px;
    }
    
    .footer-menu a {
        font-size: 2rem; /* reduced by 20% from 2.5rem */
    }
    
    .footer-logo-image {
        height: 50px;
    }
    
    .footer-copyright p {
        font-size: 1.2rem; /* reduced by 20% from 1.5rem */
    }
}

@media (max-width: 768px) {
    /* Stack layout on mobile */
    .footer-split-bg {
        flex-direction: column;
    }
    
    .footer-pink-section,
    .footer-purple-section {
        width: 100%;
        height: 50%;
    }
    
    .footer-container {
        padding: 3rem 1.5rem 0; /* Remove bottom padding */
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding-bottom: 3rem; /* Add padding here */
    }
    
    /* Center all menu items on mobile */
    .footer-menu-left .footer-menu,
    .footer-menu-right .footer-menu {
        align-items: center;
        text-align: center;
    }
    
    /* Reorder elements for mobile */
    .footer-center-image {
        order: -1;
        margin-bottom: 0; /* Remove extra margin on mobile */
    }
    
    .footer-mascot {
        height: 150px;
    }
    
    .footer-menu {
        gap: 0.5rem;
    }
    
    .footer-menu a {
        font-size: 1.6rem; /* reduced by 20% from 2rem */
    }
    
    .footer-logo {
        margin-top: 1.5rem;
        display: flex;
        justify-content: center;
    }
    
    .footer-logo-image {
        height: 40px;
    }
    
    .footer-copyright {
        padding-top: 1.5rem;
    }
    
    .footer-copyright p {
        font-size: 1rem; /* reduced by 20% from 1.25rem */
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 2rem 1rem 0;
    }
    
    .footer-mascot {
        height: 120px;
    }
    
    .footer-menu a {
        font-size: 1.2rem; /* reduced by 20% from 1.5rem */
    }
    
    .footer-copyright p {
        font-size: 0.8rem; /* reduced by 20% from 1rem */
    }
}

/* ==========================================================================
   Minimal Footer Bar (new design)
   ========================================================================== */
.minimal-footer .footer-divider {
    width: 100%;
    height: 2px;
    background: #0A0F1C;
    opacity: 0.2;
}

.minimal-footer {
    background: #ededed;
}

.minimal-footer .footer-bar {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.25rem 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.minimal-footer .footer-left,
.minimal-footer .footer-right {
    color: var(--blaze-secondary, #0A0F1C);
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
}

.minimal-footer .footer-left a {
    color: inherit;
    text-decoration: none;
}

.minimal-footer .footer-left a:hover {
    text-decoration: underline;
}

/* Inline footer links (no bullets) */
.minimal-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

.minimal-footer .footer-links li {
    margin: 0;
}

.minimal-footer .footer-links a {
    color: inherit;
    text-decoration: none;
}

.minimal-footer .footer-links a:hover {
    text-decoration: underline;
}

.minimal-footer .footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.minimal-footer .social-link {
    width: 44px;
    height: 44px;
    color: var(--blaze-secondary, #0A0F1C);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.minimal-footer .social-link svg {
    width: 28px;
    height: 28px;
}

.minimal-footer .footer-right {
    justify-content: flex-end;
}

.minimal-footer .footer-top {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 3rem 2rem;
}

.minimal-footer .footer-top-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    color: var(--blaze-secondary, #0A0F1C);
}

/* Keep brand fixed-size on the left */
.minimal-footer .footer-top-brand {
    flex: 0 0 auto;
}

/* Heading */
.minimal-footer .footer-top-heading {
    flex: 0 0 auto; /* restore original behavior */
    min-width: auto;
}

/* Wrap heading and socials stacked within the same column */
.minimal-footer .footer-top-heading-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.minimal-footer .footer-top-brand a.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.minimal-footer .footer-top-brand .custom-logo {
    height: 160px;
    width: auto;
}

.minimal-footer .footer-top-heading {
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: clamp(1.75rem, 4vw, 3rem);
    color: #7B3FF2; /* purple per screenshot */
    margin: 0;
    line-height: 1;
}

.minimal-footer .footer-top-services {
    display: flex;
    align-items: center;
    gap: 1.25rem 2rem;
    flex-wrap: nowrap;
    flex-basis: 100%;
    width: 100%;
	justify-content: space-between;
}

/* New: Social row under heading, aligned right */
.minimal-footer .footer-top-social {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* right align inside the wrap */
    gap: 0.75rem;
    margin-left: 0;
}

/* Centered duplicate row */
.minimal-footer .footer-top-social--center {
    justify-content: center;
    padding-top: 0.25rem;
}

.minimal-footer .footer-top-social .social-link {
    width: 40px;
    height: 40px;
    color: var(--blaze-secondary, #0A0F1C);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.minimal-footer .footer-top-social .social-link svg {
    width: 20px;
    height: 20px;
}

.minimal-footer .services-label {
    font-weight: 800;
    font-size: 2.5rem;
    white-space: nowrap;
}

.minimal-footer .service-links {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.minimal-footer .service-links a {
    color: var(--blaze-secondary, #0A0F1C);
    text-decoration: none;
    font-weight: 400;
    font-size: 1.5rem;
}

.minimal-footer .service-links a:hover { text-decoration: underline; }

.minimal-footer .service-links .ext-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: 0.35em;
    vertical-align: -0.1em;
    /* Fallback: show the SVG as-is */
    background-image: url('../images/link.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    /* Modern: recolor with currentColor using mask */
    background-color: currentColor;
    -webkit-mask: url('../images/link.svg') no-repeat center / contain;
    mask: url('../images/link.svg') no-repeat center / contain;
}
.minimal-footer .service-links .ext-icon svg { display: none; }

@media (max-width: 768px) {
    .minimal-footer .footer-top-brand .custom-logo { height: 100px; }
    .minimal-footer .footer-top-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .minimal-footer .footer-top-heading-wrap { align-self: stretch; }
    .minimal-footer .footer-top-social { justify-content: flex-start; }
    .minimal-footer .services-label { font-size: 1.2rem; }
    .minimal-footer .service-links a { font-size: 1.125rem; font-weight: 400; }
    .minimal-footer .footer-top-services { flex-wrap: wrap; gap: 0.75rem 1rem; }
    .minimal-footer .footer-bar {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
        padding: 1rem 1.5rem 2rem;
    }
    .minimal-footer .footer-top { padding: 1.5rem 1.5rem; }
    .minimal-footer .footer-left,
    .minimal-footer .footer-right {
        justify-content: center;
    }
    .minimal-footer .social-link { width: 40px; height: 40px; }
    .minimal-footer .social-link svg { width: 24px; height: 24px; }
    .minimal-footer .footer-left, .minimal-footer .footer-right { font-size: 1rem; }
}