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

.bg-primary:hover {
    background-color: #E06000 !important; /* Slightly darker orange on hover */
}

/* Custom CSS for the Shops Django Project */

/* Color Palette */
:root {
    --primary-orange: #FF6B00;
    --dark-text: #333333;
    --light-text: #666666;
    --white-bg: #FFFFFF;
    --black-bg: #000000;
    --red-banner: #E74C3C;
}

/* Typography */
body {
    font-family: 'Jost', sans-serif; /* Using Jost as a modern sans-serif font */
    color: var(--dark-text);
    background-color: var(--white-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* Using Montserrat for bold headings */
    color: var(--dark-text);
}

/* Global Styles */
.btn-primary {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.btn-primary:hover {
    background-color: #E06000; /* Slightly darker orange on hover */
    border-color: #E06000;
}

/* Top Banner */
.top-banner {
    background-color: var(--red-banner);
    color: var(--white-bg);
    font-size: 0.9rem;
    font-weight: bold;
}

/* Navbar */
.navbar {
    background-color: var(--white-bg) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    height: 80px;
}

.navbar-nav .nav-link {
    color: var(--dark-text);
    font-weight: 500;
    margin-right: 15px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-orange);
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav .dropdown-item {
    color: var(--dark-text);
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--primary-orange);
    color: var(--white-bg);
}

/* Hero Section */
.hero-section {
    background-color: var(--white-bg);
    color: var(--dark-text);
    padding: 80px 0;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-section .text-primary-orange {
    color: var(--primary-orange);
}

.hero-section p.lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .btn-primary {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: #e06d00; /* A slightly darker orange for hover */
    border-color: #e06d00;
}

/* General styling for the main content area */
.container.my-5 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.container.my-5 h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.container.my-5 .card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.container.my-5 .card:hover {
    transform: translateY(-5px);
}

.container.my-5 .card-title {
    color: var(--dark-text);
    font-weight: bold;
}

.container.my-5 .btn-outline-primary {
    color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.container.my-5 .btn-outline-primary:hover {
    background-color: var(--primary-orange);
    color: var(--white-bg);
}

/* Trusted Companies Section */
.trusted-companies-section {
    background-color: var(--white-bg);
    padding: 50px 0;
}

.trusted-companies-section h2 {
    color: var(--dark-text);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.trusted-companies-section img {
    max-height: 50px; /* Adjust as needed */
    filter: grayscale(100%); /* Make logos grayscale */
    opacity: 0.6;
    transition: all 0.3s ease;
}

.trusted-companies-section img:hover {
    filter: grayscale(0%); /* Color on hover */
    opacity: 1;
}

/* Stats Section */
.stats-section {
    background-color: var(--black-bg);
    color: var(--white-bg);
    padding: 60px 0;
}

.stats-section .stat-card {
    background-color: #1a1a1a; /* Darker background for stat cards */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.stats-section .stat-value {
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.stats-section .stat-label {
    font-size: 1.1rem;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p.lead {
        font-size: 1rem;
    }

    .navbar-nav .nav-link {
        margin-right: 0;
    }

    .trusted-companies-section img {
        max-height: 40px;
    }

    .stats-section .stat-value {
        font-size: 2rem;
    }

    .stats-section .stat-label {
        font-size: 0.9rem;
    }

    .container.my-5 h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 50px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

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

    .trusted-companies-section img {
        max-height: 30px;
    }

    .stats-section .stat-value {
        font-size: 1.8rem;
    }

    .stats-section .stat-label {
        font-size: 0.8rem;
    }

    .container.my-5 h1 {
        font-size: 1.8rem;
    }

    .card .row.g-0 > div {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .card .row.g-0 > div:first-child {
        border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    }
}

/* Form Styles */
.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 0, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
}

.messages .success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.messages .error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.messages .info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.messages .warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}