/* =========================================
   HEADER & TOP BAR - TEXT VISIBILITY FIXES
   ========================================= */

/* Top Bar - Ensure white text on green background */
.top-bar {
    background: linear-gradient(to right, #1e7e34, #28a745) !important;
    color: #ffffff !important;
}

.top-bar * {
    color: #ffffff !important;
}

.top-contact a {
    color: #ffffff !important;
    text-decoration: none;
}

.top-contact a:hover {
    opacity: 0.9;
    color: #ffffff !important;
}

.top-offer {
    color: #ffffff !important;
}

.offer-text {
    color: #ffffff !important;
}

.offer-text b {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

.top-social a {
    color: #ffffff !important;
}

.top-social a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Header Navigation - Ensure dark text on light background */
header {
    background: rgba(255, 255, 255, 0.95) !important;
}

nav ul li a {
    color: #2d3436 !important;
    font-weight: 600;
}

nav ul li a:hover {
    color: #28a745 !important;
}

.nav-icons a {
    color: #2d3436 !important;
}

.nav-icons a:hover {
    color: #28a745 !important;
}

/* Cart count badge */
.cart-count {
    background: #28a745 !important;
    color: #ffffff !important;
}

/* =========================================
   HERO SECTION - TEXT VISIBILITY FIXES
   ========================================= */

/* Hero Section - Ensure dark text on light backgrounds */
.hero-modern,
section.hero-modern {
    position: relative;
}

/* Add overlay to hero background for better text contrast */
.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7) !important;
    z-index: 0;
}

.hero-modern .container {
    position: relative;
    z-index: 1;
}

/* Hero Content Text */
.hero-content h1,
.hero-modern h1 {
    color: #2d3436 !important;
    font-weight: 900 !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-text-fill-color: #2d3436 !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

/* Remove any gradient or special effects from hero heading */
.hero-content h1 *,
.hero-modern h1 * {
    color: inherit !important;
    background: none !important;
    text-shadow: none !important;
}

.hero-content p,
.hero-modern p {
    color: #4a5568 !important;
    font-weight: 500 !important;
    text-shadow: none !important;
    background: none !important;
}

/* Hero Badge - "100% Organic & Natural" */
.hero-badge {
    background: rgba(40, 167, 69, 0.95) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
}

/* Highlight text in hero */
.highlight-text {
    color: #28a745 !important;
    text-shadow: none !important;
    background: none !important;
    background-color: transparent !important;
    -webkit-text-fill-color: #28a745 !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

/* Hero Features */
.hero-features .feature-item {
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.hero-features .feature-item span {
    color: #2d3436 !important;
    font-weight: 600 !important;
}

.hero-features .icon-box {
    background: #28a745 !important;
    color: #ffffff !important;
}

/* Hero Stats */
.hero-stats {
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 20px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.hero-stats strong {
    color: #28a745 !important;
    font-weight: 800 !important;
}

.hero-stats span {
    color: #4a5568 !important;
    font-weight: 500 !important;
}

/* Hero Buttons */
.hero-content .btn,
.cta-group .btn {
    font-weight: 700 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

.btn-primary {
    background: linear-gradient(135deg, #28a745, #1e7e34) !important;
    color: #ffffff !important;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #28a745 !important;
    border: 2px solid #28a745 !important;
}

/* Floating cards in hero */
.float-card {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #2d3436 !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.float-card i {
    color: #28a745 !important;
}

/* =========================================
   FOOTER STYLES - FIXED TEXT VISIBILITY
   ========================================= */

footer {
    background: linear-gradient(135deg, #2d3436 0%, #1e272e 100%);
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

footer h3,
footer h4 {
    color: #ffffff !important;
    margin-bottom: 20px;
    font-weight: 700;
}

footer p {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.8;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 12px;
    line-height: 1.6;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

footer ul li a:hover {
    color: var(--primary-light) !important;
    transform: translateX(5px);
}

footer .social-icons a,
footer a[href*="facebook"],
footer a[href*="instagram"],
footer a[href*="linkedin"] {
    color: var(--primary-light) !important;
    transition: all 0.3s ease;
}

footer .social-icons a:hover,
footer a[href*="facebook"]:hover,
footer a[href*="instagram"]:hover,
footer a[href*="linkedin"]:hover {
    color: #ffffff !important;
    transform: translateY(-3px);
}

footer hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 40px 0;
}

footer .fa-brands {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Copyright text */
footer p[style*="font-size: 0.9rem"] {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Contact icons */
footer .fa-location-dot,
footer .fa-phone,
footer .fa-envelope {
    color: var(--primary-light) !important;
}

/* =========================================
   CONTENT SECTIONS - TEXT VISIBILITY FIXES
   ========================================= */

/* Why Coconut Water Section - Light green background */
.benefits-section,
section[style*="background: #f0fdf4"] {
    background: #f0fdf4 !important;
}

.benefits-section h2,
.benefits-section h3,
.benefits-section h4,
section[style*="background: #f0fdf4"] h2,
section[style*="background: #f0fdf4"] h3 {
    color: #1e7e34 !important;
    font-weight: 800 !important;
}

.benefits-section p,
.benefits-text p,
section[style*="background: #f0fdf4"] p {
    color: #2d3436 !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
}

.benefits-section span,
.benefits-text span {
    color: #1e7e34 !important;
    font-weight: 700 !important;
}

/* Benefit Cards */
.benefit-card h4 {
    color: #2d3436 !important;
    font-weight: 700 !important;
}

.benefit-card p {
    color: #4a5568 !important;
    font-weight: 500 !important;
}

/* Blog Section */
.blog-section {
    background: #ffffff !important;
}

.blog-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

.blog-card h3,
.blog-card h3 a {
    color: #2d3436 !important;
    font-weight: 700 !important;
}

.blog-meta,
.blog-meta span {
    color: #4a5568 !important;
    font-weight: 500 !important;
}

.blog-excerpt {
    color: #4a5568 !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
}

.read-more {
    color: #28a745 !important;
    font-weight: 600 !important;
}

/* About Section */
.about-section h2,
.about-section h3,
.about-section h4 {
    color: #2d3436 !important;
    font-weight: 800 !important;
}

.about-section p {
    color: #4a5568 !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
}

/* About Content Card (Green background) */
.about-content-card h2,
.about-content-card h4,
.about-content-card p {
    color: #ffffff !important;
}

/* Events Section - Comprehensive Fix */
/* Force white background and dark text */
.events-section,
section.events-section {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

.events-section h2,
.events-section h3,
section.events-section h2,
section.events-section h3 {
    color: #2d3436 !important;
    font-weight: 800 !important;
}

.events-section p,
section.events-section p {
    color: #4a5568 !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
}

.events-section span,
section.events-section span {
    color: #28a745 !important;
    font-weight: 700 !important;
}

/* Event Cards - White cards with dark text */
.event-card,
.events-grid>div {
    background: #ffffff !important;
}

.event-card h3 {
    color: #2d3436 !important;
    font-weight: 700 !important;
}

.event-card p {
    color: #4a5568 !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
}

/* Stats Section - Dark background */
section[style*="background: linear-gradient(135deg, #2d3436"] h2,
section[style*="background: linear-gradient(135deg, #2d3436"] h3,
section[style*="background: linear-gradient(135deg, #2d3436"] p {
    color: #ffffff !important;
}

/* Testimonials Section */
section[style*="background-color: var(--primary-light)"] {
    background: #e8f5e9 !important;
}

section[style*="background-color: var(--primary-light)"] h2 {
    color: #1e7e34 !important;
    font-weight: 800 !important;
}

section[style*="background-color: var(--primary-light)"] p {
    color: #2d3436 !important;
    font-weight: 500 !important;
}

/* Newsletter Section - Green background */
section[style*="background: var(--primary-color)"] h2,
section[style*="background: var(--primary-color)"] p {
    color: #ffffff !important;
}

/* General text improvements */
.section-title h2 {
    color: #2d3436 !important;
    font-weight: 800 !important;
}

.section-title p {
    color: #4a5568 !important;
    font-weight: 500 !important;
}

.section-title span {
    color: #28a745 !important;
    font-weight: 700 !important;
}

/* Product Cards */
.product-card h3 {
    color: #2d3436 !important;
    font-weight: 700 !important;
}

.product-card p {
    color: #4a5568 !important;
    font-weight: 500 !important;
}

/* Ensure all headings are visible */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700 !important;
}

/* Light backgrounds need dark text */
section[style*="background: #f8f9fa"],
section[style*="background: linear-gradient(135deg, #f8f9fa"],
section[style*="background-color: var(--white)"],
section[style*="background: white"] {
    color: #2d3436 !important;
}

section[style*="background: #f8f9fa"] h2,
section[style*="background: #f8f9fa"] h3,
section[style*="background: linear-gradient(135deg, #f8f9fa"] h2,
section[style*="background: linear-gradient(135deg, #f8f9fa"] h3 {
    color: #2d3436 !important;
    font-weight: 800 !important;
}

section[style*="background: #f8f9fa"] p,
section[style*="background: linear-gradient(135deg, #f8f9fa"] p {
    color: #4a5568 !important;
    font-weight: 500 !important;
}