/* 
=================================================================================
UNIFIED CORPORATE THEME - NAVY BLUE CONSISTENCY ACROSS ALL PAGES
=================================================================================
Ensuring consistent corporate navy blue theme throughout the website
*/

/* Fix CSS Variable Inconsistency */
:root {
    /* Unified Corporate Colors - NO PURPLE ANYWHERE */
    --primary-gradient: linear-gradient(135deg, #1a365d 0%, #2b77ad 100%);
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2b77ad 100%);
    --corporate-gradient: linear-gradient(135deg, #1a365d 0%, #2b77ad 100%);
    --secondary-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    
    /* Corporate Navy Theme */
    --corporate-navy: #1a365d;
    --corporate-blue: #2b77ad;
    --corporate-green: #22c55e;
    --corporate-gold: #f59e0b;
    --corporate-white: #ffffff;
    --corporate-surface: #f8f9fa;
}

/* Unified Page Header Styles for ALL Pages */
.page-header-modern,
.inner-banner,
.elegant-banner {
    background: var(--corporate-gradient) !important;
    color: white !important;
    padding: 120px 0 80px !important;
    min-height: 60vh !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Add unified pattern overlay to all headers */
.page-header-modern::before,
.inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top right, rgba(43, 119, 173, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(52, 168, 83, 0.3) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="corporate-grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23corporate-grid)"/></svg>');
    background-size: 50% 50%, 40% 40%, 100px 100px;
    background-position: top right, bottom left, center;
    z-index: 1;
}

/* Unified Header Content Styling */
.page-header-content,
.w3l-breadcrumb {
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
    padding-top: 40px !important;
}

.page-title,
.inner-text-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    font-weight: 800 !important;
    color: white !important;
    margin-bottom: 24px !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #ffffff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3)) !important;
    text-shadow: none !important;
}

.page-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

/* Unified Breadcrumbs */
.breadcrumbs-custom-path {
    list-style: none !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    margin-top: 20px !important;
}

.breadcrumbs-custom-path li {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500 !important;
}

.breadcrumbs-custom-path li a {
    color: white !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.breadcrumbs-custom-path li a:hover {
    color: rgba(255,255,255,0.8) !important;
}

.breadcrumbs-custom-path li.active {
    color: rgba(255,255,255,0.7) !important;
}

/* Force Navy Blue Theme on All Gradients */
.hero-modern {
    background: var(--corporate-gradient) !important;
}

.section-title {
    background: var(--corporate-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Button Consistency - Navy Blue Theme */
.btn-style,
.btn-primary,
.btn-modern.btn-primary {
    background: var(--corporate-gradient) !important;
    border: none !important;
    color: white !important;
}

.btn-style:hover,
.btn-primary:hover,
.btn-modern.btn-primary:hover {
    background: linear-gradient(135deg, #2b77ad 0%, #1a365d 100%) !important;
    color: white !important;
}

/* CTA Sections - Remove Purple, Use Navy */
.cta-section,
.feature-box-gradient {
    background: var(--corporate-gradient) !important;
}

/* Footer Logo - Pure White (Only Footer, Not Header) */
.footer-logo img {
    filter: brightness(0) invert(1) !important;
}

/* Ensure Header Logo Stays Normal */
.navbar-brand img {
    filter: none !important;
}

/* Ensure consistent spacing across all page headers */
.page-header-modern .container,
.inner-banner .container,
.page-header-modern .container-modern {
    padding-top: 60px !important;
    padding-bottom: 40px !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .page-header-modern,
    .inner-banner,
    .elegant-banner {
        padding: 100px 0 60px !important;
        min-height: 50vh !important;
    }
    
    .page-title,
    .inner-text-title {
        font-size: 2.5rem !important;
    }
    
    .page-subtitle {
        font-size: 1.1rem !important;
    }
}

/* Override any remaining purple elements */
.badge-primary,
.bg-primary,
.text-primary {
    background-color: var(--corporate-navy) !important;
    color: white !important;
}

/* Fix any cards or components that might still use purple */
.service-card:hover,
.product-card:hover,
.blog-card:hover {
    border-color: var(--corporate-blue) !important;
}

/* Ensure consistent link colors */
a {
    color: var(--corporate-blue) !important;
}

a:hover {
    color: var(--corporate-navy) !important;
}

/* Progress bars and other elements */
.progress-bar {
    background: var(--corporate-gradient) !important;
}

/* Video gallery and other page-specific elements */
.video-gallery-item:hover {
    border-color: var(--corporate-blue) !important;
}

/* Kitchen equipment page category cards */
.kitchen-category-card:hover {
    border-color: var(--corporate-blue) !important;
}

/* Contact form and other interactive elements */
.form-control:focus {
    border-color: var(--corporate-blue) !important;
    box-shadow: 0 0 0 0.2rem rgba(43, 119, 173, 0.25) !important;
}