/* 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, body {
  height: 100%;
  min-height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#footer {
  margin-top: auto;
}

/* 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-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

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

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

.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: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    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;
    }
}

/* 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;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(0.9);
}

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

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

.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: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: none;
    padding: 16px 44px;
    border-radius: 30px;
    min-width: 180px;
    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: 14px 32px !important;
    min-width: 160px !important;
    border-radius: 12px !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;
    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);
}

.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: 130px;
    padding: 12px 20px;
    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;
}

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

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

@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: column;
    }
    
    .btn-action {
        min-width: auto;
    }
}

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

@media (max-width: 576px) {
    .location-header {
        padding: 15px;
    }
    
    .location-info {
        padding: 20px 15px;
    }
    
    .location-title {
        font-size: 1.1rem;
    }
    
    .phone-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .map-phone-overlay {
        bottom: 10px;
        right: 10px;
    }
    
    .hours-info-card {
        padding: 25px 15px;
        border-radius: 20px;
    }
    
    .hours-main {
        padding: 15px;
    }
    
         .hours-note {
         padding: 12px 15px;
     }
 }

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

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

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

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

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

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

.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: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: none;
    padding: 16px 44px;
    border-radius: 30px;
    min-width: 180px;
    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, .gallery-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, .gallery-item:hover .gallery-img {
    filter: brightness(1) blur(0px) grayscale(0%);
    transform: scale(1.02);
}

/* 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,
.navbar .nav-link {
    color: #b03a5b !important;
}

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