/* ============================================
   California SPA - Modern Design
   Color Theme: Deep Maroon, Gold, Cream
   ============================================ */

:root {
    --maroon-dark: #1a0000;
    --maroon: #5a0000;
    --maroon-light: #8b0000;
    --gold: #d4a843;
    --gold-light: #e8c96a;
    --gold-dark: #b8922e;
    --cream: #fdf5e6;
    --cream-dark: #f5e6c8;
    --text-light: #f0e6d3;
    --text-dark: #2c1810;
    --white: #ffffff;
    --overlay: rgba(26, 0, 0, 0.7);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

a { text-decoration: none; transition: all 0.3s ease; }

/* Top Bar */
.top-bar {
    background: var(--maroon-dark);
    color: var(--gold);
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar a { color: var(--gold); margin-left: 12px; }
.top-bar a:hover { color: var(--gold-light); }
.top-contact span { color: var(--text-light); }

/* Navbar */
#mainNav {
    background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
    padding: 12px 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--gold);
}
#mainNav.scrolled {
    padding: 6px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
}
.brand-highlight { color: var(--gold-light); }
.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 400;
    padding: 8px 16px !important;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::after { width: 70%; }
.navbar-nav .nav-link:hover { color: var(--gold) !important; }
.btn-book {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold)) !important;
    color: var(--maroon-dark) !important;
    border-radius: 25px !important;
    padding: 8px 24px !important;
    font-weight: 700 !important;
    margin-left: 10px;
}
.btn-book:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 168, 67, 0.4);
}
.btn-book::after { display: none !important; }

/* Login Button */
.btn-login {
    border: 2px solid var(--gold) !important;
    color: var(--gold) !important;
    border-radius: 25px !important;
    padding: 6px 20px !important;
    font-weight: 600 !important;
    margin-left: 8px;
    font-size: 0.9rem !important;
}
.btn-login:hover {
    background: var(--gold) !important;
    color: var(--maroon-dark) !important;
    transform: translateY(-2px);
}
.btn-login::after { display: none !important; }

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
}
.hero-slider .carousel-item {
    min-height: 85vh;
    position: relative;
}
.hero-slider .carousel-item .slide-content {
    position: relative;
    z-index: 2;
    min-height: 85vh;
    display: flex;
    align-items: center;
}
.hero-slider .slide-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero-slider .slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(212, 168, 67, 0.3);
    border: 2px solid var(--gold);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}
.hero-slider .carousel-control-prev { left: 30px; }
.hero-slider .carousel-control-next { right: 30px; }
.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background: var(--gold);
}
.hero-slider .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-slider .carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0);
}
.hero-slider .carousel-indicators {
    z-index: 5;
}
.hero-slider .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--gold);
    opacity: 0.7;
    margin: 0 5px;
    transition: all 0.3s ease;
}
.hero-slider .carousel-indicators .active {
    background: var(--gold);
    opacity: 1;
    transform: scale(1.2);
}

/* Slide text - hidden by default */
.slide-tagline,
.slide-title,
.slide-subtitle,
.slide-buttons {
    opacity: 0;
    transform: translateY(20px);
}
.slide-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gold-light);
    font-size: 1.3rem;
    margin-bottom: 15px;
}
.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1.2;
}
.slide-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.8;
    max-width: 550px;
}

/* Only animate text when slide is active */
.carousel-item.active .slide-tagline {
    animation: slideUp 0.8s ease 0.3s forwards;
}
.carousel-item.active .slide-title {
    animation: slideUp 0.8s ease 0.5s forwards;
}
.carousel-item.active .slide-subtitle {
    animation: slideUp 0.8s ease 0.7s forwards;
}
.carousel-item.active .slide-buttons {
    animation: slideUp 0.8s ease 0.9s forwards;
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section (kept for other uses) */
.hero-section {
    background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 50%, var(--maroon-light) 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.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 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23d4a84320" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="%23d4a84315" stroke-width="0.3"/><circle cx="50" cy="50" r="20" fill="none" stroke="%23d4a84310" stroke-width="0.2"/></svg>');
    background-size: 300px;
    opacity: 0.3;
}
.hero-content { position: relative; z-index: 2; }
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.8;
}
.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gold-light);
    font-size: 1.5rem;
    margin-bottom: 25px;
}
.hero-decorative {
    position: absolute;
    right: -5%;
    top: 10%;
    width: 500px;
    height: 500px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    opacity: 0.1;
}
.hero-decorative-2 {
    position: absolute;
    right: 0;
    top: 15%;
    width: 400px;
    height: 400px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    opacity: 0.08;
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--maroon-dark);
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 168, 67, 0.4);
    color: var(--maroon-dark);
}
.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 12px 34px;
    border-radius: 30px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--maroon-dark);
    transform: translateY(-3px);
}

/* Section Styles */
.section-padding { padding: 80px 0; }
.section-dark {
    background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
    color: var(--text-light);
}
.section-cream { background: var(--cream); }
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.section-header .gold-text { color: var(--gold); }
.section-header p {
    font-size: 1.1rem;
    color: #777;
    max-width: 600px;
    margin: 0 auto;
}
.section-dark .section-header p { color: var(--text-light); opacity: 0.8; }
.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    margin: 15px auto;
    border-radius: 2px;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #eee;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(90, 0, 0, 0.1);
    border-color: var(--gold);
}
.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--gold);
    font-size: 1.5rem;
}
.feature-card h5 {
    color: var(--maroon);
    margin-bottom: 12px;
    font-weight: 600;
}
.feature-card p { color: #666; font-size: 0.95rem; line-height: 1.6; }

/* Massage Cards */
.massage-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #eee;
    height: 100%;
}
.massage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(90, 0, 0, 0.12);
}
.massage-card-icon {
    background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
    padding: 30px;
    text-align: center;
}
.massage-card-icon i {
    font-size: 2.5rem;
    color: var(--gold);
}
.massage-card-body { padding: 25px; }
.massage-card-body h4 {
    color: var(--maroon);
    margin-bottom: 12px;
    font-weight: 600;
}
.massage-card-body p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
}
.testimonial-card:hover {
    box-shadow: 0 15px 35px rgba(90, 0, 0, 0.08);
    border-color: var(--gold);
}
.testimonial-card .quote-icon {
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.5;
    margin-bottom: 15px;
}
.testimonial-card .feedback {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.testimonial-card .client-info {
    display: flex;
    align-items: center;
}
.client-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--maroon), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    margin-right: 12px;
    font-size: 0.9rem;
}
.client-name { font-weight: 600; color: var(--maroon); }
.client-rating { color: var(--gold); font-size: 0.85rem; }

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}
.page-banner h1 {
    color: var(--gold);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.page-banner p {
    color: var(--text-light);
    font-size: 1.1rem;
    opacity: 0.8;
}
.page-banner .breadcrumb { justify-content: center; margin-top: 15px; }
.page-banner .breadcrumb-item a { color: var(--gold); }
.page-banner .breadcrumb-item.active { color: var(--text-light); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: var(--gold); }

/* Content Sections */
.content-section { padding: 60px 0; }
.content-section h3 {
    color: var(--maroon);
    font-weight: 600;
    margin-bottom: 20px;
}
.content-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* Job Cards */
.job-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    border-left: 4px solid var(--gold);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}
.job-card:hover {
    box-shadow: 0 10px 30px rgba(90, 0, 0, 0.1);
    transform: translateX(5px);
}
.job-card h4 { color: var(--maroon); margin-bottom: 10px; }
.job-card .job-type {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--maroon-dark);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.job-card p { color: #666; line-height: 1.7; }

/* Booking Form */
.booking-form {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.booking-form .form-label {
    color: var(--maroon);
    font-weight: 600;
    font-size: 0.9rem;
}
.booking-form .form-control,
.booking-form .form-select {
    border: 2px solid #e8e0d5;
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}
.booking-form .form-control:focus,
.booking-form .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}
.booking-form .btn-submit {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    color: var(--gold);
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    width: 100%;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}
.booking-form .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(90, 0, 0, 0.3);
}

/* Alert */
.alert-success-custom {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 1px solid #a3d9b1;
    border-radius: 12px;
    padding: 16px 24px;
    color: #155724;
}

/* Info List */
.info-list { list-style: none; padding: 0; }
.info-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
}
.info-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Pros Cons */
.pros-cons-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    border: 1px solid #eee;
}
.pros-cons-card.pros { border-top: 4px solid #28a745; }
.pros-cons-card.cons { border-top: 4px solid #dc3545; }
.pros-cons-card h5 { margin-bottom: 15px; font-weight: 600; }
.pros-cons-card ul { padding-left: 20px; }
.pros-cons-card li { margin-bottom: 8px; color: #555; line-height: 1.6; }

/* Location Cards */
.location-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}
.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(90, 0, 0, 0.1);
    border-color: var(--gold);
}
.location-card .loc-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--gold);
    font-size: 1.3rem;
}
.location-card h5 { color: var(--maroon); font-weight: 600; margin-bottom: 10px; }
.location-card p { color: #666; font-size: 0.9rem; }

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--maroon-dark) 0%, #0d0000 100%);
    color: var(--text-light);
    padding: 60px 0 30px;
}
.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
}
.text-gold { color: var(--gold); }
.footer-text { color: #bbb; font-size: 0.9rem; line-height: 1.7; }
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    margin-right: 10px;
    transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--maroon-dark); }
.footer-subtitle {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #bbb; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { color: #bbb; margin-bottom: 12px; font-size: 0.9rem; }
.footer-contact i { color: var(--gold); width: 20px; }
.footer-divider { border-color: rgba(212, 168, 67, 0.2); margin: 30px 0 20px; }
.footer-copy { color: #888; font-size: 0.85rem; margin: 0; }
.footer-link-sm { color: #888; font-size: 0.85rem; }
.footer-link-sm:hover { color: var(--gold); }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    color: var(--gold);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
}
.back-to-top:hover {
    background: var(--gold);
    color: var(--maroon-dark);
    transform: translateY(-5px);
}
.back-to-top.show { display: flex; }

/* Benefits */
.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.benefit-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--maroon-dark);
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 20px;
}
.benefit-item h5 { color: var(--maroon); margin-bottom: 8px; }
.benefit-item p { color: #666; line-height: 1.6; margin: 0; }

/* Pricing */
.price-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--maroon-dark);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
}
.price-original {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }

/* Responsive */
@media (max-width: 991px) {
    .hero-title, .slide-title { font-size: 2.5rem; }
    .hero-tagline, .slide-tagline { font-size: 1.2rem; }
    .hero-section { min-height: 70vh; }
    .hero-slider .carousel-item { min-height: 70vh; }
    .section-header h2 { font-size: 2rem; }
    .page-banner h1 { font-size: 2rem; }
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next { width: 45px; height: 45px; }
    .hero-slider .carousel-control-prev { left: 15px; }
    .hero-slider .carousel-control-next { right: 15px; }
}
@media (max-width: 767px) {
    .hero-title, .slide-title { font-size: 2rem; }
    .hero-subtitle, .slide-subtitle { font-size: 1rem; }
    .top-bar { display: none; }
    .section-padding { padding: 50px 0; }
    .booking-form { padding: 25px; }
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next { display: none; }
    .hero-slider .carousel-item { min-height: 60vh; }
}
