/* ==========================================================================
   Power Footer - QuickSpark Electrician Dubai
   ========================================================================== */

/* Base */
.power-footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #cbd5e1;
}

/* ==========================================================================
   Emergency Banner
   ========================================================================== */
.power-footer__emergency {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.power-footer__emergency-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.power-footer__emergency-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    animation: emergencyPulse 3s ease-in-out infinite;
}

@keyframes emergencyPulse {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.power-footer__emergency-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.power-footer__emergency-icon {
    width: 52px;
    height: 52px;
    background: #0f172a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.power-footer__emergency-icon img {
    filter: brightness(0) invert(1);
}

.power-footer__emergency-text strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.power-footer__emergency-text span {
    font-size: 13px;
    color: rgba(15, 23, 42, 0.7);
}

.power-footer__emergency-badges {
    display: flex;
    gap: 20px;
}

.power-footer__emergency-badges span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.power-footer__emergency-badges img {
    filter: brightness(0);
    opacity: 0.7;
}

.power-footer__emergency-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #0f172a;
    color: #fbbf24;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.power-footer__emergency-btn:hover {
    background: #1e293b;
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.power-footer__emergency-btn img {
    filter: invert(76%) sepia(60%) saturate(1000%) hue-rotate(358deg) brightness(103%) contrast(104%);
}

/* ==========================================================================
   Main Body
   ========================================================================== */
.power-footer__body {
    padding: 60px 0 50px;
}

.power-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.3fr 2fr 0.9fr;
    gap: 48px;
}

/* Brand Column */
.power-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.power-footer__logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.power-footer__logo img {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.power-footer__logo-text strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.power-footer__logo-text span {
    font-size: 12px;
    color: #fbbf24;
    font-style: italic;
}

.power-footer__desc {
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
}

/* Contact Cards */
.power-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pf-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pf-contact:hover {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.2);
    transform: translateX(6px);
}

.pf-contact__icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pf-contact__icon img {
    filter: brightness(0);
}

.pf-contact__data {
    display: flex;
    flex-direction: column;
}

.pf-contact__data em {
    font-style: normal;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pf-contact__data strong {
    font-size: 14px;
    color: #fff;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.power-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pf-nav-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #fbbf24, transparent) 1;
}

.pf-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pf-nav-col ul li a {
    display: inline-flex;
    align-items: center;
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.pf-nav-col ul li a::before {
    content: '';
    width: 0;
    height: 2px;
    background: #fbbf24;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.pf-nav-col ul li a:hover {
    color: #fbbf24;
    padding-left: 18px;
}

.pf-nav-col ul li a:hover::before {
    width: 12px;
}

/* ==========================================================================
   Stats Column
   ========================================================================== */
.power-footer__stats h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #fbbf24, transparent) 1;
}

.pf-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pf-stat {
    padding: 18px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.pf-stat:hover {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.2);
    transform: translateY(-3px);
}

.pf-stat__value {
    display: block;
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.pf-stat__label {
    display: block;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ==========================================================================
   Areas Strip
   ========================================================================== */
.power-footer__areas {
    background: rgba(0, 0, 0, 0.25);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.power-footer__areas-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.power-footer__areas-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.power-footer__areas-title img {
    filter: invert(76%) sepia(60%) saturate(1000%) hue-rotate(358deg) brightness(103%) contrast(104%);
}

.power-footer__areas-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.power-footer__areas-tags a {
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: #94a3b8;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.power-footer__areas-tags a:hover {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

/* ==========================================================================
   Bottom Bar
   ========================================================================== */
.power-footer__bottom {
    background: rgba(0, 0, 0, 0.35);
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.power-footer__bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.power-footer__copy {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.power-footer__legal {
    display: flex;
    gap: 24px;
}

.power-footer__legal a {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.power-footer__legal a:hover {
    color: #fbbf24;
}

/* ==========================================================================
   Fixed Call Button
   ========================================================================== */
.call-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(251, 191, 36, 0.4);
}

.call-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 36px rgba(251, 191, 36, 0.5);
}

.call-float__ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #fbbf24;
    animation: ringPulse 2s ease-out infinite;
}

@keyframes ringPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.call-float img {
    filter: brightness(0);
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .power-footer__container {
        grid-template-columns: 1fr 1.5fr;
        gap: 40px;
    }

    .power-footer__stats {
        grid-column: 1 / -1;
    }

    .pf-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .power-footer__emergency-badges {
        display: none;
    }
}

@media (max-width: 900px) {
    .power-footer__emergency-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .power-footer__emergency-content {
        width: 100%;
        justify-content: center;
    }

    .power-footer__emergency-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .power-footer__container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .power-footer__brand {
        align-items: center;
        text-align: center;
    }

    .power-footer__logo {
        justify-content: center;
    }

    .power-footer__contacts {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .pf-contact {
        flex: 1;
        min-width: 200px;
        max-width: 280px;
        justify-content: center;
    }

    .power-footer__nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .pf-nav-col:last-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    .pf-nav-col:last-child h4 {
        border-image: linear-gradient(90deg, transparent, #fbbf24, transparent) 1;
    }

    .pf-nav-col:last-child ul {
        align-items: center;
    }

    .pf-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 320px;
        margin: 0 auto;
    }

    .power-footer__stats {
        text-align: center;
    }

    .power-footer__stats h4 {
        border-image: linear-gradient(90deg, transparent, #fbbf24, transparent) 1;
    }

    .power-footer__areas-inner {
        flex-direction: column;
        text-align: center;
    }

    .power-footer__areas-tags {
        justify-content: center;
    }

    .power-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .call-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .call-float img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .power-footer__body {
        padding: 40px 0 36px;
    }

    .power-footer__emergency-inner {
        padding: 16px 20px;
    }

    .power-footer__emergency-icon {
        width: 44px;
        height: 44px;
    }

    .power-footer__emergency-text strong {
        font-size: 15px;
    }

    .power-footer__emergency-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .power-footer__logo-text strong {
        font-size: 20px;
    }

    .power-footer__nav {
        text-align: center;
    }

    .pf-nav-col h4 {
        border-image: linear-gradient(90deg, transparent, #fbbf24, transparent) 1;
    }

    .pf-nav-col ul {
        align-items: center;
    }

    .pf-contact {
        max-width: 100%;
    }

    .pf-stat {
        padding: 14px 10px;
    }

    .pf-stat__value {
        font-size: 22px;
    }

    .power-footer__areas-tags a {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 375px) {
    .power-footer__container {
        padding: 0 16px;
        gap: 28px;
    }

    .power-footer__logo img {
        width: 44px;
        height: 44px;
    }

    .power-footer__logo-text strong {
        font-size: 18px;
    }

    .power-footer__logo-text span {
        font-size: 11px;
    }

    .power-footer__desc {
        font-size: 13px;
    }

    .pf-contact {
        padding: 12px;
    }

    .pf-contact__icon {
        width: 38px;
        height: 38px;
    }

    .pf-contact__data strong {
        font-size: 13px;
    }

    .pf-nav-col h4 {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .pf-nav-col ul li a {
        font-size: 13px;
    }

    .pf-stat__value {
        font-size: 20px;
    }

    .pf-stat__label {
        font-size: 10px;
    }

    .call-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }

    .call-float img {
        width: 22px;
        height: 22px;
    }
}
