/* Footer Card Styling */

.card-footer {
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
    color: var(--bs-card-cap-color);
    background-color: var(--bs-card-cap-bg);
    border-top: var(--bs-card-border-width) solid var(--bs-card-border-color);
}

.card-footer:last-child {
    border-radius: 0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius);
}

.footer__section {
    background: linear-gradient(135deg, rgb(10, 10, 10) 0%, rgb(20, 22, 26) 50%, rgb(8, 9, 12) 100%);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    text-align: center;
    padding: 20px 15px;
    border-top: none;
    font-family: Gabarito, sans-serif;
    color: rgb(136, 136, 136);
}

.footer-content span {
    display: inline-block;
    line-height: 26px;
    font-size: 13px;
}

.company-name {
    background: linear-gradient(90deg, rgb(255, 0, 0), rgb(255, 127, 0), rgb(255, 255, 0), rgb(0, 255, 0), rgb(0, 0, 255), rgb(75, 0, 130), rgb(148, 0, 211));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    animation: gradient-shift 3s linear infinite;
    background-size: 300% 300%;
}

.preloader__the-interior-craft .company-name {
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: 2px;
    display: block;
    width: 100%;
    text-align: center;
    -webkit-text-stroke: 0;
    animation: gradient-shift 3s linear infinite, preloader-text-float 1.8s ease-in-out infinite;
}

@keyframes preloader-text-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.divider {
    display: inline-block;
    margin: 0 8px;
    color: rgb(136, 136, 136);
}

.heart {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 4px;
    color: rgb(255, 59, 59);
    vertical-align: middle;
    animation: heartbeat 0.45s ease-in-out infinite;
    transform: scale(1.27166);
}

.developer-link {
    background: linear-gradient(90deg, rgb(255, 0, 0), rgb(255, 127, 0), rgb(255, 255, 0), rgb(0, 255, 0), rgb(0, 0, 255), rgb(75, 0, 130), rgb(148, 0, 211));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.3s ease;
    animation: gradient-shift 3s linear infinite;
    background-size: 300% 300%;
}

.developer-link:hover {
    filter: brightness(1.2);
}

/* Text logo (replaces image logo site-wide) */
.header-wrapper .main__logo .logo.text-logo {
    width: auto !important;
    display: inline-flex;
    align-items: center;
}

.subside__barmenu .sub__contact__wrapper .side-logo.text-logo {
    width: auto !important;
    display: inline-flex;
    align-items: center;
}

.logo-brand-text {
    font-family: "Archivo Black", sans-serif;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 1px;
    white-space: nowrap;
}

@media (max-width: 1199px) {
    .logo-brand-text {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .logo-brand-text {
        font-size: 16px;
        letter-spacing: 0.6px;
    }
}

/* Animations */

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1.12);
    }
    25% {
        transform: scale(1.5);
    }
    50% {
        transform: scale(1.12);
    }
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes name-heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.05);
    }
    50% {
        transform: scale(1);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* SPAN_1 Styling */

#SPAN_1 {
    display: block;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, rgb(255, 0, 0), rgb(255, 127, 0), rgb(255, 255, 0), rgb(0, 255, 0), rgb(0, 0, 255), rgb(75, 0, 130), rgb(148, 0, 211));
    background-size: 300% 300%;
    animation: gradient-shift 3s linear infinite;
    font-weight: 700;
    text-align: center;
    color: rgb(136, 136, 136);
    font-family: Gabarito, sans-serif;
    font-size: 13px;
    line-height: 26px;
    transition: all 0.3s;
}

#SPAN_1:after {
    display: inline;
    font-weight: 700;
    font-size: 13px;
    line-height: 26px;
    font-family: Gabarito, sans-serif;
    text-align: center;
    color: rgb(136, 136, 136);
    content: '';
}

#SPAN_1:before {
    display: inline;
    font-weight: 700;
    font-size: 13px;
    line-height: 26px;
    font-family: Gabarito, sans-serif;
    text-align: center;
    color: rgb(136, 136, 136);
    content: '';
}

/* Make footer background transparent */
.footer__bottom,
.card-footer,
.footer-content {
    background: transparent !important;
    background-color: transparent !important;
}

/* Remove unwanted gap above sidebar "Let's Talk" button */
.subside__barmenu .sub__contact__wrapper .sub__contact-left {
    margin-bottom: 8px !important;
}

.subside__barmenu .sub__contact__wrapper .sub__contact-right,
.subside__barmenu .sub__contact__wrapper .sub__contact-right.mb-80 {
    margin-bottom: 8px !important;
}

/* Responsive Styling */

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 0;
    }
    
    .divider {
        display: none;
    }
    
    .footer-content span {
        display: block;
        width: 100%;
    }
}

@media (max-width: 575px) {
    .preloader__the-interior-craft .company-name {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .logo-brand-text {
        max-width: 100%;
        font-size: clamp(12px, 4vw, 16px);
        letter-spacing: 0.35px;
        white-space: normal;
        line-height: 1.15;
    }

    .footer-content,
    .footer-content span {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}
