/* Custom CSS for Ma Thai Massage Website */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&family=Lora:wght@300;400;500&display=swap');

:root {
    --spa-cream: #f8f6f2;
    --spa-white: #fffdfa;
    --spa-green: #e6edea;
    --spa-gold: #bfa980;
    --spa-brown: #a89c8a;
    --spa-gray: #4a4a4a;
    --spa-light-gray: #eaeaea;
    --spa-shadow: 0 8px 32px rgba(191, 169, 128, 0.08);
}

/* Global Styles */
html {
  height: 100%;
  min-height: 100%;
  overflow-x: hidden !important;
  max-width: 100%;
}

body {
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden !important;
  max-width: 100%;
  position: relative;
}
#footer {
  margin-top: auto;
}

/* Prevent horizontal scroll - Critical Fix */
.page-animate {
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
}

.container,
.container-fluid {
  overflow-x: hidden !important;
  overflow-y: visible !important;
  max-width: 100%;
  padding-left: 15px !important;
  padding-right: 15px !important;
  height: auto !important;
  max-height: none !important;
}

.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible !important;
  height: auto !important;
  max-height: none !important;
}

.row > * {
  max-width: 100%;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

img,
iframe,
video,
svg {
  max-width: 100%;
  height: auto;
}

section {
  overflow-x: hidden !important;
  overflow-y: visible !important;
  max-width: 100%;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
}

/* Fix for Bootstrap gutters */
.g-4,
.gx-4 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.g-4 > *,
.gx-4 > * {
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
}

/* Prevent text overflow in hero section */
.display-5,
.display-4 {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.lead {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-left: 10px;
  padding-right: 10px;
}

/* ========================================
   MODERN NAVIGATION DESIGN
   ======================================== */

/* Modern Navbar Base */
.navbar.modern-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1030 !important;
    width: 100% !important;
    background: linear-gradient(135deg, rgba(139, 58, 107, 0.98) 0%, rgba(184, 87, 122, 0.98) 100%) !important;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(139, 58, 107, 0.3);
    padding: 0.8rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled state - darker and more prominent */
.navbar.modern-nav.scrolled {
    background: linear-gradient(135deg, rgba(139, 58, 107, 1) 0%, rgba(184, 87, 122, 1) 100%) !important;
    box-shadow: 0 12px 40px rgba(139, 58, 107, 0.4);
    padding: 0.5rem 0;
}

/* Modern Brand */
.modern-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    padding: 8px 16px !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.modern-brand:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.modern-brand .nav-logo {
    max-height: 45px !important;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.modern-brand:hover .nav-logo {
    transform: rotate(-5deg) scale(1.05);
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar.sticky-top {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    width: 100% !important;
}

/* Navbar scroll state styling */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Modern Navigation Links */
.modern-link {
    position: relative;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    padding: 10px 18px !important;
    margin: 0 4px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.modern-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #F4A460, #FFD700);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 10px 10px 0 0;
}

.modern-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.modern-link:hover::before {
    width: 80%;
}

.modern-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.modern-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* CTA Button (Book Now) */
.nav-cta {
    background: linear-gradient(135deg, #F4A460 0%, #CD853F 100%) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(244, 164, 96, 0.4);
    margin-left: 8px;
}

.nav-cta::before {
    display: none;
}

.nav-cta:hover {
    background: linear-gradient(135deg, #CD853F 0%, #A0522D 100%) !important;
    box-shadow: 0 6px 20px rgba(244, 164, 96, 0.6);
    transform: translateY(-3px) scale(1.05);
}

/* Modern Dropdown Menu */
.modern-dropdown {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(139, 58, 107, 0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(139, 58, 107, 0.3) !important;
    margin-top: 12px !important;
    padding: 12px 8px !important;
    min-width: 280px;
    animation: dropdownSlide 0.3s ease;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-dropdown-item {
    color: #8B3A6B !important;
    font-weight: 500;
    padding: 12px 16px !important;
    margin: 4px 0;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-dropdown-item i {
    color: #B8577A;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.modern-dropdown-item:hover {
    background: linear-gradient(135deg, rgba(139, 58, 107, 0.1), rgba(184, 87, 122, 0.1)) !important;
    color: #8B3A6B !important;
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(139, 58, 107, 0.15);
}

.modern-dropdown-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #F4A460;
}

/* Modern Hamburger Toggler */
.modern-toggler {
    border: none !important;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.modern-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.toggler-icon {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Navigation - Modern Design */
@media (max-width: 991px) {
    .navbar.modern-nav {
        padding: 0.6rem 0 !important;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .modern-brand .nav-logo {
        max-height: 38px !important;
    }
    
    .navbar-collapse {
        background: linear-gradient(135deg, rgba(139, 58, 107, 0.98), rgba(184, 87, 122, 0.98));
        backdrop-filter: blur(20px) saturate(180%);
        margin-top: 15px;
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(139, 58, 107, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .modern-link {
        margin: 8px 0;
        padding: 14px 18px !important;
        justify-content: flex-start;
    }
    
    .nav-cta {
        margin-left: 0 !important;
        margin-top: 12px;
        text-align: center;
        justify-content: center;
    }
    
    .modern-dropdown {
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        margin-top: 8px !important;
    }
    
    .modern-dropdown-item {
        color: rgba(255, 255, 255, 0.95) !important;
        padding: 12px 20px !important;
    }
    
    .modern-dropdown-item:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        color: #fff !important;
    }
    
    .modern-dropdown-item i {
        color: #F4A460;
    }
}

@media (max-width: 576px) {
    .brand-text {
        display: none; /* Hide brand text on very small screens */
    }
    
    .modern-link {
        font-size: 0.9rem !important;
        padding: 12px 16px !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: var(--spa-gray);
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.display-4, .display-5 {
    font-weight: 400;
    letter-spacing: 1px;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--spa-brown);
    line-height: 2.1;
}

/* Button Styling */
.btn-primary {
    background: var(--spa-gold);
    border: none;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    color: #333;
}

.btn-primary:hover {
    background: #E89A3C;
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
    color: #333;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.btn-outline-primary:hover {
    background: var(--luxury-brown);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--gentle-shadow);
}

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

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

/* Navigation */
.navbar {
    z-index: 1040 !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff !important;
}

/* Desktop Navbar - Ensure proper expansion */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse,
    .navbar .navbar-collapse,
    #navbarNav {
        display: flex !important;
        flex-basis: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    .navbar-expand-lg .navbar-toggler,
    .navbar .navbar-toggler {
        display: none !important;
    }
    
    .navbar-expand-lg .navbar-nav,
    .navbar .navbar-nav {
        flex-direction: row !important;
        display: flex !important;
    }
    
    .navbar-expand-lg .navbar-nav .nav-link,
    .navbar .navbar-nav .nav-link {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
        color: #b03a5b !important;
    }
    
    .navbar-expand-lg .navbar-nav .nav-link:hover {
        color: #007bff !important;
    }
}

.navbar-nav {
    position: relative !important;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    color: #333 !important;
    padding: 8px 16px !important;
    border-radius: 6px;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
    background: rgba(0, 123, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
    color: #333;
}

.navbar-nav .dropdown-item:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    transform: translateX(5px);
}

/* Desktop dropdown - hover to show */
@media (min-width: 992px) {
    .navbar-nav .dropdown-menu {
        display: block !important;
        border: none;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        margin-top: 0;
        padding: 12px 0;
        z-index: 1050 !important;
        position: absolute !important;
        top: 100%;
        left: 0;
        min-width: 240px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
        pointer-events: none;
        background: #fff;
    }
    
    .navbar-nav .dropdown:hover > .dropdown-menu,
    .navbar-nav .dropdown-menu.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
    
    .navbar-nav .dropdown-toggle {
        cursor: pointer !important;
    }
    
    .navbar-nav .dropdown-toggle::after {
        transition: transform 0.2s ease;
    }
    
    .navbar-nav .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .navbar-nav .dropdown-item {
        color: #333 !important;
        padding: 10px 20px;
        font-weight: 500;
    }
    
    .navbar-nav .dropdown-item:hover {
        background: linear-gradient(135deg, rgba(176, 58, 91, 0.1), rgba(0, 123, 255, 0.1));
        color: #b03a5b !important;
    }
    
    .navbar-nav .dropdown-divider {
        margin: 8px 16px;
        border-color: rgba(0, 0, 0, 0.1);
    }
}

/* Mobile dropdown fix */
@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        display: none;
        padding-left: 20px;
    }
    
    .navbar-nav .dropdown-menu.show {
        display: block !important;
    }
    
    .navbar-nav .dropdown-item {
        padding: 10px 16px 10px 24px;
    }
}

/* Hero Section */
.hero-section {
    background: rgba(255, 255, 255, 0.4);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(139, 69, 19, 0.1) 100%);
    pointer-events: none;
}

/* Additional Hero Sections for Other Pages */
.services-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
        url('https://images.pexels.com/photos/3757942/pexels-photo-3757942.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1280&dpr=1') center/cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="zen" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(0,0,0,0.1)"/></radialGradient></defs><rect width="1000" height="1000" fill="url(%23zen)"/></svg>');
    pointer-events: none;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: normal;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

/* Location Cards */
.location-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--card-white);
    box-shadow: var(--shadow-card);
    position: relative;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.location-card .carousel-item img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.location-card:hover .carousel-item.active img {
    transform: scale(1.05);
}

.location-card .card-body {
    padding: 1.5rem;
    position: relative;
    background: var(--card-white);
}

.location-card .card-title {
    color: var(--text-dark);
    font-weight: normal;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.location-card .rating {
    font-size: 1rem;
    text-align: center;
    margin: 1rem 0;
}

/* Phone number styling */
.location-card h4,
.breathing-element {
    color: var(--phone-purple) !important;
}

.location-card .rating .fas.fa-star {
    color: var(--star-yellow);
    transition: all 0.3s ease;
}

.location-card .btn {
    border-radius: 8px;
    min-width: 120px;
    margin: 0.25rem;
}

/* Services Section */
.services-section {
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    padding: 3rem 0;
}



.services-section h2 {
    color: var(--text-dark);
    font-weight: normal;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
    font-size: 2rem;
    letter-spacing: 0px;
}



.services-section ul li {
    font-size: 1.1rem;
    padding: 8px 0;
    transition: all 0.3s ease;
    margin: 4px 0;
}

.services-section ul li:hover {
    color: var(--primary-color);
}

/* Hours Section */
.hours-section {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.hours-section h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.hours-list {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid var(--accent-color);
}

.hours-list > div {
    font-size: 1.1rem;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.hours-list > div:last-child {
    border-bottom: none;
}

.hours-list > div span:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

/* Luxury CTA Section */
.cta-section {
    background: linear-gradient(
        135deg,
        rgba(139, 69, 19, 0.9),
        rgba(218, 165, 32, 0.8),
        rgba(34, 139, 34, 0.7)
    );
    position: relative;
    padding: 6rem 0;
    overflow: hidden !important;
    max-width: 100%;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="lotus" x="0" y="0" width="200" height="200" patternUnits="userSpaceOnUse"><circle cx="100" cy="100" r="50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="100" cy="100" r="25" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1000" height="1000" fill="url(%23lotus)"/></svg>');
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: gentleRotate 20s linear infinite;
    pointer-events: none;
}

@keyframes gentleRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 200;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    letter-spacing: 3px;
    position: relative;
    z-index: 2;
}

.cta-section .lead {
    font-size: 1.4rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    font-style: italic;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background-color: #1a1a1a !important;
}

.footer h5 {
    color: var(--accent-color);
    font-weight: 600;
}

/* Carousel Custom Styles */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(139, 69, 19, 0.8);
    border-radius: 50%;
    padding: 20px;
}

.carousel-indicators button {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 12px;
    height: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .location-card .card-body {
        padding: 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 100px;
        min-height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .location-card .carousel-item img {
        height: 200px;
    }
    
    /* Better mobile container padding */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Fix location card overflow on small screens */
    .location-card-modern {
        margin-left: 0;
        margin-right: 0;
    }
    
    .row.g-4 {
        margin-left: 0;
        margin-right: 0;
    }
    
    .row.g-4 > [class*='col-'] {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Luxury Video Section */
.video-section {
    background: linear-gradient(135deg, var(--spa-cream), var(--spa-ivory), var(--spa-cream));
    padding: 5rem 0;
    position: relative;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="luxury-pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(218,165,32,0.1)"/></pattern></defs><rect width="1000" height="1000" fill="url(%23luxury-pattern)"/></svg>');
    opacity: 0.5;
}

.video-container {
    box-shadow: var(--luxury-shadow);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(218, 165, 32, 0.1), 
        transparent, 
        rgba(139, 69, 19, 0.1));
    z-index: 1;
}

.video-overlay {
    background: linear-gradient(135deg, 
        rgba(139, 69, 19, 0.8), 
        rgba(218, 165, 32, 0.6));
    border-radius: 25px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 3;
    position: relative;
}

.video-overlay h2 {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    font-weight: 200;
    letter-spacing: 3px;
}

.video-overlay p {
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    font-style: italic;
    font-size: 1.3rem;
}

/* Enhanced Location Cards */
.location-card .carousel-item img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(0.9);
}

.location-card:hover .carousel-item img {
    filter: brightness(1);
    transform: none;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    background: var(--card-white);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Floating Animation */
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-element {
    animation: gentleFloat 6s ease-in-out infinite;
}

/* Breathing Animation for Zen Feel */
@keyframes gentleBreathe {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
    50% { transform: scale(1.05) rotate(2deg); opacity: 1; }
}

.breathing-element {
    animation: gentleBreathe 4s ease-in-out infinite;
}

/* Luxury Pulse Animation */
@keyframes luxuryPulse {
    0%, 100% { box-shadow: var(--gentle-shadow); }
    50% { box-shadow: var(--luxury-shadow); }
}

.pulse-luxury {
    animation: luxuryPulse 3s ease-in-out infinite;
}

/* Location Filter Styles */
.location-filters {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.filter-tabs .btn {
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.filter-tabs .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.filter-tabs .btn.active {
    background: linear-gradient(45deg, #8B4513, #CD853F);
    border: none;
    color: white;
}

.location-quick-select .location-btn {
    border-radius: 15px;
    padding: 15px 25px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-quick-select .location-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Coming Soon Badge */
.coming-soon-badge {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Location Grid Animation */
.location-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.location-item.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Multi-location Navigation Enhancement */
.navbar .location-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    margin-left: 5px;
    animation: gentlePulse 2s infinite;
}

@keyframes gentlePulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Zen Garden Effect */
.zen-garden {
    position: relative;
    overflow: hidden !important;
    max-width: 100%;
}

.zen-garden::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(218, 165, 32, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(34, 139, 34, 0.02) 0%, transparent 50%);
    animation: zenWave 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes zenWave {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    33% { transform: scale(1.1) rotate(1deg); opacity: 0.7; }
    66% { transform: scale(0.9) rotate(-1deg); opacity: 0.6; }
}

/* Luxury Input Styling */
.form-control, .form-select {
    border: 2px solid rgba(139, 69, 19, 0.2);
    border-radius: 15px;
    padding: 12px 20px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(218, 165, 32, 0.2);
    background: white;
}

/* Enhanced Navbar */
.navbar {
    /* background: rgba(35, 35, 35, 0.97) !important; */
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: background 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(6px);
}

.navbar .navbar-brand {
    color: #bfa980 !important;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.navbar .nav-link {
    color: #fff !important;
    font-family: 'Lora', 'Arial', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.2rem;
    transition: color 0.3s, background 0.3s, border-radius 0.3s;
    border-radius: 24px;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: #111 !important;
    background: rgba(191, 169, 128, 0.08);
    border-radius: 24px;
}

/* Map Section Styles */
.map-section {
    background: linear-gradient(135deg, 
        var(--spa-ivory) 0%, 
        var(--spa-cream) 50%, 
        var(--spa-ivory) 100%);
    position: relative;
}

.map-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    box-shadow: var(--luxury-shadow);
}

.google-map-iframe {
    width: 100%;
    height: 480px;
    border-radius: 25px;
    filter: brightness(1.05) contrast(1.05);
    transition: all 0.3s ease;
}

.google-map-iframe:hover {
    filter: brightness(1) contrast(1);
    transform: scale(1.01);
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.map-info-badge {
    backdrop-filter: blur(15px);
    background: rgba(139, 69, 19, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 12px 20px;
    color: white;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-info-badge:hover {
    background: rgba(218, 165, 32, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.4);
}

.badge-content {
    text-align: center;
    font-family: 'Georgia', serif;
    line-height: 1.3;
}

.badge-content small {
    opacity: 0.9;
    font-size: 0.75rem;
}

.location-quick-info {
    border: none;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--spa-ivory), var(--spa-cream));
    box-shadow: var(--gentle-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-quick-info:hover {
    transform: translateY(-5px);
    box-shadow: var(--luxury-shadow);
}

.location-quick-info .card-title {
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.location-quick-info .rating {
    font-size: 0.9rem;
}

.hours-card {
    border: none;
    border-radius: 20px;
    background: linear-gradient(145deg, #e8f5e8, #f0f8f0);
    box-shadow: var(--gentle-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hours-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--luxury-shadow);
}

/* Iframe Map Enhancement */
.google-map-iframe {
    border: 3px solid rgba(139, 69, 19, 0.1);
}

/* Responsive Map Design */
@media (max-width: 768px) {
    .google-map-iframe {
        height: 350px;
        border-radius: 15px;
    }
    
    .map-container {
        border-radius: 15px;
        margin-bottom: 2rem;
    }
    
    .map-overlay {
        top: 15px;
        right: 15px;
    }
    
    .map-info-badge {
        padding: 10px 16px;
        border-radius: 15px;
    }
    
    .badge-content {
        font-size: 0.9rem;
    }
    
    .location-quick-info {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .google-map-iframe {
        height: 300px;
        border-radius: 12px;
    }
    
    .map-container {
        border-radius: 12px;
    }
    
    .map-overlay {
        top: 10px;
        right: 10px;
    }
    
    .map-info-badge {
        padding: 8px 12px;
        border-radius: 12px;
    }
    
    .badge-content {
        font-size: 0.8rem;
    }
    
    .badge-content small {
        font-size: 0.7rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--spa-cream);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--luxury-brown);
    border-radius: 10px;
    border: 2px solid var(--spa-cream);
}

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

/* SEO & Accessibility Enhancements */

/* Breadcrumb Navigation Styling */
.breadcrumb-nav {
    background: linear-gradient(135deg, #F8F9FA 0%, #F5FAFF 100%);
    padding: 0.15rem 0 0.15rem 0;
    margin-top: 60px;
    border-bottom: 1px solid #e3e6ea;
    box-shadow: none;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
    font-size: 0.9rem;
    color: #A89CB0;
    line-height: 1.2;
}

.breadcrumb-item {
    font-size: 0.9rem;
    color: #A89CB0;
    font-weight: 400;
    line-height: 1.2;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6B4C6B;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    font-weight: bold;
}

/* Service Hero Section for detail pages */
.service-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('https://images.pexels.com/photos/3757942/pexels-photo-3757942.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1280&dpr=1') center/cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Enhanced service cards for detail pages */
.service-booking {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.service-booking .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 1.25rem;
}

.service-booking .pricing {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 1rem;
}

/* Related services styling */
.related-services .list-group-item {
    border: 1px solid #e9ecef;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.related-services .list-group-item:hover {
    background: var(--spa-cream);
    border-color: var(--accent-color);
    transform: translateX(5px);
}

/* Location card enhancements */
.location-details .location-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.location-details .location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Feature badges for location pages */
.feature-badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.feature-badge i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Contact card styling */
.contact-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.contact-card .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
}

/* Review cards */
.review-card {
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Location CTA section */
.location-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    position: relative;
    overflow: hidden;
}

.location-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.pexels.com/photos/3757942/pexels-photo-3757942.jpeg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.location-cta .container {
    position: relative;
    z-index: 1;
}

/* Service preview cards */
.service-preview {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

.service-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.price-range {
    font-size: 1.1rem;
    margin: 1rem 0;
}

/* Enhanced focus styles for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
a:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        border-color: #000;
    }
    
    .btn-outline-primary {
        border-color: #000;
        color: #000;
    }
    
    .text-primary {
        color: #000 !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles for better printing */
@media print {
    .navbar,
    .breadcrumb-nav,
    .footer,
    .btn,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators {
        display: none !important;
    }
    
    .card {
        break-inside: avoid;
        border: 1px solid #ccc;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* Enhanced SEO structured data support */
.location-schema,
.service-schema,
.business-schema {
    display: none; /* Hide structured data from visual layout */
}

/* Table styles for FAQ and service comparison */
.table-responsive {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--gentle-shadow);
}

.table {
    border: none;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

.table th {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table td {
    border-color: rgba(0,0,0,0.05);
    padding: 1rem;
}

.table tbody tr:hover {
    background: var(--spa-cream);
}

/* Unified On-Brand Button Styles */
.btn,
.btn-primary,
.btn-outline-primary,
.btn-action {
    display: inline-block;
    background: var(--spa-gold);
    color: #fff;
    border: none;
    font-family: 'Lora', 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: none;
    padding: 12px 24px;
    border-radius: 30px;
    min-width: 140px;
    box-shadow: 0 2px 12px rgba(191, 169, 128, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: center;
    cursor: pointer;
}

.btn:hover,
.btn-primary:hover,
.btn-outline-primary:hover,
.btn-action:hover {
    background: #a89c8a;
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 32px rgba(191, 169, 128, 0.13);
    text-decoration: none;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

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

/* Remove all size variants */
.btn-sm, .btn-lg {
    font-size: 1rem !important;
    padding: 12px 24px !important;
    min-width: 140px !important;
    border-radius: 12px !important;
}

/* Mobile responsive button sizing */
@media (max-width: 768px) {
    .btn-sm, .btn-lg {
        padding: 10px 18px !important;
        font-size: 0.9rem !important;
        min-width: 110px !important;
    }
}

@media (max-width: 576px) {
    .btn-sm, .btn-lg {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
        min-width: 100px !important;
    }
}

/* Remove Bootstrap color variants and unify to brand */
.btn-info, .btn-warning, .btn-success, .btn-light, .btn-outline-light {
    background: var(--spa-gold) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: var(--shadow-light) !important;
}

.btn-info:hover, .btn-warning:hover, .btn-success:hover, .btn-light:hover, .btn-outline-light:hover {
    background: #a89c8a !important;
    color: #fff !important;
}

/* Modern Location Cards Design */
.location-card-modern {
    border-radius: 20px;
    overflow: hidden !important;
    background: #fff;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 100%;
}

.location-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.location-header {
    background: linear-gradient(135deg, #8B3A6B 0%, #B8577A 100%);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: relative;
}

.location-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.location-badge {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.location-rating {
    text-align: right;
    position: relative;
    z-index: 2;
}

.location-rating .stars {
    color: #FFD700;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

.location-rating .rating-text {
    font-size: 0.85rem;
    opacity: 0.95;
    font-weight: 500;
}

.map-wrapper {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.map-wrapper iframe {
    transition: all 0.3s ease;
}

.location-card-modern:hover .map-wrapper iframe {
    transform: scale(1.02);
}

.map-phone-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
}

.phone-btn {
    background: linear-gradient(135deg, #8B3A6B 0%, #B8577A 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(139, 58, 107, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.5px;
}

.phone-btn:hover {
    background: linear-gradient(135deg, #B8577A 0%, #8B3A6B 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 58, 107, 0.4);
    text-decoration: none;
}

.location-info {
    padding: 30px 25px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.location-title {
    color: #8B3A6B;
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.location-address {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #2c3e50;
    font-size: 1rem;
}

.location-address .text-muted {
    font-size: 0.9rem;
    color: #6c757d !important;
}

.location-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-action {
    flex: 1;
    min-width: 120px;
    padding: 10px 16px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary.btn-action {
    background: linear-gradient(135deg, #F4A460 0%, #CD853F 100%);
    border: none;
    color: white;
}

.btn-primary.btn-action:hover {
    background: linear-gradient(135deg, #CD853F 0%, #A0522D 100%);
    color: white;
}

.btn-outline-primary.btn-action {
    border: 2px solid #8B3A6B;
    color: #8B3A6B;
    background: transparent;
}

.btn-outline-primary.btn-action:hover {
    background: #8B3A6B;
    color: white;
    border-color: #8B3A6B;
}

/* Hours Info Card */
.hours-info-card {
    background: linear-gradient(135deg, #E0F6FF 0%, #B0E0E6 50%, #87CEEB 100%);
    border-radius: 25px;
    padding: 40px 30px;
    border: none;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden !important;
}

.hours-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: gentle-rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes gentle-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hours-header {
    position: relative;
    z-index: 2;
}

.hours-header i {
    animation: pulse 2s infinite;
    color: #8B3A6B;
}

.hours-content {
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hours-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hours-main .days {
    font-weight: 700;
    color: #8B3A6B;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.hours-main .times {
    font-weight: 800;
    color: #F4A460;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.hours-note {
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border-left: 4px solid #FFD700;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hours-note .text-muted {
    color: #5a6c7d !important;
    font-weight: 500;
}

/* Location Icons Header */
.location-icons {
    margin: 20px 0;
}

.location-icons .icon-wrapper {
    text-align: center;
    padding: 20px 15px;
    transition: all 0.3s ease;
}

.location-icons .icon-wrapper:hover {
    transform: translateY(-5px);
}

.location-icons .icon-wrapper i {
    font-size: 2.2rem;
    margin-bottom: 10px;
    display: block;
    transition: all 0.3s ease;
}

.location-icons .icon-wrapper:hover i {
    transform: scale(1.1);
}

.location-icons .icon-wrapper small {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
    color: #6c757d;
}

/* Responsive Design for Modern Cards */
@media (max-width: 992px) {
    .location-card-modern {
        margin-bottom: 30px;
    }
    
    .location-actions {
        flex-direction: row;
        gap: 10px;
    }
    
    .btn-action {
        flex: 1;
        min-width: 100px;
        padding: 10px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .location-header {
        padding: 18px 20px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .location-info {
        padding: 25px 20px;
    }
    
    .hours-info-card {
        padding: 30px 20px;
        margin-top: 20px;
    }
    
    .hours-main {
        padding: 18px 20px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .location-icons .icon-wrapper {
        padding: 15px 10px;
    }
    
    .location-icons .icon-wrapper i {
        font-size: 1.8rem;
    }
    
    /* Tablet button adjustments */
    .btn,
    .btn-primary,
    .btn-outline-primary {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-width: 120px;
    }
    
    .location-actions {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .location-header {
        padding: 15px;
    }
    
    .location-info {
        padding: 20px 15px;
    }
    
    .location-title {
        font-size: 1.1rem;
    }
    
    .phone-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    
    .map-phone-overlay {
        bottom: 10px;
        right: 10px;
        left: 10px;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .hours-info-card {
        padding: 25px 15px;
        border-radius: 20px;
    }
    
    .hours-main {
        padding: 15px;
    }
    
    .hours-note {
        padding: 12px 15px;
    }
    
    /* Mobile button optimization */
    .btn,
    .btn-primary,
    .btn-outline-primary,
    .btn-action {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
        min-width: 100px !important;
        border-radius: 8px !important;
    }
    
    .location-actions {
        gap: 8px;
    }
    
    .btn-action {
        padding: 10px 12px !important;
        font-size: 0.75rem !important;
    }
    
    /* Adjust logo and header spacing */
    img[src="assets/mainlogo.png"] {
        max-width: 80px !important;
    }
    
    .display-5 {
        font-size: 1.5rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
        padding: 0 10px;
    }
 }

/* Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
    display: block;
    width: 100%;
    min-height: 0;
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 4/3) {
    .gallery-item {
        height: 0;
        padding-bottom: 75%; /* 3/4 = 0.75 */
    }
    .gallery-item::before {
        content: '';
        display: block;
    }
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 15px;
    display: block;
}

/* Fallback positioning for browsers without aspect-ratio support */
@supports not (aspect-ratio: 4/3) {
    .gallery-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: all 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h6 {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

/* Service page image captions */
.service-gallery .text-muted {
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 8px;
}

section, .section, .py-5, .py-4, .py-3 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.container, .container-lg, .container-md, .container-sm, .container-xl {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.card, .location-card, .service-preview, .review-card, .contact-card {
    border-radius: 24px;
    box-shadow: var(--spa-shadow);
    background: var(--spa-white);
    padding: 2.8rem 2.2rem;
    margin-bottom: 2.8rem;
    border: none;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
}

.card-body {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

/* Ensure Bootstrap columns don't have scrolling */
[class*="col-"] {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.breadcrumb-nav {
    background: linear-gradient(135deg, #F8F9FA 0%, #F5FAFF 100%);
    padding: 0.15rem 0 0.15rem 0;
    margin-top: 60px;
    border-bottom: 1px solid #e3e6ea;
    box-shadow: none;
}

.btn, .btn-primary, .btn-outline-primary, .btn-action {
    background: var(--spa-gold);
    color: #fff;
    border: none;
    font-family: 'Lora', 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: none;
    padding: 12px 24px;
    border-radius: 30px;
    min-width: 140px;
    box-shadow: 0 2px 12px rgba(191, 169, 128, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: center;
    cursor: pointer;
}

.btn:hover, .btn-primary:hover, .btn-outline-primary:hover, .btn-action:hover {
    background: #a89c8a;
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 32px rgba(191, 169, 128, 0.13);
    text-decoration: none;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

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

.location-card .carousel-item img {
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
    filter: brightness(0.96) blur(0.5px) grayscale(10%);
    transition: filter 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-card:hover .carousel-item.active img {
    filter: brightness(1) blur(0px) grayscale(0%);
    transform: scale(1.02);
}

.gallery-item:hover .gallery-img {
    filter: brightness(1) blur(0px) grayscale(0%);
    transform: scale(1.05);
}

/* Gentle, slow fade-in for sections */
section, .section, .card, .location-card, .service-preview, .review-card, .contact-card {
    opacity: 0;
    animation: fadeInCalm 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInCalm {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Remove harsh shadows and borders */
.card, .location-card, .service-preview, .review-card, .contact-card {
    border: none;
    box-shadow: 0 4px 24px rgba(168, 156, 176, 0.08);
}

/* Soft gold stars */
.fas.fa-star, .fa-star {
    color: var(--star-yellow) !important;
    text-shadow: none !important;
}

/* Remove bouncy or fast transitions */
*, *:before, *:after {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-duration: 0.5s !important;
}

/* --- Z-INDEX FIX FOR NAV & MEGAMENU OVER VIDEO --- */
.navbar {
  position: relative;
  z-index: 1050;
}
.video-section,
.video-container,
.video-overlay {
  position: relative;
  z-index: 1;
}
.spa-hero {
  position: relative;
  z-index: 0;
}
.spa-hero > video,
.spa-hero > div[style*="background:rgba"],
.spa-hero > div[style*="z-index:2"],
.spa-hero > div[style*="z-index:3"] {
  z-index: 0 !important;
}
/* --- END Z-INDEX FIX --- */

.selected-location {
  border: 2px solid #FFD700;
  box-shadow: 0 0 16px 2px rgba(218,165,32,0.15);
  z-index: 2;
}

.location-hero-card {
  transition: box-shadow 0.2s, transform 0.2s;
  border-radius: 16px;
  cursor: pointer;
}
.location-hero-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transform: translateY(-4px) scale(1.03);
  border-color: #FFD700;
  z-index: 2;
}

.location-filter-card {
  position: relative;
  transition: box-shadow 0.2s, border 0.2s, background 0.2s;
  border-radius: 16px;
  cursor: pointer;
  background: #fff;
  border: 1.5px solid #e0e0e0;
}
.location-filter-card.active {
  border: 2.5px solid #FFD700;
  background: #fffbe7;
  box-shadow: 0 0 0 3px #FFD70033;
}
.location-filter-card .location-checkmark {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  color: #FFD700;
  display: none;
}
.location-filter-card.active .location-checkmark {
  display: block !important;
}
#all-locations-btn.active {
  background: #f8f9fa;
  color: #111;
  border: 2.5px solid #FFD700;
  box-shadow: 0 0 0 3px #FFD70033;
}
#location-banner {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.location-filter-card.active .card-title,
.location-filter-card.active .card-text,
.location-filter-card.active h4 {
  color: #111 !important;
}

/* Breadcrumb and hero section spacing for no overlap and responsiveness */
.breadcrumb-nav {
  background: #f8f9fb;
  z-index: 2;
  position: relative;
  min-height: 40px;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 1rem;
}
@media (max-width: 767px) {
  .breadcrumb-nav {
    padding-top: 0;
    padding-bottom: 0.5rem;
    min-height: 32px;
  }
}
.services-hero {
  min-height: 520px;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
@media (max-width: 767px) {
  .services-hero {
    min-height: 600px;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* Fix overlap between location cards, search bar, and services on mobile */
@media (max-width: 767px) {
  #location-filter-cards {
    margin-bottom: 1.5rem;
  }
  #location-banner {
    margin-bottom: 1.5rem;
  }
  .container.mb-4.pt-4 {
    margin-top: 2.5rem !important;
  }
}

/* --- HERO/LOCATION SELECTOR IMPROVEMENTS --- */
.location-selector-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .location-selector-group {
    flex-direction: row;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }
}
#all-locations-btn {
  box-shadow: 0 2px 12px rgba(191, 169, 128, 0.13);
  border: 2px solid #e0e0e0;
  background: #f8f9fa;
  color: #7a6a4f;
  font-weight: 600;
  margin-bottom: 0;
  min-width: 180px;
  transition: box-shadow 0.3s, border 0.3s, background 0.3s, color 0.3s;
}
#all-locations-btn.active, #all-locations-btn:focus {
  background: #fffbe7;
  color: #111;
  border: 2.5px solid #FFD700;
  box-shadow: 0 0 0 3px #FFD70033;
}
.services-hero {
  min-height: 520px;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
@media (max-width: 767px) {
  .services-hero {
    min-height: 600px;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .location-selector-group {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
}
.breadcrumb-nav {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
}
/* --- END HERO/LOCATION SELECTOR IMPROVEMENTS --- */

/* --- SERVICES LIST SECTION STYLES --- */
.services-list-section {
  background: #fffdfa;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 24px rgba(191, 169, 128, 0.07);
  margin-top: -2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 767px) {
  .services-list-section {
    border-radius: 18px 18px 0 0;
    margin-top: -1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}
.services-list-section .container.mb-4.pt-4 {
  margin-bottom: 2rem !important;
  padding-top: 0 !important;
}
.services-list-section .py-5 {
  padding-top: 0 !important;
}
/* --- END SERVICES LIST SECTION STYLES --- */

/* --- HERO RESPONSIVENESS IMPROVEMENTS --- */
.services-hero {
  min-height: 520px;
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
@media (max-width: 991px) {
  .services-hero {
    min-height: 650px;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}
@media (max-width: 767px) {
  .services-hero {
    min-height: 800px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .location-selector-group {
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 575px) {
  .services-hero {
    min-height: 950px;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}
/* --- END HERO RESPONSIVENESS IMPROVEMENTS --- */

/* --- HERO SECTION & LOCATION CARDS FIXES --- */
.services-hero {
  min-height: 520px;
  padding-top: 5.5rem;
  padding-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.services-hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.services-hero .lead {
  font-size: 1.25rem;
  margin-bottom: 2.2rem;
}
.location-selector-group {
  margin-bottom: 2.5rem;
}
.selector-instruction {
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-size: 1.08rem;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 2px 8px rgba(191,169,128,0.06);
}
#location-filter-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 0.5rem;
}
#location-filter-cards .col-md-4 {
  flex: 1 1 220px;
  max-width: 320px;
  min-width: 220px;
  padding: 0;
}
.location-hero-card {
  min-width: 200px;
  max-width: 320px;
  margin: 0 auto;
}
@media (max-width: 991px) {
  .services-hero {
    min-height: 650px;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  #location-filter-cards {
    gap: 1rem;
  }
}
@media (max-width: 767px) {
  .services-hero {
    min-height: 900px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .location-selector-group {
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }
  #location-filter-cards {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  #location-filter-cards .col-md-4 {
    min-width: 80vw;
    max-width: 90vw;
    flex: 0 0 auto;
    padding: 0;
  }
  .location-hero-card {
    min-width: 80vw;
    max-width: 90vw;
  }
  .selector-instruction {
    font-size: 1rem;
    padding: 0.7rem 1rem;
    margin-bottom: 1.2rem;
  }
}
@media (max-width: 575px) {
  .services-hero {
    min-height: 1050px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .selector-instruction {
    font-size: 0.98rem;
    padding: 0.6rem 0.5rem;
    margin-bottom: 1rem;
  }
}
/* --- END HERO SECTION & LOCATION CARDS FIXES --- */

/* --- SIMPLIFIED HERO SECTION FOR MOBILE --- */
@media (max-width: 767px) {
  .services-hero {
    min-height: 1100px;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  #location-filter-cards {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-x: unset;
    gap: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  #location-filter-cards .col-md-4,
  .location-hero-card {
    min-width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 575px) {
  .services-hero {
    min-height: 1250px;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}
/* --- END SIMPLIFIED HERO SECTION FOR MOBILE --- */

/* --- HERO SECTION VISUAL CONTAINMENT FIX --- */
.services-hero {
  min-height: 780px;
  padding-top: 5rem;
  padding-bottom: 6rem;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.8), rgba(34, 139, 34, 0.8)),
    url('https://images.pexels.com/photos/3757942/pexels-photo-3757942.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1280&dpr=1');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.location-selector-group {
  margin-bottom: 0;
}
#location-filter-cards {
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .services-hero {
    min-height: 1100px;
    padding-bottom: 7rem;
  }
}
@media (max-width: 767px) {
  .services-hero {
    min-height: 1300px;
    padding-bottom: 8rem;
  }
}
@media (max-width: 575px) {
  .services-hero {
    min-height: 1450px;
    padding-bottom: 9rem;
  }
}
/* --- END HERO SECTION VISUAL CONTAINMENT FIX --- */

/* --- FORCE ALL LOCATIONS BUTTON CENTERED ABOVE CARDS --- */
.location-selector-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}
#all-locations-btn {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}
#location-filter-cards {
  width: 100%;
  justify-content: center;
}
/* --- END FORCE ALL LOCATIONS BUTTON CENTERED ABOVE CARDS --- */

/* --- ENSURE NO SECTION OVERLAP --- */
.breadcrumb-nav {
  margin-bottom: 0.5rem !important;
  z-index: 2;
  position: relative;
}
.services-hero {
  margin-top: 1.5rem !important;
  z-index: 1;
  position: relative;
}
.services-list-section {
  margin-top: 2.5rem !important;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 24px rgba(191, 169, 128, 0.07);
  position: relative;
  z-index: 0;
}
@media (max-width: 767px) {
  .services-hero {
    margin-top: 1rem !important;
  }
  .services-list-section {
    margin-top: 1.5rem !important;
    border-radius: 18px 18px 0 0;
  }
}
/* Remove any negative margin from .services-list-section */
.services-list-section {
  margin-top: 2.5rem !important;
}
/* --- END ENSURE NO SECTION OVERLAP --- */

/* --- IMPROVE RESPONSIVE SECTION SPACING --- */
.services-hero {
  margin-top: 2.5rem !important;
  padding-top: 6vw;
  padding-bottom: 6vw;
}
.services-list-section {
  margin-top: 3rem !important;
  padding-top: 3vw;
  padding-bottom: 3vw;
}
@media (max-width: 991px) {
  .services-hero {
    margin-top: 3.5rem !important;
    padding-top: 8vw;
    padding-bottom: 8vw;
  }
  .services-list-section {
    margin-top: 3.5rem !important;
    padding-top: 5vw;
    padding-bottom: 5vw;
  }
}
@media (max-width: 767px) {
  .services-hero {
    margin-top: 4rem !important;
    padding-top: 12vw;
    padding-bottom: 12vw;
  }
  .services-list-section {
    margin-top: 4rem !important;
    padding-top: 8vw;
    padding-bottom: 8vw;
  }
}
@media (max-width: 575px) {
  .services-hero {
    margin-top: 4.5rem !important;
    padding-top: 16vw;
    padding-bottom: 16vw;
  }
  .services-list-section {
    margin-top: 4.5rem !important;
    padding-top: 12vw;
    padding-bottom: 12vw;
  }
}
/* --- END IMPROVE RESPONSIVE SECTION SPACING --- */

/* --- GUARANTEE NO OVERLAP BETWEEN HERO AND NEXT SECTION --- */
.services-hero {
  min-height: 1600px !important;
  padding-bottom: 12rem !important;
  margin-bottom: 5rem !important;
}
.services-list-section {
  margin-top: 6rem !important;
}
@media (max-width: 991px) {
  .services-hero {
    min-height: 1800px !important;
    padding-bottom: 16rem !important;
    margin-bottom: 6rem !important;
  }
  .services-list-section {
    margin-top: 7rem !important;
  }
}
@media (max-width: 767px) {
  .services-hero {
    min-height: 2000px !important;
    padding-bottom: 20rem !important;
    margin-bottom: 7rem !important;
  }
  .services-list-section {
    margin-top: 8rem !important;
  }
}
@media (max-width: 575px) {
  .services-hero {
    min-height: 2200px !important;
    padding-bottom: 24rem !important;
    margin-bottom: 8rem !important;
  }
  .services-list-section {
    margin-top: 9rem !important;
  }
}
/* --- END GUARANTEE NO OVERLAP BETWEEN HERO AND NEXT SECTION --- */

/* --- CLEAN HERO SELECTOR INSTRUCTION --- */
.selector-instruction {
  background: none !important;
  color: #fff !important;
  font-weight: bold;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
/* --- END CLEAN HERO SELECTOR INSTRUCTION --- */

/* --- REDUCE TOP WHITE SPACE ABOVE HERO --- */
.services-hero {
  margin-top: 0 !important;
  padding-top: 2rem !important;
}
@media (max-width: 991px) {
  .services-hero {
    margin-top: 0 !important;
    padding-top: 1.5rem !important;
  }
}
@media (max-width: 767px) {
  .services-hero {
    margin-top: 0 !important;
    padding-top: 1rem !important;
  }
}
@media (max-width: 575px) {
  .services-hero {
    margin-top: 0 !important;
    padding-top: 0.5rem !important;
  }
}
/* --- END REDUCE TOP WHITE SPACE ABOVE HERO --- */

/* --- REDUCE GAP BETWEEN HERO AND SERVICES SECTION --- */
.services-list-section {
  margin-top: 1rem !important;
}
@media (max-width: 991px) {
  .services-list-section {
    margin-top: 0.5rem !important;
  }
}
@media (max-width: 767px) {
  .services-list-section {
    margin-top: 0.25rem !important;
  }
}
@media (max-width: 575px) {
  .services-list-section {
    margin-top: 0 !important;
  }
}
/* --- END REDUCE GAP BETWEEN HERO AND SERVICES SECTION --- */

/* --- REDUCE HERO HEIGHT FOR COMPACT DESIGN --- */
.services-hero {
  min-height: 480px !important;
  padding-bottom: 2rem !important;
}
@media (max-width: 991px) {
  .services-hero {
    min-height: 520px !important;
    padding-bottom: 1.5rem !important;
  }
}
@media (max-width: 767px) {
  .services-hero {
    min-height: 560px !important;
    padding-bottom: 1rem !important;
  }
}
@media (max-width: 575px) {
  .services-hero {
    min-height: 600px !important;
    padding-bottom: 0.5rem !important;
  }
}
/* --- END REDUCE HERO HEIGHT FOR COMPACT DESIGN --- */

/* --- COMPACT BREADCRUMB NAVIGATION --- */
.breadcrumb-nav {
  min-height: 0 !important;
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}
.breadcrumb {
  padding: 0.25rem 0 !important;
  margin-bottom: 0 !important;
  background: none !important;
}
.breadcrumb-item {
  font-size: 0.98rem !important;
}
/* --- END COMPACT BREADCRUMB NAVIGATION --- */

.navbar .navbar-brand {
    color: #b03a5b !important;
}

/* Desktop nav links - dark color on light background */
@media (min-width: 992px) {
    .navbar .nav-link {
        color: #b03a5b !important;
    }
}

/* Mobile nav links - white/light color on dark background */
@media (max-width: 991px) {
    .navbar-collapse {
        background: linear-gradient(135deg, rgba(139, 58, 107, 0.98), rgba(184, 87, 122, 0.98)) !important;
        padding: 20px;
        border-radius: 16px;
        margin-top: 10px;
    }
    
    .navbar .nav-link,
    .navbar .nav-link.dropdown-toggle {
        color: #fff !important;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .navbar .nav-link:hover,
    .navbar .nav-link:focus {
        color: #FFD700 !important;
        background: rgba(255, 255, 255, 0.15) !important;
    }
    
    .navbar .dropdown-menu {
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 12px;
    }
    
    .navbar .dropdown-item {
        color: #fff !important;
        font-weight: 500;
        padding: 12px 20px;
    }
    
    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus {
        background: rgba(255, 255, 255, 0.25) !important;
        color: #FFD700 !important;
    }
    
    .navbar .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.3);
    }
}

/* Responsive location filter button group for contact page */
.location-filter-tabs .btn-group {
  flex-wrap: wrap;
  display: flex;
  width: 100%;
}
.location-filter-tabs .btn-group .btn {
  flex: 1 1 200px;
  min-width: 140px;
  margin-bottom: 8px;
}
@media (max-width: 575.98px) {
  .location-filter-tabs .btn-group .btn {
    flex-basis: 100%;
    min-width: 100%;
    margin-bottom: 8px;
  }
}

/* --- HOMEPAGE TOP SECTION HORIZONTAL SCROLL FIX --- */
/* Prevent horizontal overflow on mobile for homepage hero */
@media (max-width: 768px) {
  /* CRITICAL: Force all elements to fit within viewport */
  * {
    box-sizing: border-box !important;
  }
  
  /* Container for top section */
  .page-animate .container {
    max-width: 100vw !important;
    width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    overflow-x: hidden !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Row containment */
  .page-animate .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Column containment */
  .page-animate .col-lg-8,
  .page-animate [class*="col-"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Text center alignment container */
  .page-animate .text-center {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  
  /* Large "Thai Massage" text - scale down on mobile */
  .page-animate div[style*="font-size:2.5rem"],
  .page-animate div[style*="font-size: 2.5rem"] {
    font-size: 1.8rem !important;
    max-width: calc(100vw - 20px) !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    padding: 0 5px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Website URL text */
  .page-animate div[style*="font-size:1.1rem"],
  .page-animate div[style*="font-size: 1.1rem"] {
    font-size: 0.95rem !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  /* Display heading */
  .page-animate .display-5 {
    font-size: 1.5rem !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    max-width: calc(100vw - 20px) !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.3 !important;
  }
  
  /* Lead paragraph */
  .page-animate .lead {
    font-size: 0.9rem !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    line-height: 1.5 !important;
    max-width: calc(100vw - 20px) !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  /* Ensure images don't overflow */
  .page-animate img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 576px) {
  /* Even smaller screens - iPhone and standard mobile */
  .page-animate div[style*="font-size:2.5rem"],
  .page-animate div[style*="font-size: 2.5rem"] {
    font-size: 1.6rem !important;
    max-width: calc(100vw - 30px) !important;
  }
  
  .page-animate .display-5 {
    font-size: 1.3rem !important;
    max-width: calc(100vw - 30px) !important;
  }
  
  .page-animate .lead {
    font-size: 0.85rem !important;
    max-width: calc(100vw - 30px) !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* Extra mobile padding */
  .page-animate .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

@media (max-width: 375px) {
  /* Very small phones - iPhone SE, etc */
  .page-animate div[style*="font-size:2.5rem"],
  .page-animate div[style*="font-size: 2.5rem"] {
    font-size: 1.4rem !important;
    max-width: calc(100vw - 40px) !important;
    line-height: 1.2 !important;
  }
  
  .page-animate .display-5 {
    font-size: 1.1rem !important;
    max-width: calc(100vw - 40px) !important;
  }
  
  .page-animate .lead {
    font-size: 0.8rem !important;
    max-width: calc(100vw - 40px) !important;
  }
}

/* Mobile-specific: Prevent body scroll on all mobile devices */
@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    position: relative !important;
  }
  
  html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  
  /* Fix the spacing div */
  div[style*="height:84px"] {
    max-width: 100% !important;
    overflow: hidden !important;
  }
  
  /* Ensure all sections stay within bounds */
  section {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  
  /* Container universal fix */
  .container,
  .container-fluid {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* All rows must have zero margin */
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }
}
/* --- END HOMEPAGE TOP SECTION HORIZONTAL SCROLL FIX --- */

/* ========================================
   MOBILE NAVIGATION TEXT COLOR FIX
   Override all other styles for mobile nav
   ======================================== */
@media (max-width: 991px) {
    /* Force white text for all mobile nav links */
    body .navbar .navbar-nav .nav-link,
    body .navbar .navbar-nav .nav-link.dropdown-toggle,
    body .navbar .navbar-collapse .nav-link,
    body .navbar-collapse .navbar-nav .nav-link,
    .navbar-nav .nav-link,
    .nav-item .nav-link,
    .nav-item .dropdown-toggle {
        color: #ffffff !important;
        font-weight: 700 !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
        text-transform: uppercase !important;
        letter-spacing: 1.5px !important;
    }
    
    /* Hover state - gold highlight */
    body .navbar .navbar-nav .nav-link:hover,
    body .navbar .navbar-nav .nav-link:focus,
    body .navbar .navbar-nav .nav-link.dropdown-toggle:hover,
    .navbar-nav .nav-link:hover,
    .nav-item .nav-link:hover {
        color: #FFD700 !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border-radius: 8px;
    }
    
    /* Dropdown menu items - white text */
    body .navbar .dropdown-menu .dropdown-item,
    body .navbar-nav .dropdown-menu .dropdown-item,
    .dropdown-menu .dropdown-item {
        color: #ffffff !important;
        font-weight: 600 !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
        padding: 14px 24px !important;
    }
    
    /* Dropdown item hover - gold */
    body .navbar .dropdown-menu .dropdown-item:hover,
    body .navbar .dropdown-menu .dropdown-item:focus,
    .dropdown-menu .dropdown-item:hover {
        color: #FFD700 !important;
        background: rgba(255, 255, 255, 0.25) !important;
    }
    
    /* Dropdown menu background */
    body .navbar .dropdown-menu,
    .navbar-nav .dropdown-menu {
        background: rgba(139, 58, 107, 0.95) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 12px !important;
        padding: 10px 0 !important;
    }
    
    /* Dropdown divider */
    body .navbar .dropdown-divider,
    .dropdown-menu .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.4) !important;
        margin: 8px 16px !important;
    }
}
/* ========================================
   END MOBILE NAVIGATION TEXT COLOR FIX
   ======================================== */

/* ========================================
   STICKY MOBILE BOOKING BAR
   Keeps booking CTA visible on mobile
   ======================================== */
.sticky-booking-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #b03a5b 0%, #8b3a6b 100%);
    padding: 12px 15px;
    z-index: 1050;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.sticky-booking-bar .btn {
    flex: 1;
    padding: 12px 15px;
    font-weight: 600;
    border-radius: 8px;
}

.sticky-booking-bar .btn-book {
    background: #fff;
    color: #b03a5b;
}

.sticky-booking-bar .btn-call {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

@media (max-width: 991px) {
    .sticky-booking-bar {
        display: flex;
        gap: 10px;
    }
    
    body {
        padding-bottom: 70px; /* Space for sticky bar */
    }
}

/* ========================================
   URGENCY BANNER STYLES
   ======================================== */
.urgency-flash {
    animation: urgencyPulse 2s infinite;
}

@keyframes urgencyPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.availability-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.availability-badge.busy {
    background: #ff4757;
}

.availability-badge.available {
    background: #2ed573;
}