/* Greendock Homepage V2 Styles */

:root {
    --primary-color: #198754;
    --primary-dark: #157347;
    --secondary-color: #0d6efd;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --transition-speed: 0.3s;
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('../img/backgrounds/banner.jpg');
    /* Fallback/Placeholder */
    background-size: cover;
    background-position: center;
    mask-image: linear-gradient(to right, transparent, black 20%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%);
    opacity: 0.8;
}

/* =========================================
   Category Cards
   ========================================= */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all var(--transition-speed) ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: transform var(--transition-speed) ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-title {
    font-weight: 600;
    font-size: 1.1rem;
}

/* =========================================
   Trust & Features
   ========================================= */
.trust-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-right: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.trust-badge i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.3);
}

/* =========================================
   Product Card Enhancements (Overrides)
   ========================================= */
.product-card {
    border: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s ease !important;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1.5rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-image-container {
        display: none;
        /* Hide complex image on mobile, keep gradient */
    }
}