﻿/********** Centrapartes Theme CSS **********/
:root {
    --primary: #f58220;
    --secondary: #6c757d;
    --light: #f8f9fa;
    --dark: #2f3336;
    --muted: #70757a;
}

body {
    color: var(--muted);
    background-color: #f3f4f6;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.btn-primary {
    color: #ffffff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
    color: #ffffff;
    background-color: #d86f17;
    border-color: #d86f17;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #ffffff;
    background-color: var(--primary);
    border-color: var(--primary);
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.spinner-logo {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
    animation: spinnerPulse 1.2s ease-in-out infinite;
}

@keyframes spinnerPulse {
    0% {
        transform: scale(0.92);
        opacity: 0.75;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.92);
        opacity: 0.75;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 40px;
    bottom: 40px;
    z-index: 99;
}

/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .4s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/*** Brand ***/
.brand-logo {
    max-height: 58px;
    width: auto;
    transition: .4s;
}

.sticky-top.navbar-light .brand-logo {
    max-height: 46px;
}

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 24px;
    padding: 34px 0;
    color: var(--light) !important;
    outline: none;
    transition: .4s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #ffd7b3 !important;
}

.sticky-top.navbar-light .navbar-nav .nav-link:hover,
.sticky-top.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #ffffff;
    }

    .navbar-light {
        background: #ffffff;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #dfdfdf;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--primary) !important;
    }

    .navbar-light .brand-logo,
    .sticky-top.navbar-light .brand-logo {
        max-height: 46px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: #ffffff;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: #ffd7b3;
        transition: .4s;
    }

    .sticky-top.navbar-light .navbar-nav .nav-link::before {
        background: var(--primary);
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

/*** Hero Header ***/
.hero-header {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.22) 0, transparent 35%),
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.18) 0, transparent 32%),
        linear-gradient(135deg, #f68f33 0%, #ef7a1b 48%, #596066 100%);
}

.hero-header::before,
.hero-header::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.hero-header::before {
    width: 320px;
    height: 320px;
    right: -80px;
    top: -120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.11);
}

.hero-header::after {
    width: 380px;
    height: 180px;
    left: -80px;
    bottom: -90px;
    border-radius: 110px;
    background: rgba(255, 255, 255, 0.12);
}

/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(245, 130, 32, .4);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}

/*** Service ***/
.service-item {
    position: relative;
    min-height: 320px;
    padding: 30px 24px;
    background: #ffffff;
    box-shadow: 0 0 35px rgba(0, 0, 0, .08);
    transition: .4s;
}

.service-item:hover {
    background: var(--primary);
    transform: translateY(-6px);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffac5b, var(--primary));
    transition: .4s;
}

.service-item:hover .service-icon {
    color: var(--primary);
    background: #ffffff;
}

.service-item h5,
.service-item p {
    transition: .4s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #ffffff;
}

/*** Newsletter and Testimonial ***/
.newsletter,
.testimonial {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.18) 0, transparent 35%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.14) 0, transparent 40%),
        linear-gradient(135deg, #ef7a1b 0%, #cb6410 50%, #53595f 100%);
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .4s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--light) !important;
    border-color: var(--light);
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #666c71;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
    color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item h6 {
    color: var(--dark) !important;
}

/*** Footer ***/
.footer {
    background:
        radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.08) 0, transparent 25%),
        linear-gradient(140deg, #454b50 0%, #2e3337 55%, #1f2326 100%);
    background-size: cover;
}

.footer-brand {
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 12px;
}

.footer-logo {
    width: 100%;
    max-width: 210px;
    height: auto;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    background: #ffffff;
    border-color: #ffffff;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #ffd7b3;
    letter-spacing: .5px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.footer .copyright a {
    color: #ffd7b3;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .16);
    color: var(--light);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Sliding Brands ***/
@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    padding: 54px 0;
    background: #ffffff;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid #eceff2;
    border-bottom: 1px solid #eceff2;
}

.logos::before,
.logos::after {
    position: absolute;
    top: 0;
    width: 180px;
    height: 100%;
    content: "";
    z-index: 2;
}

.logos::before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #ffffff);
}

.logos::after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff);
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    animation: 30s slide infinite linear;
    padding-right: 20px;
}

.brand-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    min-height: 44px;
    border: 1px solid #d8dde2;
    border-radius: 999px;
    background: #f7f8fa;
    color: #4d5257;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@media (max-width: 575.98px) {
    .brand-logo,
    .sticky-top.navbar-light .brand-logo {
        max-height: 40px;
    }

    .logos {
        padding: 40px 0;
    }

    .logos::before,
    .logos::after {
        width: 80px;
    }
}
