/********** Template CSS **********/

/*** ELANZA Brand Colors (Gold + Black from Logo) ***/
:root {
    --bs-primary:        #C9A84C;   /* Logo Gold */
    --bs-primary-rgb:    201, 168, 76;
    --bs-dark:           #1a1a1a;   /* Logo Black */
    --bs-dark-rgb:       26, 26, 26;
    --bs-light:          #F9F3E3;   /* Warm cream - complements gold */
    --bs-secondary:      #6B6047;   /* Muted gold-brown */
    --elanza-gold:       #C9A84C;
    --elanza-gold-dark:  #A8883A;
    --elanza-black:      #1a1a1a;
}

/* Primary buttons → Gold */
.btn-primary {
    color: #fff !important;
    background-color: var(--elanza-gold) !important;
    border-color: var(--elanza-gold) !important;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--elanza-gold-dark) !important;
    border-color: var(--elanza-gold-dark) !important;
    box-shadow: 0 0 0 0.25rem rgba(201,168,76,.35) !important;
}

/* Links → Gold */
a { color: var(--elanza-gold); }
a:hover { color: var(--elanza-gold-dark); }

/* Text-primary → Gold */
.text-primary { color: var(--elanza-gold) !important; }

/* bg-primary → Gold */
.bg-primary { background-color: var(--elanza-gold) !important; }

/* Border-primary → Gold */
.border-primary { border-color: var(--elanza-gold) !important; }

/* Nav active/hover → Gold */
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--elanza-gold) !important;
}

/* Card title color */
.card-title { color: var(--elanza-gold) !important; }

/* Headings dark → Logo black */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--elanza-black);
}

/* Testimonial + decorative gold lines */
.testimonial-img::before,
.testimonial-text h5::before {
    background: var(--elanza-gold) !important;
}

/* Spinner → Gold */
.spinner-grow { color: var(--elanza-gold) !important; }
.text-primary.spinner-grow { color: var(--elanza-gold) !important; }



/*** 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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.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;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary)
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    background: url(../img/hero-bg.jpg) top center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.header-carousel {
    position: relative;
    padding: 0;
}

.header-carousel::before {
    display: none;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-white);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-white);
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}


/*** Project ***/
.project-item img {
    transition: .5s;
}
  
.project-item:hover img {
    transform: scale(1.2);
}
  
.project-overlay {
    position: absolute;
    padding: 25px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 30px 25px;
    transition: .5s;
}

.service-item.bg-primary:hover {
    background: var(--bs-light) !important;
}

.service-item.bg-primary p {
    color: var(--bs-light);
    transition: .5s;
}

.service-item.bg-primary:hover p {
    color: var(--bs-secondary);
}

.service-item.bg-light:hover {
    background: var(--bs-primary) !important;
}

.service-item.bg-light p {
    color: var(--bs-secondary);
    transition: .5s;
}

.service-item.bg-light:hover p {
    color: var(--bs-light);
}


.service-item .service-img h3 {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 12px 7px 0;
}

.service-item.bg-primary .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: .5s;
}

.service-item.bg-primary:hover .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
}

.service-item.bg-light .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
    transition: .5s;
}

.service-item.bg-light:hover .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
}


/*** Our Team ***/
.team-item img {
    transition: .5s;
}
  
.team-item:hover img {
    transform: scale(1.2);
}
  
.team-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}

.team-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

.testimonial-text h5::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    background: var(--bs-white);
    border: 2px solid var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/hero-bg.jpg) bottom right no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** ELANZA Premium Footer ***/
.elanza-footer {
    background-color: #111111;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    position: relative;
}

/* Wave top */
.footer-wave {
    line-height: 0;
    margin-bottom: -2px;
    background-color: #fff;
}
.footer-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* Main body */
.footer-main {
    padding: 60px 0 40px;
}

/* Logo */
.footer-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    filter: brightness(1.1);
}

/* Description */
.footer-desc {
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

/* Social icons */
.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--elanza-gold);
    color: var(--elanza-gold) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.35s ease;
    text-decoration: none !important;
}
.social-btn:hover {
    background-color: var(--elanza-gold);
    color: #111 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

/* Section headings */
.footer-heading {
    color: var(--elanza-gold);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--elanza-gold), transparent);
}

/* Links list */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links li a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.9rem;
}
.footer-links li a i {
    color: var(--elanza-gold);
    font-size: 0.75rem;
    transition: transform 0.3s;
}
.footer-links li a:hover {
    color: var(--elanza-gold);
    padding-left: 6px;
}
.footer-links li a:hover i {
    transform: translateX(3px);
}

/* Contact list */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}
.contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--elanza-gold);
    font-size: 0.85rem;
}
.footer-contact a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-contact a:hover {
    color: var(--elanza-gold);
}

/* Gold divider */
.footer-gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--elanza-gold), transparent);
    opacity: 0.5;
}

/* Copyright bar */
.footer-bottom {
    background-color: #0a0a0a;
    padding: 18px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}
.footer-bottom p { color: rgba(255,255,255,0.45); }
.gold-text {
    color: var(--elanza-gold);
    font-weight: 600;
}
.footer-bottom-links {
    display: flex;
    gap: 0;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.footer-bottom-links a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    padding: 0 14px;
    border-right: 1px solid rgba(255,255,255,0.1);
    font-size: 0.83rem;
    transition: color 0.3s;
}
.footer-bottom-links a:last-child { border-right: none; }
.footer-bottom-links a:hover { color: var(--elanza-gold); }

@media (max-width: 767px) {
    .footer-main { padding: 40px 0 20px; }
    .footer-bottom-links { justify-content: center; margin-top: 8px; }
    .footer-bottom p { text-align: center; }
}