/* Professional Modern Color Palette - Original Design */
:root {
    /* Modern Professional Colors */
    --primary-purple: #6366F1;
    --primary-blue: #3B82F6;
    --primary-indigo: #4F46E5;
    --primary-violet: #8B5CF6;
    --dark-bg: #1F2937;
    --darker-bg: #111827;
    --light-bg: #F9FAFB;
    --white-bg: #FFFFFF;
    
    /* Legacy mappings for compatibility */
    --turquoise-pool: #06B6D4;
    --navy-deep: #1F2937;
    --charcoal: #374151;
    
    /* Text Colors - Modern Professional */
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --text-on-dark: #FFFFFF;
    --text-on-light: #111827;
    
    /* Background Colors - Modern Clean */
    --bg-primary: var(--white-bg);
    --bg-secondary: var(--light-bg);
    --bg-accent: var(--dark-bg);
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-elevated: rgba(249, 250, 251, 0.98);
    
    /* Gradient Combinations - Original Purple Design */
    --gradient-primary: linear-gradient(135deg, var(--primary-indigo) 0%, var(--primary-violet) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-violet) 0%, var(--primary-indigo) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    --gradient-surface: linear-gradient(145deg, var(--light-bg) 0%, var(--white-bg) 100%);
    
    /* Modern Shadow System */
    --shadow-soft: 0 2px 8px rgba(17, 24, 39, 0.08);
    --shadow-medium: 0 4px 16px rgba(17, 24, 39, 0.12);
    --shadow-elevated: 0 8px 32px rgba(17, 24, 39, 0.16);
    --shadow-floating: 0 16px 48px rgba(17, 24, 39, 0.20);
    
    /* Glass Effect - Modern Clean */
    --glass-bg: rgba(255, 255, 255, 0.90);
    --glass-border: rgba(99, 102, 241, 0.20);
}

/* Premium Typography - PP Neue Montreal & PP Woodland */
@import url('../fonts/fonts.css');

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'PP Woodland', sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.035em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    font-family: 'PP Neue Montreal', sans-serif;
}

h4, h5, h6 {
    font-family: 'PP Neue Montreal', sans-serif;
    font-weight: 500;
}

.lead {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 400;
    font-family: 'PP Neue Montreal', sans-serif;
    letter-spacing: -0.01em;
    opacity: 0.85;
    line-height: 1.6;
}

body {
    background: var(--gradient-surface);
    color: var(--text-primary);
    font-family: 'PP Neue Montreal', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Professional Hotel Typography */
.card-body, .card-text, .card-title, p, span, div, .lead, h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
}

.text-muted {
    color: var(--text-muted) !important;
    font-weight: 400 !important;
}

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

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

/* Form elements professional styling */
.form-label, .input-group-text {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}

.form-control, .form-select {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
    background-color: var(--bg-primary) !important;
    border: 1px solid var(--turquoise-pool) !important;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
    font-weight: 400 !important;
}

/* Modern Professional Buttons */
.btn {
    color: var(--text-on-dark) !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 0.75rem 1.5rem !important;
    font-family: 'PP Neue Montreal', sans-serif !important;
}

.btn-primary {
    background: var(--gradient-primary) !important;
    color: var(--text-on-dark) !important;
    font-weight: 600 !important;
    border: none !important;
}

.btn-outline-primary {
    color: var(--primary-indigo) !important;
    border: 2px solid var(--primary-indigo) !important;
    font-weight: 600 !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: var(--primary-indigo) !important;
    color: var(--text-on-dark) !important;
}

/* Modern Footer */
footer, .footer {
    background: var(--dark-bg) !important;
    color: var(--text-on-dark) !important;
}

footer h5, footer p, footer a {
    color: var(--text-on-dark) !important;
    font-weight: 500 !important;
}

/* Navigation - Modern Professional */
.navbar-nav .nav-link {
    color: var(--text-on-dark) !important;
    font-weight: 500 !important;
    font-family: 'PP Neue Montreal', sans-serif !important;
}

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

.navbar-brand {
    color: var(--text-on-dark) !important;
    font-family: 'PP Woodland', serif !important;
    font-weight: 700 !important;
}
    font-weight: 700 !important;
}

.btn {
    color: var(--text-on-light);
}

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

.form-label {
    color: var(--text-primary) !important;
    font-weight: 500;
}

.navbar {
    background: var(--gradient-dark) !important;
    box-shadow: var(--shadow-elevated);
    backdrop-filter: blur(20px);
}

.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 5rem 0;
    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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

.card {
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white-bg);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-indigo) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
    border-color: var(--primary-indigo);
}

.card:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-on-dark);
    font-weight: 500;
    font-family: 'PP Neue Montreal', sans-serif;
    letter-spacing: -0.01em;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    padding: 0.875rem 2rem;
}

.btn-primary:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
    color: var(--text-on-dark);
}

.btn-outline-primary {
    color: var(--turquoise-pool);
    border: 2px solid var(--turquoise-pool);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--turquoise-pool);
    border-color: var(--turquoise-pool);
    color: var(--text-on-dark);
    transform: translateY(-1px);
}

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

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

.bg-success {
    background: linear-gradient(135deg, var(--sage-muted) 0%, #66BB6A 100%) !important;
    color: var(--text-on-dark) !important;
}

.bg-warning {
    background: linear-gradient(135deg, var(--gold-accent) 0%, #F39C12 100%) !important;
    color: var(--navy-deep) !important;
}

.bg-info {
    background: var(--gradient-accent) !important;
    color: var(--text-on-dark) !important;
}

.bg-dark {
    background: var(--gradient-dark) !important;
    color: var(--text-on-dark) !important;
}

.alert-success {
    background-color: rgba(21, 128, 61, 0.1);
    border-color: #15803d;
    color: #15803d;
}

/* Rich gradient overlays for cards */
.card-header {
    font-weight: 600;
    border-bottom: 2px solid rgba(0, 196, 204, 0.2);
}

/* World-Class Form Styling */
.form-control {
    border: 1.5px solid rgba(156, 179, 163, 0.3);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    font-weight: 400;
    font-family: 'PP Neue Montreal', sans-serif;
    letter-spacing: -0.01em;
}

.form-control:focus {
    border-color: var(--luxury-teal);
    box-shadow: 0 0 0 4px rgba(13, 132, 137, 0.08), 0 8px 24px rgba(13, 132, 137, 0.12);
    background: var(--bg-elevated);
    outline: none;
    transform: translateY(-1px);
}

.form-control:hover {
    border-color: var(--text-secondary);
    background: var(--bg-elevated);
}

/* Rich accent colors for different sections */
.market-analysis {
    border-left: 4px solid var(--primary-teal);
    background: linear-gradient(90deg, rgba(0, 196, 204, 0.05) 0%, transparent 100%);
}

.revenue-projection {
    border-left: 4px solid var(--primary-navy);
    background: linear-gradient(90deg, rgba(10, 26, 68, 0.05) 0%, transparent 100%);
}

/* Professional table styling */
.table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.table thead th {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.table tbody tr:hover {
    background-color: rgba(0, 196, 204, 0.05);
}

/* Loading animations with rich colors */
.spinner-border {
    color: var(--primary-teal);
}

.progress-bar {
    background: var(--gradient-primary);
}

/* Rich footer styling */
.footer {
    background: var(--primary-navy);
    color: rgba(255, 255, 255, 0.9);
    padding: 2rem 0;
}

/* Professional button variants */
.btn-success {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
    border: none;
    color: white;
}

.btn-info {
    background: var(--gradient-secondary);
    border: none;
    color: white;
}

/* Rich navigation styling */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-nav .nav-link:hover {
    color: white !important;
}

/* Professional section dividers */
.section-divider {
    height: 2px;
    background: var(--gradient-primary);
    border: none;
    margin: 3rem 0;
}

/* Rich background patterns */
.bg-pattern {
    background-image: linear-gradient(45deg, rgba(0, 196, 204, 0.1) 25%, transparent 25%), 
                      linear-gradient(-45deg, rgba(0, 196, 204, 0.1) 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, rgba(10, 26, 68, 0.05) 75%), 
                      linear-gradient(-45deg, transparent 75%, rgba(10, 26, 68, 0.05) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Luxury Typography Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Playfair Display', -apple-system, BlinkMacSystemFont, serif;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.lead {
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

/* Premium form styling */
.form-label {
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.card-title {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.navbar-brand {
    font-family: 'Playfair Display', -apple-system, BlinkMacSystemFont, serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Location suggestions styling */
#locationSuggestions {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1050;
}

.location-suggestion {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 400;
    position: relative;
}

.location-suggestion:hover,
.location-suggestion.active {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    color: #333;
    transform: translateX(2px);
}

.location-suggestion:last-child {
    border-bottom: none;
}

.location-suggestion .location-name {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.location-suggestion .location-details {
    font-size: 0.75rem;
    color: #666;
    font-weight: 400;
}

.location-input-container {
    position: relative;
}

.location-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    margin-top: 0.25rem;
}

/* Override autocomplete styles */
input[autocomplete="off"]::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
    position: absolute;
    right: 0;
}

/* World-class button styling */
.btn {
    font-weight: 500;
    font-family: 'PP Neue Montreal', sans-serif;
    letter-spacing: -0.015em;
    border-radius: 16px;
    padding: 0.875rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

/* Premium badge styling */
.badge {
    font-weight: 500;
    font-family: 'PP Neue Montreal', sans-serif;
    letter-spacing: -0.01em;
    padding: 0.625rem 1.25rem;
    border-radius: 25px;
    font-size: 0.875rem;
}

.badge.bg-success {
    background: var(--sage-muted) !important;
    color: var(--text-on-dark) !important;
}

.badge.bg-warning {
    background: var(--warm-gold) !important;
    color: var(--navy-depth) !important;
}

.badge.bg-info {
    background: var(--luxury-teal) !important;
    color: var(--text-on-dark) !important;
}

.badge.bg-secondary {
    background: var(--charcoal-soft) !important;
    color: var(--text-on-dark) !important;
}

/* Premium Dashboard Styling */
.jumbotron {
    background: var(--gradient-primary) !important;
    border-radius: 24px !important;
    box-shadow: var(--shadow-floating);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.jumbotron::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
    pointer-events: none;
}

.chart-container {
    position: relative;
    height: 300px;
    margin: 2rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--glass-border);
}

/* Premium Navigation */
.navbar-brand {
    font-weight: 700;
    font-family: 'PP Woodland', sans-serif;
    letter-spacing: -0.025em;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 400;
    font-family: 'PP Neue Montreal', sans-serif;
    letter-spacing: -0.01em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 1.25rem !important;
    border-radius: 12px;
}

.nav-link:hover {
    color: var(--gold-accent) !important;
    transform: translateY(-1px);
    background: rgba(212, 179, 106, 0.15) !important;
}

/* Form elements consistency */
.form-select {
    border: 1.5px solid rgba(156, 179, 163, 0.3);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    font-weight: 400;
    font-family: 'PP Neue Montreal', sans-serif;
    letter-spacing: -0.01em;
}

.form-select:focus {
    border-color: var(--luxury-teal);
    box-shadow: 0 0 0 4px rgba(13, 132, 137, 0.08), 0 8px 24px rgba(13, 132, 137, 0.12);
    background: var(--bg-elevated);
    outline: none;
    transform: translateY(-1px);
}

/* Dropdown menu styling */
.dropdown-menu {
    border: 1px solid rgba(13, 132, 137, 0.2);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    background: var(--bg-primary);
}

.dropdown-item {
    transition: all 0.2s ease;
    font-weight: 400;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(13, 132, 137, 0.1) 0%, transparent 100%);
    color: var(--text-primary);
    transform: translateX(4px);
}

/* DataTables styling */
.dataTables_wrapper .dataTables_filter input {
    border: 2px solid var(--text-light);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--luxury-teal);
    box-shadow: 0 0 0 3px rgba(13, 132, 137, 0.15);
}

/* Premium table styling */
.table {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--glass-border);
    font-family: 'PP Neue Montreal', sans-serif;
}

.table thead th {
    border-bottom: 2px solid var(--luxury-teal);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.table tbody tr:hover {
    background-color: rgba(13, 132, 137, 0.05);
}

/* Alert styling */
.alert {
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: linear-gradient(135deg, rgba(135, 169, 107, 0.1) 0%, rgba(92, 184, 92, 0.05) 100%);
    color: var(--sage-green);
    border-left: 4px solid var(--sage-green);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    color: var(--warm-gold);
    border-left: 4px solid var(--warm-gold);
}

.alert-info {
    background: linear-gradient(135deg, rgba(13, 132, 137, 0.1) 0%, rgba(23, 162, 184, 0.05) 100%);
    color: var(--luxury-teal);
    border-left: 4px solid var(--luxury-teal);
}

/* Updated ROI Table Styling - 4 Column Layout */
.table-pricing-strategy-updated {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.table-pricing-strategy-updated thead th {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border: none;
}

.table-pricing-strategy-updated tbody td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: white;
}

.table-pricing-strategy-updated tbody tr:hover {
    background: #f9fafb;
}
