/* Color Palette - Modern Pastel Boutique */
:root {
    --primary-color: #C9AEDC; /* Soft Lavender */
    --primary-hover: #B895C8;
    --secondary-color: #E9D9E8;
    --accent-color: #DCC7E8;
    
    --background-color: #FFF9F8; /* Main Background */
    --section-bg: #F8F1F2; /* Section Background */
    --surface-color: #FFFFFF; /* Card Background */
    
    --nav-bg: #FFFFFF;
    
    --surface-border: #E8DDDD;
    --divider: #EFE6E6;
    
    --text-color: #2D2333; /* Deep elegant aubergine charcoal for Headings */
    --body-text: #453E47; /* Darker grey-purple for Body Text */
    --text-muted: #736B77; /* Darker muted cool grey for better visibility */
    
    --status-success: #7BAE7F;
    --status-warning: #E8B04D;
    --status-error: #D96A6A;
    
    --gold: var(--text-color); /* Mapped to dark text for contrast on light mode */
    --accent-pink: var(--primary-hover); 
    --blob-color: var(--secondary-color); 
    --theme-close-btn-filter: none;
    
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
    --cursive-font: 'Alex Brush', cursive;
}

[data-theme="dark"] {
    --primary-color: #C9AEDC;
    --primary-hover: #E9D9E8;
    --secondary-color: #4A3B52; /* Deep moody lavender */
    --accent-color: #B895C8;
    
    --background-color: #1A151C; /* Very dark aubergine/charcoal */
    --section-bg: #231D26;
    --surface-color: #2A232D; 
    
    --nav-bg: rgba(26, 21, 28, 0.95);
    
    --surface-border: #3D3342;
    --divider: #3D3342;
    
    --text-color: #F8F1F2; /* Soft white/pinkish */
    --body-text: #E5D5EF; 
    --text-muted: #B3A19E;
    
    --blob-color: #2A232D; 
    --gold: var(--primary-color); /* Lavender pops well on dark mode */
    --theme-close-btn-filter: invert(1) grayscale(1) brightness(2);
}


body {
    font-family: var(--body-font);
    color: var(--body-text);
    background: linear-gradient(-45deg, var(--background-color), var(--section-bg), #FFFFFF, var(--secondary-color));
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
    line-height: 1.8;
    padding-top: 82px; /* matches navbar height */
    font-weight: 300;
}

[data-theme="dark"] body {
    background: linear-gradient(-45deg, var(--background-color), var(--section-bg), #111, var(--secondary-color));
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* Base elements */
a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.4s ease;
}

a:hover {
    color: #e3c078;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 400;
    color: var(--text-color); /* Heading color */
    letter-spacing: 1px;
}

h1 i, h2 i, h3 i, .heading-italic, .cursive-accent {
    font-family: var(--cursive-font);
    font-style: normal;
    font-weight: 400;
    color: var(--accent-pink); /* Use the exact soft rose pink here */
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.2em; /* Slightly larger for the cursive font */
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Bootstrap Overrides for Cohesive Theme */
.bg-primary { background-color: var(--primary-color) !important; }
.text-primary { color: var(--gold) !important; }
.border-primary { border-color: var(--surface-border) !important; }

/* ============================================
   GLOBAL BACKGROUND BLOBS
   ============================================ */
.global-blobs-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    opacity: 0.6; /* Soft mystical opacity */
}

.blob-top-right {
    position: absolute;
    top: -20vh;
    right: -15vw;
    width: 65vw;
    max-width: 900px;
    height: auto;
    animation: floatBlob 25s ease-in-out infinite alternate;
}

.blob-bottom-left {
    position: absolute;
    bottom: -20vh;
    left: -15vw;
    width: 75vw;
    max-width: 1100px;
    height: auto;
    animation: floatBlob 30s ease-in-out infinite alternate-reverse;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(-50px, 60px) rotate(5deg) scale(1.05); }
}

/* ============================================
   NAVIGATION — Professional Editorial Bar
   ============================================ */
.main-nav {
    background-color: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--surface-border);
    padding: 0 16px;
    height: 82px;
    display: flex;
    align-items: center;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.main-nav.scrolled {
    box-shadow: 0 2px 30px rgba(0,0,0,0.1);
}

/* Brand */
.navbar-brand {
    font-family: var(--heading-font);
    color: var(--gold) !important;
    font-weight: 400;
    letter-spacing: 1px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.navbar-logo-icon {
    color: var(--gold);
    display: flex;
    align-items: center;
    transition: transform 0.5s ease;
}
.navbar-brand:hover .navbar-logo-icon {
    transform: rotate(72deg);
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 1px;
}
.brand-line1 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    font-family: var(--body-font);
    font-weight: 400;
}
.brand-line2 {
    font-size: 1.6rem;
    font-family: var(--heading-font);
    color: var(--gold);
    letter-spacing: 2px;
    font-weight: 400;
    font-style: italic;
}

/* Desktop nav links */
.nav-desktop .nav-link {
    color: var(--text-color) !important;
    font-family: var(--body-font);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    padding: 8px 18px;
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
    border-bottom: none !important;
    margin: 0;
}
.nav-desktop .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}
.nav-desktop .nav-link:hover {
    color: var(--gold) !important;
    border-bottom: none !important;
}
.nav-desktop .nav-link:hover::after {
    transform: scaleX(1);
}

/* Vertical divider */
.nav-divider {
    width: 1px;
    height: 28px;
    background: var(--surface-border);
    margin: 0 12px;
    flex-shrink: 0;
}

/* Log In button */
.nav-btn-login {
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 16px;
    transition: color 0.3s ease;
}
.nav-btn-login:hover {
    color: var(--gold);
}

/* Sign Up button */
.nav-btn-signup {
    color: var(--gold);
    font-family: var(--body-font);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--surface-border);
    transition: all 0.3s ease;
    margin: 0 4px;
}
.nav-btn-signup:hover {
    border-color: var(--gold);
    background: transparent;
    color: var(--gold);
}

/* Book a Reading CTA */
.nav-btn-book {
    background: var(--primary-color);
    color: var(--text-color) !important;
    font-family: var(--body-font);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 11px 26px;
    border-radius: 30px;
    margin-left: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.nav-btn-book:hover {
    background: var(--primary-hover);
    color: var(--text-color) !important;
    box-shadow: 0 8px 25px rgba(201, 174, 220, 0.4);
    transform: translateY(-2px);
}

/* Logged-in user button */
.nav-user-btn {
    color: var(--text-color) !important;
    font-family: var(--body-font);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 14px;
    border: 1px solid var(--surface-border);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: none !important;
}
.nav-user-btn:hover {
    border-color: var(--gold);
    color: var(--gold) !important;
}
.nav-user-btn::after {
    display: none !important;
}

/* Dropdown */
.nav-dropdown {
    background-color: var(--nav-bg) !important;
    border: 1px solid var(--surface-border) !important;
    border-radius: 0 !important;
    backdrop-filter: blur(16px);
    padding: 0;
    min-width: 160px;
    margin-top: 8px;
}
.nav-dropdown .dropdown-item {
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 20px;
    transition: all 0.2s ease;
    background: transparent;
}
.nav-dropdown .dropdown-item:hover {
    color: var(--gold);
    background: transparent;
}
.nav-dropdown .dropdown-divider {
    border-color: var(--surface-border);
    margin: 0;
}

/* Theme toggle button */
.nav-theme-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    margin-left: 8px;
}
.nav-theme-btn:hover { color: var(--gold); }
/* Show sun in dark mode, moon in light mode */
[data-theme="dark"] #icon-sun, [data-theme="dark"] #icon-sun-m  { display: none; }
[data-theme="dark"] #icon-moon, [data-theme="dark"] #icon-moon-m { display: block; }
[data-theme="light"] #icon-sun, [data-theme="light"] #icon-sun-m { display: block; }
[data-theme="light"] #icon-moon, [data-theme="light"] #icon-moon-m { display: none; }

/* Custom hamburger for mobile */
.navbar-toggler-custom {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.navbar-toggler-custom span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform-origin: center;
}

/* ---- Mobile off-canvas menu ---- */
.mobile-menu {
    background-color: var(--background-color) !important;
    border-left: 1px solid var(--surface-border) !important;
    width: 300px !important;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
}
.mobile-nav-links a {
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid var(--surface-border);
    transition: color 0.3s ease;
    display: block;
}
.mobile-nav-links a:hover {
    color: var(--gold);
}

.mobile-nav-cta {
    display: block;
    background: linear-gradient(135deg, #8a54d6, #a777e3);
    color: #ffffff !important;
    font-family: var(--body-font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 20px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(138, 84, 214, 0.2);
}
.mobile-nav-cta:hover {
    background: linear-gradient(135deg, #9f6bf0, #b98bf0);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 84, 214, 0.3);
}

.mobile-nav-secondary {
    display: block;
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 8px;
    border: 1px solid var(--surface-border);
    transition: all 0.3s ease;
}
.mobile-nav-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.mobile-nav-logout {
    display: block;
    color: #c0392b;
    font-family: var(--body-font);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 8px;
    border: 1px solid rgba(192,57,43,0.4);
    text-align: center;
    transition: all 0.3s ease;
}
.mobile-nav-logout:hover {
    border-color: #c0392b;
    background: rgba(192,57,43,0.08);
    color: #c0392b;
}


/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border: none;
    color: var(--text-color) !important;
    font-family: var(--body-font);
    text-transform: none;
    letter-spacing: 0.5px;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 12px 35px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(201, 174, 220, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--text-color) !important;
    box-shadow: 0 10px 25px rgba(201, 174, 220, 0.5);
    transform: translateY(-3px);
}

.btn-outline-primary {
    background: #ffffff;
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    border-radius: 30px;
    text-transform: none;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 35px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-outline-primary:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover);
    color: var(--text-color) !important;
    box-shadow: 0 10px 25px rgba(201, 174, 220, 0.3);
    transform: translateY(-3px);
}

[data-theme="dark"] .btn-outline-primary {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold) !important;
}

[data-theme="dark"] .btn-outline-primary:hover {
    background: var(--gold) !important;
    color: var(--background-color) !important;
}

/* Editorial Cards */
.service-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    height: 100%;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 25px 50px rgba(201, 174, 220, 0.25), 0 10px 20px rgba(0,0,0,0.03);
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 10px 20px rgba(0,0,0,0.2);
}

.service-card .card-body {
    padding: 2rem;
    border-top: none;
    margin-top: 0;
}

.service-card .card-title {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.service-price {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* Card Images - Soft Pastel Treatment */
.card-img-top, .vintage-img {
    border-radius: 18px 18px 0 0;
    object-fit: cover;
    border: none;
    padding: 0;
    background: var(--surface-color);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.vintage-img.rounded-4 {
    border-radius: 18px !important;
}

.service-card:hover .card-img-top, .vintage-img:hover {
    transform: scale(1.03);
}

/* Hero Section */
.hero-section {
    padding: 150px 0 100px;
    background-color: var(--background-color);
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--surface-border);
}

/* Hero title/subtitle base — overridden inside .carousel-caption-custom */
/* See carousel section for slider-specific text styles */


/* Footer */
.site-footer {
    background-color: var(--background-color);
    padding: 80px 0 40px;
    border-top: 1px solid var(--surface-border);
    margin-top: 80px;
}

/* Tables */
.table, .table > :not(caption) > * > * { 
    color: var(--text-color) !important; 
    background-color: transparent !important;
    --bs-table-color: var(--text-color);
    --bs-table-bg: transparent;
}
.table-hover > tbody > tr:hover > * {
    color: var(--gold) !important;
}

/* Forms (Editorial Minimalist) */
.form-control, .form-select {
    border-radius: 12px;
    border: 1px solid var(--surface-border);
    padding: 14px 18px;
    background-color: var(--surface-color) !important;
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.4s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: none;
    background-color: transparent;
    color: var(--gold);
}
.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
    font-weight: 300;
}

.form-label {
    font-weight: 300;
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0;
}

/* Input group text */
.input-group-text {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--surface-border);
    color: var(--gold);
    border-radius: 0;
}

/* Modal */
.modal-content {
    background: var(--background-color);
    border: 1px solid var(--gold);
    border-radius: 0;
    color: var(--text-color);
}
.modal-header { border-bottom: 1px solid var(--surface-border); }
.modal-footer { border-top: 1px solid var(--surface-border); }

/* Utilities */
.text-gold {
    color: var(--gold) !important;
}
.bg-soft {
    background-color: var(--section-bg);
}
.border-gold {
    border: 1px solid var(--surface-border) !important;
}

/* Editorial Panel */
.editorial-panel {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 18px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

/* Accordion Custom Styling */
.accordion-item {
    background-color: transparent !important;
    border: none;
    border-bottom: 1px solid var(--surface-border) !important;
    border-radius: 0 !important;
}

.accordion-button {
    background-color: transparent !important;
    color: var(--gold) !important;
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 300;
    padding: 25px 0;
    box-shadow: none !important;
    border: none;
    border-radius: 0 !important;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: var(--text-color) !important;
}

.accordion-button::after {
    filter: sepia(1) saturate(5) hue-rotate(340deg); /* Color match arrow to gold */
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.accordion-body {
    padding: 0 0 30px 0;
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.8;
}

/* Footer Link Transitions */
.footer-links a {
    transition: color 0.3s ease !important;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--gold) !important;
}

/* Card & List-Group Custom Styling */
.card {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(201, 174, 220, 0.15), 0 5px 15px rgba(0,0,0,0.02);
    color: var(--body-text);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .card {
    background: rgba(42, 35, 45, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0,0,0,0.1);
}

.list-group-item {
    background-color: transparent !important;
    border: 1px solid var(--surface-border) !important;
    color: var(--text-color) !important;
    font-family: var(--body-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 15px 20px;
    border-radius: 0 !important;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: var(--primary-hover) !important;
    color: var(--gold) !important;
}

.list-group-item.active {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--background-color) !important;
}

.reading-card {
    background-color: transparent !important;
    border: 1px solid var(--surface-border) !important;
    border-radius: 0 !important;
}

/* Custom Editorial Carousel */
.editorial-carousel {
    border-bottom: 1px solid var(--surface-border);
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 70vh;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Layer 1: moderate full-screen darkening so image is still visible */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

/* Layer 2: strong elliptical vignette focused on the text area (centre) */
.carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(
        ellipse 70% 60% at 50% 50%,
        rgba(0, 0, 0, 0.6) 0%,
        transparent 80%
    );
}

/* Light mode: slightly lighter but still enough contrast for text */
[data-theme="light"] .carousel-item::before {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}
[data-theme="light"] .carousel-item::after {
    background: radial-gradient(
        ellipse 70% 60% at 50% 50%,
        rgba(0, 0, 0, 0.55) 0%,
        transparent 80%
    );
}

.carousel-caption-custom {
    position: relative;
    z-index: 2;  /* sits above both ::before and ::after overlays */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 80px;
}

/* ─── Hero Text Styles ─── */
.hero-title {
    font-size: 5rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

/* Gold italic parts inside the title */
.hero-title i {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 40px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.9;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--gold) !important;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
}

.carousel-indicators {
    bottom: 25px !important; /* Push indicators further down */
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: sepia(1) saturate(5) hue-rotate(340deg); /* Golden arrows */
}

/* ─── Hero Slider Buttons — always readable on any image background ─── */
.hero-slider-btn {
    display: inline-block;
    background: var(--gold);
    color: #0d0d0d !important;
    font-family: var(--body-font);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 30px;
    border: 1px solid var(--gold);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.hero-slider-btn:hover {
    background: transparent;
    color: var(--gold) !important;
    box-shadow: 0 6px 30px rgba(0,0,0,0.5);
}

.hero-slider-btn-ghost {
    display: inline-block;
    background: transparent;
    color: #ffffff !important;
    font-family: var(--body-font);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 30px;
    border: 1px solid rgba(255,255,255,0.6);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-slider-btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold) !important;
    box-shadow: 0 6px 30px rgba(0,0,0,0.4);
}


/* Responsive Media Queries */
@media (max-width: 1199.98px) {
    .hero-title, .hero-heading {
        font-size: 3.2rem !important;
    }
    .brand-line1 { font-size: 0.65rem; letter-spacing: 2px; }
    .brand-line2 { font-size: 1.3rem; }
    .nav-desktop .nav-link { padding: 8px 12px; }
}

@media (max-width: 991.98px) {
    .hero-title, .hero-heading {
        font-size: 2.8rem !important;
    }
    .carousel-item {
        height: 60vh;
        min-height: 420px;
    }
    .navbar-collapse {
        background-color: var(--nav-bg);
        border: 1px solid var(--surface-border);
        padding: 25px;
        margin-top: 15px;
    }
    .nav-link {
        margin: 10px 0;
        padding-bottom: 5px;
        text-align: center;
    }
    .navbar-nav {
        width: 100%;
    }
    .hero-img {
        height: auto !important;
        max-height: 450px;
    }
}

@media (max-width: 767.98px) {
    .hero-title, .hero-heading {
        font-size: 2.4rem !important;
    }
    h1, .h1 { font-size: 2.2rem !important; }
    h2, .h2 { font-size: 1.8rem !important; }
    h3, .h3 { font-size: 1.5rem !important; }
    
    .experience-badge {
        width: 100px !important;
        height: 100px !important;
        padding: 10px !important;
        bottom: -10px !important;
        left: -10px !important;
    }
    .experience-badge span.fw-bold { font-size: 1.2rem !important; }
    .experience-badge span.text-uppercase { font-size: 0.5rem !important; }
    
    /* Optimize Touch Targets and prevent iOS zoom */
    input, select, textarea {
        font-size: 16px !important;
        min-height: 48px;
    }
    .btn, .nav-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Maximize Screen Real Estate */
    .py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
    .my-5 { margin-top: 2.5rem !important; margin-bottom: 2.5rem !important; }
    
    /* Footer layout for mobile */
    .site-footer { text-align: center; }
    .site-footer .d-flex.gap-3 { justify-content: center !important; }
    .site-footer .list-unstyled { align-items: center; }

    .hero-img {
        height: auto !important;
        max-height: 350px;
        width: 100%;
        object-fit: cover;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.4rem;
    }
    .hero-title, .hero-heading {
        font-size: 1.8rem !important;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px !important;
    }
    .carousel-item {
        height: 65vh;
        min-height: 380px;
    }
    .carousel-caption-custom {
        padding: 110px 15px 90px;
    }
    .btn-primary, .btn-outline-primary {
        padding: 12px 25px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }
    .service-card .card-img-top {
        height: 250px !important;
    }
    .editorial-panel {
        padding: 1.5rem;
    }
    .display-4 {
        font-size: 1.8rem !important;
    }
    .hero-img {
        height: auto !important;
        max-height: 300px;
    }
}

/* ============================================
   CUSTOMER DASHBOARD ENHANCEMENTS
   ============================================ */

/* Mobile Horizontal Nav */
.dash-nav-scroll {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid var(--surface-border);
    margin-bottom: 2rem;
    scrollbar-width: none; /* Firefox */
}
.dash-nav-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.dash-nav-pills .nav-item {
    display: inline-block;
}
.dash-nav-pills .nav-link {
    color: var(--text-muted);
    font-family: var(--body-font);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.dash-nav-pills .nav-link i {
    font-size: 1.1rem;
    margin-right: 6px;
    vertical-align: text-bottom;
}
.dash-nav-pills .nav-link:hover {
    color: var(--gold);
    background: rgba(201, 174, 220, 0.1);
}
.dash-nav-pills .nav-link.active {
    background: var(--gold);
    color: var(--background-color) !important;
    box-shadow: 0 4px 15px rgba(201, 174, 220, 0.3);
}

/* Glassmorphism Welcome Header */
.dash-welcome-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}
[data-theme="dark"] .dash-welcome-card {
    background: linear-gradient(135deg, rgba(42,35,45,0.6) 0%, rgba(42,35,45,0.2) 100%);
    border: 1px solid rgba(255,255,255,0.05);
}
.dash-welcome-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(40px);
    z-index: 0;
}
.dash-welcome-content {
    position: relative;
    z-index: 1;
}

/* Reading Ticket Cards */
.ticket-card {
    background: var(--surface-color);
    border: 1px dashed var(--surface-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
}
.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.04);
    border-color: var(--gold);
}
.ticket-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}
.ticket-footer {
    border-top: 1px dashed var(--surface-border);
    background: var(--section-bg);
    border-radius: 0 0 16px 16px;
}

/* Premium Wallet Card */
.wallet-card {
    background: linear-gradient(135deg, var(--text-color) 0%, #1a1a1a 100%);
    border-radius: 20px;
    color: #fff;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
[data-theme="dark"] .wallet-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--background-color);
}
.wallet-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}
.wallet-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

/* Journal Masonry/Timeline */
.journal-entry {
    background: var(--surface-color);
    border-left: 4px solid var(--gold);
    border-radius: 0 16px 16px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

/* =========================================
   PREMIUM DASHBOARD ADVANCED UI OVERHAUL
   ========================================= */

/* Glassmorphism Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-theme="dark"] .glass-panel {
    background: rgba(42, 35, 45, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Micro-animations */
.hover-glow:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15); /* Gold glow */
}
[data-theme="dark"] .hover-glow:hover {
    box-shadow: 0 15px 40px rgba(201, 174, 220, 0.15); /* Lavender glow */
}

/* Staggered Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Premium Sidebar Navigation */
.dash-nav-pills .nav-link {
    border-radius: 12px;
    padding: 12px 20px;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dash-nav-pills .nav-link i {
    font-size: 1.1rem;
    margin-right: 10px;
    color: var(--gold);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.dash-nav-pills .nav-link:hover {
    color: var(--text-color);
    background: rgba(212, 175, 55, 0.05);
}

.dash-nav-pills .nav-link.active {
    background: var(--gold);
    color: var(--surface-color);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}
[data-theme="dark"] .dash-nav-pills .nav-link.active {
    background: var(--primary-color);
    color: var(--background-color);
    box-shadow: 0 8px 20px rgba(201, 174, 220, 0.2);
}
.dash-nav-pills .nav-link.active i {
    color: var(--surface-color);
    opacity: 1;
}
[data-theme="dark"] .dash-nav-pills .nav-link.active i {
    color: var(--background-color);
}

/* Stat Widgets */
.stat-widget {
    display: flex;
    align-items: center;
    padding: 24px;
}
.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    margin-right: 20px;
}
.stat-info h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}
.stat-info p {
    margin: 0;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Fix for dark mode invisible text in TinyMCE output */
[data-theme="dark"] .reading-description,
[data-theme="dark"] .reading-description * {
    color: var(--body-text) !important;
    background-color: transparent !important;
}
