/**
 * Light Theme for Unique Enterprises
 * Clean, professional light theme with dark navbar fix
 */

/* Light theme body and sections */
html,
body {
    background-color: #ffffff;
    color: #1f2937;
}

/* Light section backgrounds */
.hero-carousel-section {
    background-color: #f8fafc;
}

.commercial-industrial-section {
    background-color: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.services-section {
    background-color: #ffffff;
}

.process-section {
    background-color: #f8fafc;
}

.contact-section {
    background-color: #f1f5f9;
}

/* Light navbar styling - Override any existing dark styles */
.navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar.navbar-dark {
    background-color: #ffffff !important;
}

.navbar.bg-primary {
    background-color: #ffffff !important;
}

.navbar-brand {
    color: #1f2937 !important;
}

.navbar-nav .nav-link {
    color: #1f2937 !important;
}

.navbar-nav .nav-link:hover {
    color: #3b82f6 !important;
    background-color: #f1f5f9;
}

/* Navbar toggler for light theme */
.navbar-toggler {
    border-color: #e2e8f0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2831, 41, 55, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown menus for light theme */
.dropdown-menu {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    color: #1f2937;
}

.dropdown-item:hover {
    background-color: #f1f5f9;
    color: #3b82f6;
}

/* Text colors for light theme */
.section-title {
    color: #1f2937;
}

.section-subtitle {
    color: #6b7280;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

/* Service cards for light theme */
.service-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1f2937;
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-title {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-description {
    color: #6b7280;
    line-height: 1.6;
}

.service-icon {
    color: #f59e0b;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Process steps for light theme */
.process-step {
    text-align: center;
    padding: 1.5rem;
}

.process-number {
    width: 60px;
    height: 60px;
    background-color: #f59e0b;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.process-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.process-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Commercial and Industrial section */
.logo-container {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.distributor-logo {
    max-height: 80px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Keep footer dark but fix text readability - Very specific overrides */
.footer,
footer,
footer.bg-dark {
    background-color: #1f2937 !important;
    color: #d1d5db !important;
}

/* Target all footer text elements with maximum specificity */
footer * {
    color: #d1d5db !important;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
    color: #ffffff !important;
}

/* Specific Bootstrap classes used in footer */
footer .text-light {
    color: #d1d5db !important;
}

footer .text-light-emphasis {
    color: #d1d5db !important;
}

footer .text-muted {
    color: #9ca3af !important;
}

.footer-title {
    color: #ffffff !important;
}

.footer-link,
footer a {
    color: #d1d5db !important;
    transition: color 0.3s ease;
}

.footer-link:hover,
footer a:hover {
    color: #60a5fa !important;
}

/* Fix any remaining dark text in footer */
.footer .text-dark,
.footer .text-secondary,
footer .text-dark,
footer .text-secondary {
    color: #d1d5db !important;
}

/* Footer bottom section */
.footer-bottom,
footer hr {
    border-color: #374151 !important;
}

/* Address and contact info */
footer address {
    color: #d1d5db !important;
}

footer address * {
    color: #d1d5db !important;
}

/* Social links */
footer .social-links a {
    color: #d1d5db !important;
}

footer .social-links a:hover {
    color: #60a5fa !important;
}

/* General text elements for light theme */
.lead {
    color: #6b7280;
}

/* Alert styling fixes for light theme */
.alert-warning {
    background-color: #fff3cd !important;
    border-color: #ffecb5 !important;
    color: #664d03 !important;
}

.alert-warning strong {
    color: #664d03 !important;
}

.alert-danger {
    background-color: #f8d7da !important;
    border-color: #f5c2c7 !important;
    color: #721c24 !important;
}

.alert-danger strong {
    color: #721c24 !important;
}

.alert-success {
    background-color: #d1edff !important;
    border-color: #b6d7ff !important;
    color: #084298 !important;
}

.alert-success strong {
    color: #084298 !important;
}

.alert-info {
    background-color: #d1ecf1 !important;
    border-color: #b6d7ff !important;
    color: #055160 !important;
}

.alert-info strong {
    color: #055160 !important;
}

/* Responsive design */
@media (max-width: 768px) {
    /* Commercial and Industrial section mobile layout */
    .commercial-industrial-section .row {
        flex-direction: column;
    }
    
    .commercial-industrial-section .col-lg-6 {
        order: 2;
    }
    
    .commercial-industrial-section .col-lg-3:first-child {
        order: 1;
    }
    
    .commercial-industrial-section .col-lg-3:last-child {
        order: 3;
    }
    
    .distributor-logo {
        max-height: 60px;
        max-width: 150px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
    }
}

/* Carousel specific adjustments for light theme */
.carousel-slide {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.carousel-item {
    background-color: #f8fafc;
}

.carousel-content {
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-title {
    color: #1f2937;
}

.carousel-description {
    color: #6b7280;
}

.carousel-actions .btn {
    margin: 0.5rem;
}

/* Carousel image container */
.carousel-image-container {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-product-image {
    border-radius: 8px;
}

/* Product highlights and stats */
.product-highlights {
    color: #1f2937;
}

.product-highlights .highlight-item {
    color: #1f2937;
}

.product-highlights .highlight-item small {
    color: #6b7280;
}

.product-stats {
    color: #1f2937;
}

.stat-value {
    color: #1f2937;
    font-weight: 600;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Badges in carousel */
.badge.bg-primary {
    background-color: #3b82f6 !important;
    color: #ffffff;
}

.badge.bg-success {
    background-color: #10b981 !important;
    color: #ffffff;
}

.badge.rounded-pill {
    background-color: #fbbf24 !important;
    color: #1f2937 !important;
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: auto;
}

.carousel-control-icon {
    color: #1f2937;
}

/* Carousel indicators */
.carousel-indicators button {
    background-color: #6b7280;
}

.carousel-indicators button.active {
    background-color: #3b82f6;
}

/* Quick nav overlay for light theme */
.quick-nav-overlay {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.9) 100%
    );
}

/* Button styling for light theme */
.btn-primary {
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #ea580c;
    border-color: #ea580c;
    color: #ffffff;
}

.btn-outline-primary {
    color: #3b82f6;
    border-color: #3b82f6;
}

.btn-outline-primary:hover {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}
