/*
Theme Name: Lush Spa and Hammam
Theme URI: http://lushspaandhammam.com
Author: Cascade
Author URI: http://cascade.ai
Description: A baseline theme for Lush Spa and Hammam.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lushspaandhammam
*/

/* Basic CSS for the theme */
body {
    font-family: 'Georgia', serif;
    background-color: #0D0D0D;
    color: #E5E5E5;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* TAN-Pearl-Regular font face */
@font-face {
    font-family: 'TAN-Pearl-Regular';
    src: url('assets/fonts/TAN-Pearl-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Dark mode styles (default) */
.site-header {
    background-color: #1A1A1A;
    border-bottom-color: #333;
}

a {
    color: #E5E5E5;
}

a:hover {
    transform: scale(1.01);
}

/* Primary Menu Flex Layout */
#primary-menu,
#primary-menu ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

h1 {
    line-height: 1.3 !important;
}

/* Header Navigation Padding */
.main-navigation ul li a {
    padding: 12px 16px;
    display: inline-block;
}

/* Header Menu Underline for Active Item */
.main-navigation ul li.current-menu-item a {
    position: relative;
}

.main-navigation ul li.current-menu-item a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
}

/* LatePoint Luxury Black & Gold Theme Overrides */
.latepoint-w,
.latepoint-dark-theme-wrapper,
[data-latepoint-grid-cols] {
    --lp-primary-color: #C5A059 !important;
    --lp-primary-color-hover: #E5C384 !important;
    --lp-primary-bg: rgba(197, 160, 89, 0.1) !important;
    --lp-bg-color: #0D0D0D !important;
    --lp-card-bg-color: #111111 !important;
    --lp-border-color: rgba(255, 255, 255, 0.1) !important;
    --lp-text-color: #E5E5E5 !important;
    --lp-accent-color: #C5A059 !important;
    --lp-accent-bg: rgba(197, 160, 89, 0.1) !important;
    --lp-success-color: #C5A059 !important;
}

/* Ensure all latepoint wrappers have dark background */
.latepoint-w,
.latepoint-w .os-booking-wrapper,
.latepoint-w .latepoint-w-container,
.latepoint-w .lp-step-container,
.latepoint-dark-theme-wrapper .os-booking-wrapper,
.latepoint-dark-theme-wrapper .latepoint-w-container,
.latepoint-dark-theme-wrapper .lp-step-container {
    background-color: #0D0D0D !important;
    color: #E5E5E5 !important;
}

/* 8px Border Radius on all buttons to comply with site standards */
.latepoint-w .lp-button,
.latepoint-w .lp-next-step-btn,
.latepoint-w .latepoint-btn,
.latepoint-dark-theme-wrapper .lp-button,
.latepoint-dark-theme-wrapper .lp-next-step-btn {
    background-color: #C5A059 !important;
    color: #000000 !important; /* Premium dark text on gold button */
    border-radius: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.latepoint-w .lp-button:hover,
.latepoint-w .lp-next-step-btn:hover,
.latepoint-w .latepoint-btn:hover,
.latepoint-dark-theme-wrapper .lp-button:hover,
.latepoint-dark-theme-wrapper .lp-next-step-btn:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* LatePoint Step headers & typography */
.latepoint-w .lp-step-title,
.latepoint-dark-theme-wrapper .lp-step-title {
    color: #ffffff !important;
    font-family: 'TAN-Pearl-Regular', serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

/* Cards & items selection (e.g. services, agents) */
.latepoint-w .lp-service-item,
.latepoint-w .lp-agent-item,
.latepoint-w .lp-item-card {
    background-color: #111111 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.latepoint-w .lp-service-item:hover,
.latepoint-w .lp-agent-item:hover,
.latepoint-w .lp-item-card:hover {
    border-color: rgba(197, 160, 89, 0.4) !important;
}

.latepoint-w .lp-service-item.selected,
.latepoint-w .lp-agent-item.selected,
.latepoint-w .lp-item-card.selected {
    border-color: #C5A059 !important;
    background-color: rgba(197, 160, 89, 0.05) !important;
}

/* Time slots selection */
.latepoint-w .lp-time-slot.available,
.latepoint-dark-theme-wrapper .lp-time-slot.available {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #E5E5E5 !important;
    border-radius: 8px !important;
}

.latepoint-w .lp-time-slot.available:hover,
.latepoint-dark-theme-wrapper .lp-time-slot.available:hover {
    border-color: #C5A059 !important;
}

.latepoint-w .lp-time-slot.selected,
.latepoint-dark-theme-wrapper .lp-time-slot.selected {
    background-color: #C5A059 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border-color: #C5A059 !important;
}

/* Inputs & Form Fields */
.latepoint-w input,
.latepoint-w select,
.latepoint-w textarea,
.latepoint-dark-theme-wrapper input,
.latepoint-dark-theme-wrapper select,
.latepoint-dark-theme-wrapper textarea,
.latepoint-customer-dashboard input,
.latepoint-customer-dashboard select,
.latepoint-customer-dashboard textarea,
.latepoint-client-dashboard-wrapper input,
.latepoint-client-dashboard-wrapper select,
.latepoint-client-dashboard-wrapper textarea,
.lp-customer-dashboard input,
.lp-customer-dashboard select,
.lp-customer-dashboard textarea {
    background-color: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease !important;
}

.latepoint-w input:focus,
.latepoint-w select:focus,
.latepoint-w textarea:focus,
.latepoint-dark-theme-wrapper input:focus,
.latepoint-dark-theme-wrapper select:focus,
.latepoint-dark-theme-wrapper textarea:focus,
.latepoint-customer-dashboard input:focus,
.latepoint-customer-dashboard select:focus,
.latepoint-customer-dashboard textarea:focus,
.latepoint-client-dashboard-wrapper input:focus,
.latepoint-client-dashboard-wrapper select:focus,
.latepoint-client-dashboard-wrapper textarea:focus,
.lp-customer-dashboard input:focus,
.lp-customer-dashboard select:focus,
.lp-customer-dashboard textarea:focus {
    border-color: #C5A059 !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
}

/* Seamless Phone Input Overrides (Resolving Black Section on Phone Number) */
.latepoint-w .iti__selected-flag,
.latepoint-dark-theme-wrapper .iti__selected-flag,
.latepoint-customer-dashboard .iti__selected-flag,
.latepoint-client-dashboard-wrapper .iti__selected-flag,
.lp-customer-dashboard .iti__selected-flag,
.latepoint-w .iti,
.latepoint-w .intl-tel-input,
.latepoint-w .selected-flag,
.latepoint-w .country-select {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
}

/* Dropdown list for country selector in dark mode */
.latepoint-w .iti__country-list,
.latepoint-customer-dashboard .iti__country-list,
.latepoint-client-dashboard-wrapper .iti__country-list,
.lp-customer-dashboard .iti__country-list {
    background-color: #111111 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
}

.latepoint-w .iti__country:hover,
.latepoint-customer-dashboard .iti__country:hover,
.latepoint-client-dashboard-wrapper .iti__country:hover,
.lp-customer-dashboard .iti__country:hover {
    background-color: rgba(197, 160, 89, 0.1) !important;
    color: #C5A059 !important;
}

/* LatePoint Customer Dashboard Card Overrides (Add Blur Glassmorphism Background) */
.latepoint-w .lp-booking-card,
.latepoint-w .lp-appointment-card,
.latepoint-customer-dashboard .lp-booking-card,
.latepoint-customer-dashboard .lp-appointment-card,
.latepoint-client-dashboard-wrapper .lp-booking-card,
.latepoint-client-dashboard-wrapper .lp-appointment-card,
.lp-customer-dashboard .lp-booking-card,
.lp-customer-dashboard .lp-appointment-card,
.latepoint-w .appointment-card,
.latepoint-w .booking-card {
    background: rgba(17, 17, 17, 0.6) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    color: #ffffff !important;
}

/* Card Typography & Layout */
.latepoint-w .lp-booking-card .lp-booking-service-name,
.latepoint-w .lp-appointment-card h3,
.latepoint-customer-dashboard .lp-booking-card .lp-booking-service-name,
.latepoint-customer-dashboard .lp-appointment-card h3,
.lp-customer-dashboard .lp-booking-card .lp-booking-service-name,
.lp-customer-dashboard .lp-appointment-card h3,
.latepoint-w .booking-card .service-name,
.latepoint-w .appointment-card .service-name {
    color: #ffffff !important;
    font-family: 'TAN-Pearl-Regular', serif !important;
    text-transform: uppercase !important;
}

.latepoint-w .lp-booking-card .lp-booking-date,
.latepoint-w .booking-card .booking-date,
.latepoint-w .appointment-card .appointment-date,
.latepoint-customer-dashboard .lp-booking-card .lp-booking-date,
.lp-customer-dashboard .lp-booking-card .lp-booking-date {
    color: rgba(255, 255, 255, 0.8) !important;
}

.latepoint-w .lp-booking-card .lp-booking-label,
.latepoint-w .booking-card .booking-label,
.latepoint-w .appointment-card .appointment-label,
.latepoint-customer-dashboard .lp-booking-card .lp-booking-label,
.lp-customer-dashboard .lp-booking-card .lp-booking-label {
    color: rgba(255, 255, 255, 0.5) !important;
}

.latepoint-w .lp-booking-card .lp-booking-value,
.latepoint-w .booking-card .booking-value,
.latepoint-w .appointment-card .appointment-value,
.latepoint-customer-dashboard .lp-booking-card .lp-booking-value,
.lp-customer-dashboard .lp-booking-card .lp-booking-value {
    color: #ffffff !important;
}

/* Force solid black text on the gold dashboard card buttons (Eliminating Red Text) */
.latepoint-w .lp-booking-card .lp-button,
.latepoint-w .lp-appointment-card .lp-button,
.latepoint-customer-dashboard .lp-booking-card .lp-button,
.latepoint-customer-dashboard .lp-appointment-card .lp-button,
.lp-customer-dashboard .lp-booking-card .lp-button,
.lp-customer-dashboard .lp-appointment-card .lp-button,
.latepoint-w .booking-card .button,
.latepoint-w .appointment-card .button,
.latepoint-w .booking-card a,
.latepoint-w .appointment-card a {
    background-color: #C5A059 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border-radius: 8px !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.latepoint-w .lp-booking-card .lp-button:hover,
.latepoint-w .lp-appointment-card .lp-button:hover,
.latepoint-customer-dashboard .lp-booking-card .lp-button:hover,
.latepoint-customer-dashboard .lp-appointment-card .lp-button:hover,
.lp-customer-dashboard .lp-booking-card .lp-button:hover,
.lp-customer-dashboard .lp-appointment-card .lp-button:hover,
.latepoint-w .booking-card .button:hover,
.latepoint-w .appointment-card .button:hover,
.latepoint-w .booking-card a:hover,
.latepoint-w .appointment-card a:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Progress bar & dots styling */
.latepoint-w .lp-progress-bar .lp-progress-filled,
.latepoint-dark-theme-wrapper .lp-progress-bar .lp-progress-filled {
    background-color: #C5A059 !important;
}

.latepoint-w .lp-step-dot.active,
.latepoint-dark-theme-wrapper .lp-step-dot.active {
    background-color: #C5A059 !important;
}

.latepoint-w .lp-step-dot,
.latepoint-dark-theme-wrapper .lp-step-dot {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Summary Box & Checkout details */
.latepoint-w .lp-booking-summary,
.latepoint-w .lp-summary-box {
    background-color: #111111 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
}

.latepoint-dark-theme-wrapper label {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* LatePoint Calendar Dark Mode Overrides */
.latepoint-w .lp-calendar,
.latepoint-w .lp-datepicker,
.latepoint-dark-theme-wrapper .lp-calendar,
.latepoint-dark-theme-wrapper .lp-datepicker,
.latepoint-w .calendar-month,
.latepoint-dark-theme-wrapper .calendar-month {
    background-color: #111111 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    color: #ffffff !important;
}

.latepoint-w .lp-calendar-month-year,
.latepoint-dark-theme-wrapper .lp-calendar-month-year,
.latepoint-w .calendar-month-name,
.latepoint-dark-theme-wrapper .calendar-month-name {
    color: #ffffff !important;
    font-family: 'TAN-Pearl-Regular', serif !important;
    text-transform: uppercase !important;
    font-size: 1.1rem !important;
}

.latepoint-w .lp-calendar-day-header,
.latepoint-dark-theme-wrapper .lp-calendar-day-header,
.latepoint-w .day-of-week,
.latepoint-dark-theme-wrapper .day-of-week {
    color: rgba(255, 255, 255, 0.4) !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
}

.latepoint-w .lp-calendar-day,
.latepoint-dark-theme-wrapper .lp-calendar-day,
.latepoint-w .calendar-day,
.latepoint-dark-theme-wrapper .calendar-day {
    color: #E5E5E5 !important;
    transition: all 0.3s ease !important;
}

.latepoint-w .lp-calendar-day.today,
.latepoint-dark-theme-wrapper .lp-calendar-day.today,
.latepoint-w .calendar-day.today,
.latepoint-dark-theme-wrapper .calendar-day.today {
    color: #C5A059 !important;
    font-weight: 700 !important;
}

.latepoint-w .lp-calendar-day.disabled,
.latepoint-dark-theme-wrapper .lp-calendar-day.disabled,
.latepoint-w .calendar-day.disabled,
.latepoint-dark-theme-wrapper .calendar-day.disabled {
    color: rgba(255, 255, 255, 0.15) !important;
    background-color: transparent !important;
    opacity: 0.3 !important;
}

.latepoint-w .lp-calendar-day:hover:not(.disabled),
.latepoint-dark-theme-wrapper .lp-calendar-day:hover:not(.disabled),
.latepoint-w .calendar-day:hover:not(.disabled),
.latepoint-dark-theme-wrapper .calendar-day:hover:not(.disabled) {
    background-color: rgba(197, 160, 89, 0.15) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}

.latepoint-w .lp-calendar-day.selected,
.latepoint-dark-theme-wrapper .lp-calendar-day.selected,
.latepoint-w .calendar-day.selected,
.latepoint-dark-theme-wrapper .calendar-day.selected {
    background-color: #C5A059 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}

/* Calendar month navigation arrows */
.latepoint-w .lp-calendar-month-arrow,
.latepoint-dark-theme-wrapper .lp-calendar-month-arrow,
.latepoint-w .calendar-arrow,
.latepoint-dark-theme-wrapper .calendar-arrow {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
}

.latepoint-w .lp-calendar-month-arrow:hover,
.latepoint-dark-theme-wrapper .lp-calendar-month-arrow:hover,
.latepoint-w .calendar-arrow:hover,
.latepoint-dark-theme-wrapper .calendar-arrow:hover {
    background-color: #C5A059 !important;
    color: #000000 !important;
    border-color: #C5A059 !important;
}

/* Animation Keyframes */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fade-in 1s ease-out;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out;
}

/* Hero Title Styling */
.hero-title {
    line-height: 1.3 !important;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Continuous Scroll Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-320px * 6 - 2rem * 6)); /* card width * 6 + spacing * 6 */
    }
}

.animate-scroll {
    display: flex;
    width: max-content;
    animation: scroll 80s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* Mobile Hamburger to Close Transition */
#mobile-menu-toggle .burger-line-1,
#mobile-menu-toggle .burger-line-2,
#mobile-menu-toggle .burger-line-3 {
    transition: all 0.3s ease-in-out !important;
    transform-origin: center !important;
}

#mobile-menu-toggle.menu-open {
    border-color: rgba(0, 0, 0, 0.1) !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
}

#mobile-menu-toggle.menu-open:hover {
    background-color: rgba(0, 0, 0, 0.1) !important;
}

#mobile-menu-toggle.menu-open .burger-line-1,
#mobile-menu-toggle.menu-open .burger-line-2,
#mobile-menu-toggle.menu-open .burger-line-3 {
    background-color: #000000 !important; /* Force solid black lines when open */
}

#mobile-menu-toggle.menu-open .burger-line-1 {
    transform: translateY(6px) rotate(45deg) !important;
}

#mobile-menu-toggle.menu-open .burger-line-2 {
    opacity: 0 !important;
    transform: translateX(-10px) !important;
}

#mobile-menu-toggle.menu-open .burger-line-3 {
    transform: translateY(-6px) rotate(-45deg) !important;
}
