/********** Template CSS **********/

:root {
    --brand-primary: #931d37;
    --brand-gold: #d8b36a;
    --brand-ink: #0e0a0c;
    --brand-cream: #f7f0e6;
    --brand-muted: #c3b6a4;
    --bs-primary: #931d37 !important;
    --bs-primary-rgb: 147, 29, 55;
    --bs-secondary: #2c1c27;
    --bs-dark: #0c090d;
    --bs-light: var(--brand-cream);
}

/* Override any old color references from Bootstrap */
a { color: #931d37 !important; }
a:hover { color: #75172d !important; }
.btn-primary,
.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary,
.form-check-input:checked,
.form-range::-webkit-slider-thumb,
.form-range::-moz-range-thumb,
.dropdown-item.active,
.dropdown-item:active {
    background-color: #931d37 !important;
    border-color: #931d37 !important;
}
.btn-outline-primary { 
    color: #931d37 !important; 
    border-color: #931d37 !important; 
}
.btn-outline-primary:hover { 
    background-color: #931d37 !important; 
    border-color: #931d37 !important; 
    color: #ffffff !important;
}
.form-check-input:focus,
.btn-check:focus + .btn,
.btn:focus {
    box-shadow: 0 0 0 .25rem rgba(147, 29, 55, .25) !important;
}

body {
    font-family: "Tenor Sans", sans-serif;
    background-color: var(--brand-cream);
    color: #1b151a;
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Tenor Sans", sans-serif;
    letter-spacing: 0.05em;
    color: var(--brand-ink);
    font-weight: 700;
    text-transform: uppercase;
}

p, li {
    color: #372d34;
    font-family: "Tenor Sans", sans-serif;
    font-weight: 500;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
}

a:hover {
    color: #75172d;
    text-decoration: none;
}

.brand-sheen {
    background: radial-gradient(circle at 20% 20%, rgba(216, 179, 106, 0.2), transparent 35%),
        radial-gradient(circle at 80% 0%, rgba(147, 29, 55, 0.16), transparent 40%),
        linear-gradient(135deg, rgba(12, 9, 13, 0.8), rgba(12, 9, 13, 0.9));
}

.text-ink { color: var(--brand-ink); }
.text-gold { color: var(--brand-gold); }
.bg-ink { background-color: var(--brand-ink); }
.bg-cream { background-color: var(--brand-cream); }
.bg-gold { background: linear-gradient(135deg, #e3c88c, #c79b48); }

.btn-primary {
    background: linear-gradient(120deg, var(--brand-primary) 0%, #6e1128 100%);
    border-color: var(--brand-primary);
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(147, 29, 55, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(120deg, #7a142c 0%, var(--brand-primary) 100%);
    border-color: #7a142c;
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* Ensure text is white on brand primary backgrounds */
.bg-primary,
.bg-primary p,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6,
.bg-primary span,
.bg-primary a {
    color: #ffffff !important;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--brand-primary);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--brand-ink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    font-weight: 700;
    font-family: "Tenor Sans", sans-serif;
}

.glass-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 80px rgba(12, 9, 13, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 18px;
}

/*** 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: 0;
    transition: .4s ease;
}

.luxe-nav {
    padding: 14px 0;
    font-family: "Tenor Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.luxe-nav.nav-solid {
    background: rgba(12, 9, 13, 0.9);
    border-bottom: 1px solid rgba(216, 179, 106, 0.25);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(6px);
}

.luxe-nav .navbar-brand img {
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.luxe-nav .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 14px;
    outline: none;
    color: rgba(247, 240, 230, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.luxe-nav .navbar-nav .nav-link:hover,
.luxe-nav .navbar-nav .nav-link.active {
    color: var(--brand-gold);
}

.nav-wing {
    display: flex;
    gap: 6px;
}

.center-brand {
    order: 2;
    padding: 0 18px;
}

.center-brand img {
    height: 120px;
    width: auto;
    transition: height 0.3s ease;
}

.luxe-nav.nav-solid .center-brand img {
    height: 85px;
}

.luxe-nav .navbar-nav .nav-link {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

@media (min-width: 992px) {
    .nav-left { justify-content: flex-end; }
    .nav-right { justify-content: flex-start; }
    .nav-wing { gap: 6px; }
    .center-brand { margin: 0 10px; }
}

@media (max-width: 991.98px) {
    .luxe-nav {
        background: rgba(12, 9, 13, 0.9);
        border-bottom: 1px solid rgba(216, 179, 106, 0.25);
    }
    .nav-left, .nav-right {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 12px;
    }
    .center-brand {
        order: 0;
        margin-bottom: 8px;
    }
}

.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 {
    margin-top: -90px;
    padding-top: 160px;
    background: radial-gradient(circle at 20% 20%, rgba(216, 179, 106, 0.18), transparent 35%),
        radial-gradient(circle at 85% 0%, rgba(147, 29, 55, 0.22), transparent 40%),
        linear-gradient(120deg, #140d14 0%, #1f121d 45%, #0f0a0f 100%);
    color: #f7f0e6;
}

.hero-header h1,
.hero-header h5,
.hero-header p {
    color: #f7f0e6;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.hero-header .display-1 {
    line-height: 1.05;
    font-weight: 800;
    font-family: "Tenor Sans", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-header .lead {
    font-family: "Tenor Sans", sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(216, 179, 106, 0.16);
    color: #f7f0e6;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    font-family: "Tenor Sans", sans-serif;
}

.hero-badge small,
.hero-badge span {
    font-family: "Tenor Sans", sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-crest {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(147, 29, 55, 0.8), rgba(110, 17, 40, 0.8));
    display: grid;
    place-items: center;
    color: #f7f0e6;
    box-shadow: 0 12px 35px rgba(147, 29, 55, 0.35);
}

.header-carousel {
    position: relative;
    padding: 45px 60px 45px 0;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.35));
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 30px);
    height: 100%;
    background: linear-gradient(135deg, rgba(147, 29, 55, 0.9), rgba(110, 17, 40, 0.9));
    z-index: -1;
    border-radius: 22px;
}

.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;
}

.project-overlay h4 {
    font-family: "Tenor Sans", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.project-overlay small {
    font-family: "Tenor Sans", sans-serif;
    font-weight: 600;
}

.lux-tile {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(216, 179, 106, 0.28);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.lux-tile .project-overlay {
    background: linear-gradient(180deg, rgba(12, 9, 13, 0) 35%, rgba(12, 9, 13, 0.8) 100%);
    padding: 30px;
}

.lux-tile:hover img {
    transform: scale(1.12);
}


/*** 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-light);
    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-light);
}

/* Force bg-white to act like corrected bg-light but explicitly white */
.service-item.bg-white {
    background: #ffffff !important;
}
.service-item.bg-white:hover {
    background: var(--bs-primary) !important;
}
.service-item.bg-white p {
    color: var(--bs-secondary);
    transition: .5s;
}
.service-item.bg-white:hover p {
    color: #ffffff;
}
.service-item.bg-white .service-img h3 {
    background: #ffffff;
    color: var(--bs-dark);
    transition: .5s;
}
.service-item.bg-white:hover .service-img h3 {
    background: var(--bs-primary);
    color: #ffffff;
}


/*** 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);
    }
}

.lux-section-title {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: var(--brand-primary);
    font-weight: 800;
    font-family: "Tenor Sans", sans-serif;
}

.lux-section-title::before {
    content: "";
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, rgba(216, 179, 106, 0), rgba(216, 179, 106, 0.8));
}

.accent-divider {
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), #c99b4b);
    border-radius: 999px;
}

.accent-block {
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(147, 29, 55, 0.06);
    color: #3c2d32;
    border: 1px solid rgba(147, 29, 55, 0.18);
}

.finish-chip {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(12, 9, 13, 0.04);
    border: 1px solid rgba(216, 179, 106, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.finish-chip h5 {
    font-family: "Tenor Sans", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.finish-chip small {
    font-family: "Tenor Sans", sans-serif;
    font-weight: 500;
}

.signature-card {
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(247, 240, 230, 0.96));
    border: 1px solid rgba(216, 179, 106, 0.26);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.signature-card h5 {
    font-family: "Tenor Sans", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.signature-card p,
.signature-card small {
    font-family: "Tenor Sans", sans-serif;
}

.halo-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle, rgba(216, 179, 106, 0.35) 0%, rgba(216, 179, 106, 0) 65%);
    color: var(--brand-primary);
    font-size: 20px;
}

.heritage-panel {
    background: linear-gradient(160deg, rgba(12, 9, 13, 0.92), rgba(28, 18, 24, 0.9));
    color: #f7f0e6;
    border-radius: 20px;
    padding: 38px;
    border: 1px solid rgba(216, 179, 106, 0.22);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.heritage-panel h2,
.heritage-panel p,
.heritage-panel li {
    color: #f7f0e6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.heritage-panel h2 {
    font-family: "Tenor Sans", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.heritage-panel p,
.heritage-panel li {
    font-family: "Tenor Sans", sans-serif;
    font-weight: 500;
}

.badge-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badge-stack .pill {
    background: rgba(255, 255, 255, 0.14);
    color: #f7f0e6;
    border: 1px solid rgba(216, 179, 106, 0.3);
    font-family: "Tenor Sans", sans-serif;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.award-card {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(216, 179, 106, 0.24);
    color: #f7f0e6;
    font-family: "Tenor Sans", sans-serif;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@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);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(135deg, #931d37 0%, #6e1128 100%) !important;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6,
.footer p,
.footer span,
.footer li,
.footer i,
.footer .text-white {
    color: #ffffff !important;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 600;
    transition: .3s;
    font-family: "Tenor Sans", sans-serif;
}

.footer .btn.btn-link:hover {
    color: #ffffff !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-social {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.5) !important;
}

.footer .btn.btn-social:hover {
    background: #ffffff !important;
    color: #931d37 !important;
    border-color: #ffffff !important;
}

.footer .btn.btn-social:hover i {
    color: #931d37 !important;
}

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

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

.footer .copyright a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
}

.footer .copyright a:hover {
    color: #ffffff !important;
}

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

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


/* Added support for bg-white service items */
.service-item.bg-white:hover {
    background: var(--bs-primary) !important;
}

.service-item.bg-white p {
    color: var(--bs-secondary);
    transition: .5s;
}

.service-item.bg-white:hover p {
    color: var(--bs-light);
}

.service-item.bg-white .service-img h3 {
    background: #ffffff;
    color: var(--bs-dark);
    transition: .5s;
}

.service-item.bg-white:hover .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
}
