/********** Warm Champagne Ivory & Velvet Rose Theme **********/

:root {
    --bs-primary: #C82368;
    --bs-secondary: #F3EAE4;
    --bs-dark: #381826;
    --bs-light: #FAF6F2;
    --theme-bg: #FAF6F2;
    --theme-alt: #F3EAE4;
    --theme-surface: #FFFFFF;
    --theme-plum: #381826;
    --theme-heading: #261920;
    --theme-text: #4F4349;
    --theme-muted: #7B6B73;
    --theme-accent: #C82368;
    --theme-accent-hover: #A61B55;
    --theme-border: rgba(38, 25, 32, 0.1);
}

html, body {
    overflow-x: clip;
    max-width: 100%;
    background-color: var(--theme-bg) !important;
    color: var(--theme-text) !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--theme-heading);
}

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

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

.bg-secondary {
    background-color: var(--theme-alt) !important;
}

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

.border-theme {
    border-color: var(--theme-border) !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background-color: var(--theme-surface);
    box-shadow: 0 4px 15px rgba(38, 25, 32, 0.15);
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background-color: var(--theme-bg) !important;
}

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


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .35s ease;
    border-radius: 50px;
}

.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: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

.btn-primary {
    background-color: var(--theme-accent) !important;
    border-color: var(--theme-accent) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(200, 35, 104, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--theme-accent-hover) !important;
    border-color: var(--theme-accent-hover) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 35, 104, 0.35);
}

.btn-outline-primary {
    color: var(--theme-accent) !important;
    border-color: var(--theme-accent) !important;
}

.btn-outline-primary:hover {
    background-color: var(--theme-accent) !important;
    border-color: var(--theme-accent) !important;
    color: #FFFFFF !important;
}


/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    transition: .4s ease;
}

.navbar-brand h2 {
    font-size: clamp(1.2rem, 4.5vw, 1.85rem);
    letter-spacing: 1px;
    color: #FFFFFF !important;
    transition: color 0.3s ease;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 34px 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    outline: none;
    transition: .35s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #F8A5C6;
}

.navbar .btn-nav-cta {
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.75) !important;
}

.navbar .btn-nav-cta:hover {
    background-color: var(--theme-accent) !important;
    border-color: var(--theme-accent) !important;
    color: #FFFFFF !important;
}

/* Scrolled Sticky Navbar (Warm Ivory) */
.navbar.bg-dark {
    background-color: rgba(250, 246, 242, 0.97) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--theme-border);
}

.navbar.bg-dark .navbar-brand h2 {
    color: var(--theme-accent) !important;
}

.navbar.bg-dark .navbar-nav .nav-link {
    color: var(--theme-heading);
    padding: 20px 0;
}

.navbar.bg-dark .navbar-nav .nav-link:hover,
.navbar.bg-dark .navbar-nav .nav-link.active {
    color: var(--theme-accent);
}

.navbar.bg-dark .navbar-toggler {
    border-color: rgba(38, 25, 32, 0.25);
}

.navbar.bg-dark .navbar-toggler-icon {
    filter: invert(1) brightness(0.2);
}

.navbar.bg-dark .btn-nav-cta {
    color: var(--theme-accent) !important;
    border-color: var(--theme-accent) !important;
}

.navbar.bg-dark .btn-nav-cta:hover {
    color: #FFFFFF !important;
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 12px 15px;
        background: rgba(56, 24, 38, 0.78);
        backdrop-filter: blur(8px);
    }

    .navbar .navbar-collapse {
        background: var(--theme-bg);
        border-radius: 12px;
        padding: 15px 20px;
        margin-top: 10px;
        box-shadow: 0 12px 30px rgba(38, 25, 32, 0.18);
        border: 1px solid var(--theme-border);
    }

    .navbar .navbar-nav {
        margin-top: 4px;
    }

    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 12px 0;
        color: var(--theme-heading) !important;
        border-bottom: 1px solid rgba(38, 25, 32, 0.07);
    }

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

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


/*** Header & Hero Carousel ***/
#header-carousel .carousel-item {
    position: relative;
    min-height: 540px;
    max-height: 85vh;
}

#header-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 90px;
    background: linear-gradient(180deg, rgba(46, 18, 32, 0.62) 0%, rgba(56, 24, 38, 0.45) 50%, rgba(46, 18, 32, 0.72) 100%);
    z-index: 1;
}

.carousel-caption h1,
.carousel-caption h5 {
    color: #FFFFFF !important;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 480px;
        height: 75vh;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
    }

    .carousel-caption {
        padding: 85px 15px 30px;
    }

    .carousel-caption h1.display-1 {
        font-size: clamp(1.85rem, 7.5vw, 3rem) !important;
        line-height: 1.2;
        letter-spacing: 0.5px;
    }

    .carousel-caption h5 {
        font-size: 14px;
        letter-spacing: 2px !important;
        margin-bottom: 0.75rem !important;
    }
}

.page-header {
    padding-top: 185px;
    padding-bottom: 50px;
    background: linear-gradient(rgba(56, 24, 38, 0.72), rgba(56, 24, 38, 0.78)), url(../img/image.png) top center no-repeat;
    background-size: cover;
}

.page-header h1 {
    color: #FFFFFF !important;
}

@media (max-width: 768px) {
    .page-header {
        padding-top: 130px;
        padding-bottom: 35px;
    }

    .page-header h1.display-4 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}


/*** Title ***/
.title {
    margin-bottom: 1.5rem;
    max-width: 100%;
    overflow: hidden;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
    max-width: 100%;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--theme-accent) !important;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid rgba(200, 35, 104, 0.35);
}

.carousel-caption .title .title-center h5 {
    color: #FFFFFF !important;
}

.carousel-caption .title .title-center h5::before,
.carousel-caption .title .title-center h5::after,
.carousel-caption .title .title-center h1 {
    border-color: rgba(255, 255, 255, 0.75) !important;
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 2px solid rgba(200, 35, 104, 0.35);
    padding-bottom: 8px;
    font-size: clamp(1.6rem, 5.5vw, 2.75rem);
    line-height: 1.25;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 576px) {
    .title .title-left h5,
    .title .title-center h5,
    .title .title-right h5 {
        font-size: 13px;
    }
    .title .title-left h1,
    .title .title-center h1,
    .title .title-right h1 {
        font-size: 1.65rem;
    }
}


/*** Stat Pills & Rate Cards ***/
.stat-pill,
.rate-card {
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    box-shadow: 0 3px 12px rgba(38, 25, 32, 0.04);
    color: var(--theme-text);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat-pill:hover,
.rate-card:hover {
    transform: translateY(-2px);
    border-color: rgba(200, 35, 104, 0.35);
    box-shadow: 0 6px 18px rgba(200, 35, 104, 0.08);
}


/*** Testimonial Carousel ***/
.testimonial-carousel {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
}

.testimonial-carousel .testimonial-item p {
    color: var(--theme-heading);
    font-style: italic;
}

.testimonial-carousel .testimonial-item h5 {
    color: var(--theme-heading);
    margin-top: 1.25rem;
    font-weight: 700;
}

.testimonial-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.testimonial-carousel .owl-nav button.owl-prev,
.testimonial-carousel .owl-nav button.owl-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--theme-surface) !important;
    color: var(--theme-accent) !important;
    border: 1px solid rgba(200, 35, 104, 0.3) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(38, 25, 32, 0.08);
    transition: all 0.25s ease;
}

.testimonial-carousel .owl-nav button.owl-prev:hover,
.testimonial-carousel .owl-nav button.owl-next:hover {
    background: var(--theme-accent) !important;
    color: #FFFFFF !important;
    border-color: var(--theme-accent) !important;
    transform: translateY(-2px);
}

.testimonial-carousel .owl-dots {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.testimonial-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(200, 35, 104, 0.25);
    display: block;
    transition: all 0.3s ease;
}

.testimonial-carousel .owl-dots .owl-dot.active span {
    width: 26px;
    border-radius: 99px;
    background: var(--theme-accent);
}

.swipe-hint span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--theme-muted);
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    box-shadow: 0 2px 8px rgba(38, 25, 32, 0.04);
}

@keyframes swipeNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

.swipe-hint .bi-arrow-right {
    animation: swipeNudge 1.6s ease-in-out infinite;
}

.swipe-hint .bi-arrow-left {
    animation: swipeNudge 1.6s ease-in-out infinite reverse;
}

@media (max-width: 768px) {
    .testimonial-carousel {
        padding: 0 10px;
    }
    .testimonial-carousel .testimonial-item p {
        font-size: 1.05rem !important;
        line-height: 1.6;
    }
    .testimonial-carousel .testimonial-item h5 {
        font-size: 0.95rem;
    }
}


/*** Footer (Velvet Plum / Wine) ***/
@keyframes footerAnimatedBg {
	0% {
        background-position: 0 0;
    }

	100% {
        background-position: -1000px 0;
    }
}

.footer {
    background-color: var(--theme-plum) !important;
	background-image: linear-gradient(rgba(56, 24, 38, 0.88), rgba(56, 24, 38, 0.92)), url(../img/footer-bg.png);
	background-position: 0px 0px;
    background-repeat: repeat-x;
	animation: footerAnimatedBg 50s linear infinite;
    color: rgba(250, 246, 242, 0.85) !important;
}

.footer h1 {
    color: #FFFFFF !important;
}

.footer .btn-outline-primary {
    color: #F8A5C6 !important;
    border-color: rgba(248, 165, 198, 0.6) !important;
}

.footer .btn-outline-primary:hover {
    background-color: var(--theme-accent) !important;
    border-color: var(--theme-accent) !important;
    color: #FFFFFF !important;
}

@media (max-width: 768px) {
    .footer {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .footer h1.display-4 {
        font-size: clamp(1.6rem, 5.5vw, 2.25rem);
    }
}


/*** Custom Gallery & Interactive Enhancements ***/
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(38, 25, 32, 0.12);
    background: var(--theme-surface);
    border: 4px solid var(--theme-surface);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(200, 35, 104, 0.22);
}

.gallery-card a {
    display: block;
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.92);
}

.gallery-card .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(200, 35, 104, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card .gallery-overlay i {
    font-size: 1.75rem;
    padding: 14px;
    border-radius: 50%;
    background: rgba(56, 24, 38, 0.72);
    color: #FFFFFF;
}

@media (max-width: 991.98px) {
    .gallery-card img {
        height: 340px;
    }
}

@media (max-width: 767.98px) {
    .gallery-card img {
        height: 290px;
    }
}

@media (max-width: 575.98px) {
    .gallery-card img {
        height: 320px;
    }
}


/*** Contact Table & Form Controls (Light Editorial) ***/
.contact-card {
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    box-shadow: 0 10px 30px rgba(38, 25, 32, 0.06);
}

.contact-table {
    background-color: var(--theme-surface) !important;
    color: var(--theme-text) !important;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--theme-border);
}

.contact-table td {
    word-break: break-word;
    overflow-wrap: anywhere;
    vertical-align: middle;
    padding: 1rem;
    border-color: var(--theme-border) !important;
    background-color: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}

.form-control, .form-select {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
    background-color: var(--theme-bg) !important;
    color: var(--theme-heading) !important;
    border: 1px solid rgba(38, 25, 32, 0.15) !important;
}

.form-control:focus, .form-select:focus {
    background-color: #FFFFFF !important;
    border-color: var(--theme-accent) !important;
    box-shadow: 0 0 0 0.25rem rgba(200, 35, 104, 0.15) !important;
}

.form-floating > label {
    color: var(--theme-muted) !important;
}

@media (max-width: 576px) {
    .back-to-top {
        right: 18px;
        bottom: 18px;
        width: 44px;
        height: 44px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


/*** Floating & Bouncing Animations ***/
@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes softBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-9px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.btn-float {
    animation: gentleFloat 3s ease-in-out infinite;
}

.btn-float:hover {
    animation-play-state: paused;
    transform: translateY(-4px) scale(1.02);
}

/* Floating Quick-Contact Pill */
.floating-contact-pill {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 98;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 50px;
    background: var(--theme-accent);
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(200, 35, 104, 0.38);
    animation: gentleFloat 3.2s ease-in-out infinite;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.floating-contact-pill:hover {
    background: var(--theme-accent-hover);
    color: #FFFFFF !important;
    box-shadow: 0 12px 30px rgba(200, 35, 104, 0.5);
    animation-play-state: paused;
    transform: translateY(-3px);
}

@media (max-width: 576px) {
    .floating-contact-pill {
        left: 16px;
        bottom: 18px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* Hero Scroll-Down Bounce Arrow */
.hero-scroll-down {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.6rem;
    text-decoration: none;
    animation: softBounce 2.4s infinite;
}

.hero-scroll-down:hover {
    color: #F8A5C6 !important;
}

/* Springy hover bounce on cards */
.gallery-card,
.stat-pill,
.rate-card {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

