/* Custom Styles for Balaji Global Enterprises */

:root {
    --primary-color: #eddfe0;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    padding: 25px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Testimonials */
.testimonial-card {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin-bottom: 2rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Brand Grid */
.brand-item {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: white;
    transition: all 0.3s ease;
}

.brand-item:hover {
    background: var(--light-color);
    transform: scale(1.05);
}

/* Product Category Grid */
.product-category {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
}

.product-category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1.5rem;
}

/* Admin Panel Styles */
.admin-sidebar {
    background: var(--dark-color);
    min-height: 100vh;
}

.admin-sidebar .nav-link {
    color: #adb5bd;
    padding: 15px 20px;
}

.admin-sidebar .nav-link:hover {
    color: white;
    background: var(--primary-color);
}

.admin-sidebar .nav-link.active {
    color: white;
    background: var(--primary-color);
}

/* Status Badges */
.status-received {
    background-color: var(--info-color);
}

.status-contacted {
    background-color: var(--warning-color);
    color: var(--dark-color);
}

.status-closed {
    background-color: var(--success-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}

/* Logo Styles */
.navbar-logo {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Responsive logo sizes */
@media (max-width: 768px) {
    .navbar-logo {
        height: 32px;
    }
    
    .brand-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 28px;
    }
    
    .brand-text {
        display: none; /* Hide text on very small screens to save space */
    }
}

/* Logo hover effect */
.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

/* Footer logo styles */
.footer-logo {
    height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* Hero section logo (if you want to add it there) */
.hero-logo {
    height: 80px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    margin-bottom: 2rem;
}
/* Force navbar text to black */
.navbar-light .navbar-brand,
.navbar-light .navbar-nav .nav-link {
    color: #000 !important;          /* Strong override for black */
    font-weight: 600;                /* Optional: make text semi-bold */
}

/* On hover and active states, keep dark color */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #333 !important;          /* Slightly lighter black */
}

/* Optional: if brand text wrapped in span */
.navbar-light .navbar-brand .brand-text {
    color: #000 !important;
}

/* Optional: style the navbar toggler icon */
.navbar-light .navbar-toggler-icon {
    filter: invert(0);  /* Keep icon dark */
}
