/* ============================================================================
   PREMIUM COLOR PALETTE & PROFESSIONAL STYLING
   Refined colors for a more professional, premium brand image
   ============================================================================ */

/* ============================================================================
   REFINED BRAND COLOR VARIABLES
   Professional, muted colors that feel premium and sophisticated
   ============================================================================ */
:root {
    /* Primary Brand Blues - Deeper, more sophisticated */
    --premium-blue-900: #0c2d5a;
    --premium-blue-800: #0f3d76;
    --premium-blue-700: #1a4f8c;
    --premium-blue-600: #1e5a9e;
    --premium-blue-500: #2463a5;
    --premium-blue-400: #3b7bc9;
    --premium-blue-300: #6a9dd8;
    --premium-blue-200: #a3c4e8;
    --premium-blue-100: #dbe9f7;
    --premium-blue-50: #f0f6fc;

    /* Accent Maroon/Red - More refined and muted */
    --premium-maroon-900: #4a1515;
    --premium-maroon-800: #5c1c1c;
    --premium-maroon-700: #712525;
    --premium-maroon-600: #862e2e;
    --premium-maroon-500: #9a3838;
    --premium-maroon-400: #b85555;
    --premium-maroon-300: #d17878;
    --premium-maroon-200: #e5a8a8;
    --premium-maroon-100: #f5d5d5;
    --premium-maroon-50: #fcf0f0;

    /* Neutral Slate - Professional grays */
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;

    /* Premium Accent Colors */
    --premium-success: #0d9488;
    --premium-success-light: #14b8a6;
    --premium-warning: #d97706;
    --premium-warning-light: #f59e0b;
    --premium-danger: #b91c1c;
    --premium-danger-light: #dc2626;

    /* Gradients */
    --premium-gradient-primary: linear-gradient(135deg, var(--premium-blue-800) 0%, var(--premium-blue-600) 100%);
    --premium-gradient-accent: linear-gradient(135deg, var(--premium-maroon-700) 0%, var(--premium-maroon-500) 100%);
    --premium-gradient-dark: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
    --premium-gradient-subtle: linear-gradient(135deg, var(--slate-50) 0%, var(--slate-100) 100%);
}

/* ============================================================================
   HERO SECTION LIGHT THEME - BUTTON FIX
   Ensuring buttons are readable in light backgrounds
   ============================================================================ */

/* Light Theme Hero - Primary CTA Button */
.hero-with-curtain.theme-active .shimmer-btn,
.hero-theme-active .shimmer-btn,
body.hero-theme-active .shimmer-btn,
.hero-section.light-theme .shimmer-btn {
    background: var(--premium-gradient-primary) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow:
        0 8px 24px rgba(15, 61, 118, 0.35),
        0 2px 8px rgba(15, 61, 118, 0.2) !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.hero-with-curtain.theme-active .shimmer-btn:hover,
.hero-theme-active .shimmer-btn:hover,
body.hero-theme-active .shimmer-btn:hover {
    background: linear-gradient(135deg, var(--premium-blue-700) 0%, var(--premium-blue-500) 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow:
        0 12px 32px rgba(15, 61, 118, 0.45),
        0 4px 12px rgba(15, 61, 118, 0.25) !important;
}

/* Light Theme Hero - Outline Button */
.hero-with-curtain.theme-active .btn-outline-light,
.hero-theme-active .btn-outline-light,
body.hero-theme-active .btn-outline-light {
    border: 2px solid var(--premium-blue-700) !important;
    color: var(--premium-blue-800) !important;
    background: transparent !important;
    font-weight: 600 !important;
}

.hero-with-curtain.theme-active .btn-outline-light:hover,
.hero-theme-active .btn-outline-light:hover,
body.hero-theme-active .btn-outline-light:hover {
    background: var(--premium-blue-800) !important;
    color: #ffffff !important;
    border-color: var(--premium-blue-800) !important;
    box-shadow: 0 8px 24px rgba(15, 61, 118, 0.3) !important;
}

/* Light Theme Hero - Primary Button (Bootstrap) */
.hero-with-curtain.theme-active .btn-primary,
.hero-theme-active .btn-primary,
body.hero-theme-active .hero-section .btn-primary {
    background: var(--premium-gradient-primary) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Light Background Section Buttons */
.road-hidden-section .btn-primary,
.section-light .btn-primary {
    background: var(--premium-gradient-primary) !important;
    color: #ffffff !important;
    border: none !important;
}

/* ============================================================================
   GLOBAL BUTTON REFINEMENTS - Premium Styling
   ============================================================================ */

/* Primary Buttons - Refined Blue Gradient */
.btn-primary {
    background: var(--premium-gradient-primary) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(15, 61, 118, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--premium-blue-700) 0%, var(--premium-blue-500) 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(15, 61, 118, 0.35) !important;
    color: #ffffff !important;
}

/* Secondary/Accent Buttons - Refined Maroon */
.btn-secondary {
    background: var(--premium-gradient-accent) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(113, 37, 37, 0.25) !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: linear-gradient(135deg, var(--premium-maroon-600) 0%, var(--premium-maroon-400) 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(113, 37, 37, 0.35) !important;
    color: #ffffff !important;
}

/* Outline Primary Button */
.btn-outline-primary {
    border: 2px solid var(--premium-blue-600) !important;
    color: var(--premium-blue-700) !important;
    background: transparent !important;
    font-weight: 600 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--premium-gradient-primary) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 6px 20px rgba(15, 61, 118, 0.3) !important;
}

/* Danger/Emergency Button - More Refined Red */
.btn-danger {
    background: linear-gradient(135deg, var(--premium-danger) 0%, var(--premium-danger-light) 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.btn-danger:hover,
.btn-danger:focus {
    background: linear-gradient(135deg, #991b1b 0%, var(--premium-danger) 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(185, 28, 28, 0.4) !important;
}

/* Success Button - Refined Teal */
.btn-success {
    background: linear-gradient(135deg, var(--premium-success) 0%, var(--premium-success-light) 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.btn-success:hover,
.btn-success:focus {
    background: linear-gradient(135deg, #0f766e 0%, var(--premium-success) 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35) !important;
}

/* Warning Button - Professional Orange */
.btn-warning {
    background: linear-gradient(135deg, var(--premium-warning) 0%, var(--premium-warning-light) 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.btn-warning:hover,
.btn-warning:focus {
    background: linear-gradient(135deg, #b45309 0%, var(--premium-warning) 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35) !important;
}

/* Light/White Button */
.btn-light {
    background: #ffffff !important;
    border: 1px solid var(--slate-200) !important;
    color: var(--slate-800) !important;
    font-weight: 600 !important;
}

.btn-light:hover,
.btn-light:focus {
    background: var(--slate-50) !important;
    border-color: var(--slate-300) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1) !important;
}

/* ============================================================================
   SECTION BACKGROUNDS - Professional & Clean
   ============================================================================ */

/* Light Section Background */
.road-hidden-section,
.section-light {
    background: var(--premium-gradient-subtle) !important;
    position: relative;
}

/* Dark Section Background */
.road-hidden-section-dark,
.section-dark {
    background: var(--premium-gradient-dark) !important;
}

/* ============================================================================
   BADGES & CHIPS - Refined Styling
   ============================================================================ */

.badge {
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
}

.badge.bg-primary,
.bg-primary {
    background: var(--premium-blue-600) !important;
}

.badge.bg-secondary,
.bg-secondary {
    background: var(--premium-maroon-600) !important;
}

.badge.bg-success {
    background: var(--premium-success) !important;
}

.badge.bg-danger {
    background: var(--premium-danger) !important;
}

.badge.bg-warning {
    background: var(--premium-warning) !important;
    color: #ffffff !important;
}

/* ============================================================================
   CARD REFINEMENTS - Premium Look
   ============================================================================ */

.card,
.contact-card,
.service-card,
.feature-card {
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    box-shadow:
        0 4px 16px rgba(15, 23, 42, 0.06),
        0 1px 3px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.card:hover,
.contact-card:hover,
.service-card:hover,
.feature-card:hover {
    box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.1),
        0 4px 12px rgba(15, 23, 42, 0.06) !important;
    transform: translateY(-4px) !important;
}

/* Dark Cards */
.contact-card.paint-pour-card,
.emergency-card {
    background: var(--premium-gradient-dark) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* ============================================================================
   LINK & TEXT COLOR REFINEMENTS
   ============================================================================ */

a {
    color: var(--premium-blue-600);
    transition: color 0.2s ease !important;
}

a:hover {
    color: var(--premium-blue-700);
}

/* Text Colors */
.text-primary {
    color: var(--premium-blue-600) !important;
}

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

.text-muted {
    color: var(--slate-500) !important;
}

/* ============================================================================
   FORM ELEMENTS - Professional Styling
   ============================================================================ */

.form-control,
.form-select {
    border: 1px solid var(--slate-200) !important;
    background: #ffffff !important;
    color: var(--slate-800) !important;
    transition: all 0.2s ease !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--premium-blue-400) !important;
    box-shadow: 0 0 0 3px rgba(36, 99, 165, 0.15) !important;
}

.form-control::placeholder {
    color: var(--slate-400) !important;
}

/* ============================================================================
   ICON STYLING - Consistent Brand Colors
   ============================================================================ */

.icon-box-sm.bg-primary,
.icon-box.bg-primary {
    background: var(--premium-gradient-primary) !important;
}

.icon-box-sm.bg-success,
.icon-box.bg-success {
    background: linear-gradient(135deg, var(--premium-success) 0%, var(--premium-success-light) 100%) !important;
}

.icon-box-sm.bg-danger,
.icon-box.bg-danger {
    background: linear-gradient(135deg, var(--premium-danger) 0%, var(--premium-danger-light) 100%) !important;
}

.icon-box-sm.bg-warning,
.icon-box.bg-warning {
    background: linear-gradient(135deg, var(--premium-warning) 0%, var(--premium-warning-light) 100%) !important;
}

.icon-box-sm.bg-info,
.icon-box.bg-info {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%) !important;
}

/* ============================================================================
   SECTION HEADERS - Refined Typography
   ============================================================================ */

.section-title,
h2.display-5,
h2.fw-bold {
    color: var(--slate-900) !important;
    letter-spacing: -0.02em !important;
}

.section-subtitle,
.lead {
    color: var(--slate-600) !important;
}

/* Dark Section Headers */
.road-hidden-section-dark .section-title,
.road-hidden-section-dark h2,
.section-dark h2 {
    color: #ffffff !important;
}

.road-hidden-section-dark .section-subtitle,
.road-hidden-section-dark .lead,
.section-dark .lead {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ============================================================================
   CTA SECTION - Premium Gradient
   ============================================================================ */

.cta-wrapper {
    background: linear-gradient(135deg,
            var(--premium-blue-800) 0%,
            var(--premium-blue-600) 50%,
            var(--premium-maroon-600) 100%) !important;
}

.cta-wrapper .btn-light,
.cta-wrapper .btn-outline-light {
    background: #ffffff !important;
    color: var(--premium-blue-800) !important;
    border: none !important;
    font-weight: 700 !important;
}

.cta-wrapper .btn-light:hover,
.cta-wrapper .btn-outline-light:hover {
    background: var(--slate-100) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

/* ============================================================================
   FOOTER - Refined Dark Theme
   ============================================================================ */

.main-footer,
footer {
    background: var(--premium-gradient-dark) !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.main-footer h5,
.main-footer h6,
footer h5,
footer h6 {
    color: #ffffff !important;
}

.main-footer .footer-links a,
footer .footer-links a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.2s ease !important;
}

.main-footer .footer-links a:hover,
footer .footer-links a:hover {
    color: #ffffff !important;
}

/* ============================================================================
   SCROLL UP BUTTON - Premium Styling
   ============================================================================ */

.scroll-up-button {
    background: var(--premium-gradient-primary) !important;
    box-shadow:
        0 4px 16px rgba(15, 61, 118, 0.35),
        0 0 0 2px rgba(255, 255, 255, 0.1) !important;
}

.scroll-up-button:hover {
    background: linear-gradient(135deg, var(--premium-blue-700) 0%, var(--premium-blue-500) 100%) !important;
    box-shadow:
        0 8px 24px rgba(15, 61, 118, 0.45),
        0 0 0 3px rgba(255, 255, 255, 0.15) !important;
}

/* ============================================================================
   LOADING / PROGRESS INDICATORS
   ============================================================================ */

.spinner-border {
    color: var(--premium-blue-600) !important;
}

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

/* ============================================================================
   ACCORDION/FAQ - Professional Styling
   ============================================================================ */

.accordion-button {
    color: var(--slate-800) !important;
    font-weight: 600 !important;
}

.accordion-button:not(.collapsed) {
    background: var(--premium-blue-50) !important;
    color: var(--premium-blue-700) !important;
}

.accordion-body {
    color: var(--slate-600) !important;
}