/* B2B Theme Styles for Blessed Organic */

:root {
    --b2b-primary-green: #2E7D32; /* Deep corporate green */
    --b2b-secondary-green: #4CAF50;
    --b2b-dark: #1A1A1A;
    --b2b-light: #F8F9FA;
    --b2b-accent: #FBBC05; /* Bright Yellow */
    --b2b-text-main: #333333;
    --b2b-text-muted: #666666;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--b2b-text-main);
    background-color: #ffffff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--b2b-dark);
}

/* Override Bootstrap Warning to match our exact yellow */
.text-warning {
    color: var(--b2b-accent) !important;
}

/* Typography Enhancements */
.b2b-hero-title {
    font-size: 2.8rem;
    font-weight: 600;
    /* text-transform: uppercase; Removed for sentence case */
    letter-spacing: 1px;
    color: var(--b2b-accent) !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.b2b-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    margin-top: 1rem;
}

/* Hero Slider Styles */
#heroCarousel .carousel-item {
    height: 80vh;
    min-height: 600px;
}

#heroCarousel .carousel-item img {
    height: 100%;
    object-fit: cover;
}

#heroCarousel .carousel-caption {
    background: transparent;
    z-index: 10;
}

/* Navbar overrides */
.header {
    background: #ffffff;
    border-bottom: 2px solid var(--b2b-primary-green);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.main-nav .nav-item a {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--b2b-text-main);
    transition: color 0.3s ease;
}

.main-nav .nav-item a:hover {
    color: var(--b2b-primary-green);
}

.main-nav .current-page a {
    color: var(--b2b-primary-green);
    border-bottom: 2px solid var(--b2b-primary-green);
}

/* Certifications Bar */
.certifications-bar {
    background-color: var(--b2b-light);
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.cert-logo {
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.cert-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* B2B Commodity Cards */
.commodity-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    overflow: hidden;
    height: 100%;
}

.commodity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--b2b-primary-green);
}

.commodity-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
    border-bottom: 3px solid var(--b2b-primary-green);
}

.commodity-body {
    padding: 1.5rem;
}

.commodity-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--b2b-primary-green);
}

.commodity-specs {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.commodity-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.commodity-specs li strong {
    color: var(--b2b-dark);
}

/* Buttons */
.btn-b2b-primary {
    background-color: var(--b2b-accent); /* Yellow */
    color: var(--b2b-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    /* text-transform: uppercase; Removed for sentence case */
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
}

.btn-b2b-primary:hover {
    background-color: var(--b2b-primary-green); /* Green on hover */
    color: #ffffff;
}

.btn-b2b-outline {
    background-color: transparent;
    color: var(--b2b-primary-green);
    border: 2px solid var(--b2b-primary-green);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    /* text-transform: uppercase; Removed for sentence case */
    transition: all 0.3s ease;
}

.btn-b2b-outline:hover {
    background-color: var(--b2b-primary-green);
    color: #ffffff;
}

/* Sections */
.b2b-section {
    padding: 5rem 0;
}

.b2b-section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.b2b-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--b2b-primary-green);
}

/* Footer */
.footer.b2b-footer {
    background-color: var(--b2b-dark) !important;
    padding: 3rem 0;
}

.b2b-footer a {
    color: var(--b2b-light) !important;
    transition: color 0.3s;
}

.b2b-footer a:hover {
    color: var(--b2b-accent) !important;
}
