/* CSS Variables & Global Settings */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    /* Light / white theme, inspired by CherishX's clean white layout
       with a purple-magenta brand color and warm gold for premium accents */
    --bg-darker: #f6f3f9;
    /* soft lavender-tinted off-white for alternating sections */
    --bg-dark: #ffffff;
    /* main page background - white */
    --bg-card: #ffffff;
    /* card background */
    --bg-card-hover: #fdf9ff;

    --primary: #9a2ec7;
    /* CherishX-style purple/magenta */
    --primary-dark: #7b1fa2;
    --accent-gold: #d4af37;
    /* luxury champagne gold - kept for premium badges */
    --accent-gold-hover: #bda132;
    --text-muted: #6c6270;
    --text-heading: #241329;

    --font-primary: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(20, 7, 28, 0.08);

    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.25);
    --shadow-pink: 0 8px 20px rgba(154, 46, 199, 0.3);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-heading);
    font-family: var(--font-primary);
    max-width: 100%;
    overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: #d9c6e6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Typography & Accent Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.highlight {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #fff2cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-serif);
    font-style: italic;
}

.text-accent-gold {
    color: var(--accent-gold);
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
}

.title-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 0 auto;
}

.section-padding {
    padding: 90px 0;
}

/* Bootstrap Button Custom Overrides */
.btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 24px;
    transition: var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    box-shadow: var(--shadow-pink);
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(154, 46, 199, 0.45) !important;
}

/* Secondary button sits over the hero photo, so it keeps a light glass look */
.btn-secondary {
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: rgba(255, 255, 255, 0.22) !important;
    border-color: var(--accent-gold) !important;
    color: var(--accent-gold) !important;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
}

/* Navbar / Header Glassmorphism */
.navbar-header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-normal);
    z-index: 1050;
    /* Ensure it stays above bootstrap modals and layouts */
}

.nav-logo {
    height: 60px;
    width:auto;
    border-radius: 50%;
    /* border: 2px solid var(--accent-gold); */
    /* object-fit: cover; */
}

.logo-fallback-text {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-muted) !important;
    padding: 8px 0 !important;
    position: relative;
    transition: var(--transition-fast);
}

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

/* Animated Underline for Nav items on desktop */
@media (min-width: 992px) {
    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--accent-gold);
        transition: var(--transition-normal);
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 100%;
    }
}

/* Mobile Menu Toggle Bar styling */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
    background: transparent !important;
}

.mobile-toggle .bar {
    width: 24px;
    height: 3px;
    background-color: var(--text-heading);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.navbar-toggler[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: #241329;
    background-image: url('assets/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 25%, rgba(44, 14, 58, 0.4) 0%, rgba(12, 4, 16, 0.9) 100%);
    z-index: 1;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(12, 4, 16, 0.95) 25%, rgba(12, 4, 16, 0.6) 60%, rgba(12, 4, 16, 0.2) 100%);
    z-index: 2;
}

.hero-content-container {
    position: relative;
    z-index: 3;
    /* padding-top: 100px; */
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-gold);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.78);
}

/* Highlights Banner */
.highlights-banner {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 4;
}

.highlight-icon {
    font-size: 1.8rem;
    color: var(--accent-gold);
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 50%;
    border: 1px solid rgba(20, 7, 28, 0.06);
    box-shadow: 0 4px 12px rgba(20, 7, 28, 0.06);
}

.highlight-num {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-heading);
}

.highlight-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Services Cards */
.services-section {
    background-color: var(--bg-dark);
}

.service-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(20, 7, 28, 0.07);
    box-shadow: 0 4px 16px rgba(20, 7, 28, 0.06);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-card-hover);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 15px 30px rgba(20, 7, 28, 0.12), var(--shadow-gold);
}

.service-img-wrapper {
    height: 230px;
    overflow: hidden;
    background-color: var(--bg-darker);
}

.service-img {
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-icon-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #fff2cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
}

.service-card:hover .service-link {
    color: var(--primary);
    transform: translateX(4px);
}

/* Gallery Hover Overlays */
.gallery-section {
    background-color: var(--bg-darker);
}

.filter-btn {
    background: #ffffff;
    border: 1px solid rgba(20, 7, 28, 0.12);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 30px;
    padding: 8px 20px;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(154, 46, 199, 0.3);
}

.gallery-item-inner {
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--bg-dark);
}

.gallery-img {
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(12, 4, 16, 0.9) 0%, rgba(12, 4, 16, 0.4) 60%, rgba(12, 4, 16, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.06);
}

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

/* About Us stacked badge override */
.about-section {
    background-color: var(--bg-dark);
}

.about-img-main {
    border: 2px solid rgba(20, 7, 28, 0.08);
}

.floating-badge {
    bottom: -20px;
    right: -15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 16px;
    min-width: 130px;
    box-shadow: 0 10px 30px rgba(20, 7, 28, 0.25), var(--shadow-gold);
}

@media (max-width: 576px) {
    .floating-badge {
        right: 15px;
        bottom: -15px;
        padding: 12px !important;
    }
}

.floating-badge .years {
    font-size: 2.4rem;
    line-height: 1;
}

.floating-badge .text {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.bullet-icon {
    font-size: 1.1rem;
    color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.08);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

/* Contact Info Panel and QR Code Area */
.booking-section {
    background-color: var(--bg-darker);
}

.contact-method-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(20, 7, 28, 0.07);
    box-shadow: 0 3px 12px rgba(20, 7, 28, 0.05);
}

.contact-method-card:hover {
    background-color: var(--bg-card-hover);
    border-color: rgba(212, 175, 55, 0.35);
    transform: translateX(4px);
}

.method-icon {
    font-size: 1.3rem;
    color: var(--accent-gold);
    width: 46px;
    height: 46px;
    background-color: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.method-label {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #000000;
}

.method-value {
    font-size: 1.05rem;
     color: #000000;
}

.qr-code-area {
    background-color: rgba(154, 46, 199, 0.04);
    border: 1px dashed rgba(154, 46, 199, 0.25);
}

.qr-image {
    width: 90px;
    height: 90px;
    border: 3px solid #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(20, 7, 28, 0.15);
}

.fs-7 {
    font-size: 0.85rem;
}

/* Booking Form Controls Overrides */
.booking-form-wrapper {
    background-color: var(--bg-card);
    border: 1px solid rgba(20, 7, 28, 0.06);
    box-shadow: 0 10px 30px rgba(20, 7, 28, 0.08);
}

.form-control,
.form-select {
    background-color: #faf8fb !important;
    border: 1px solid rgba(20, 7, 28, 0.12) !important;
    color: var(--text-heading) !important;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.form-control::placeholder {
    color: rgba(36, 19, 41, 0.35);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.2) !important;
    outline: 0;
}

/* Bootstrap option menu color fix */
.form-select option {
    background-color: var(--bg-card);
    color: var(--text-heading);
}

.required {
    color: var(--primary);
}

/* Footer Customizations - a deep plum band anchors the light page,
   so the existing white footer text/icons stay legible */
.footer-area {
    background-color: #241329;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-area p,
.footer-area .operating-locations {
    color: rgba(255, 255, 255, 0.65);
}

.footer-logo {
    height: 48px;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
}

.footer-links a:hover {
    color: var(--accent-gold) !important;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: var(--transition-normal);
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--accent-gold);
    color: #241329 !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

/* Floating WhatsApp Button & Pulse Keyframes */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1040;
    transition: var(--transition-normal);
    animation: pulseWhatsApp 2s infinite;
}

.whatsapp-floating:hover {
    transform: scale(1.08) rotate(6deg);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: #241329;
    border: 1px solid var(--accent-gold);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.whatsapp-floating:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 66px;
}

@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Bootstrap Modal theme matching (Success + Inquire Now) */
.modal-content {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--accent-gold) !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(20, 7, 28, 0.25), var(--shadow-gold) !important;
}

.inquire-package-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--accent-gold-hover);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 4px 14px;
    border-radius: 30px;
}

.modal-header,
.modal-footer {
    border-color: rgba(20, 7, 28, 0.08) !important;
}

/* Dynamic Scroll reveals */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-element.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In animations for page load */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-up-delay {
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.25s forwards;
}

.animate-slide-up-delay-2 {
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

/* Mobile Responsive Menu and Typography Overrides */
@media (max-width: 992px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border: 1px solid var(--glass-border) !important;
        border-radius: 16px !important;
        padding: 24px !important;
        margin-top: 12px !important;
        box-shadow: 0 15px 35px rgba(20, 7, 28, 0.15) !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto !important;
        min-height: 100vh !important;
        padding-top: 100px !important;
        padding-bottom: 50px !important;
    }

    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 30px !important;
    }

    .section-padding {
        padding: 60px 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.1rem !important;
    }

    .section-title {
        font-size: 1.9rem !important;
    }

    .about-lead {
        font-size: 1rem !important;
    }

    .highlights-banner {
        padding: 15px 0 !important;
    }

    .highlight-num {
        font-size: 1.4rem !important;
    }

    .highlight-label {
        font-size: 0.7rem !important;
    }

    .floating-badge {
        right: 15px !important;
        bottom: -20px !important;
        padding: 10px 16px !important;
    }

    .floating-badge .years {
        font-size: 1.8rem !important;
    }

    .booking-form-wrapper {
        padding: 24px 16px !important;
    }

    .whatsapp-floating {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.7rem !important;
        bottom: 20px !important;
        right: 20px !important;
    }
}