/* Category Hero Styling - extends the main styles from styles.css */
.category-hero {
    position: relative;
    padding: 2rem 0;
    background-color: var(--background-dark);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.category-hero .container {
    position: relative;
    z-index: 2;
}

.category-hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.category-hero .hero-left {
    flex: 1;
    max-width: 600px;
}

.category-hero .hero-right {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-hero .phone-container {
    position: relative;
    width: 250px;
    height: 500px;
    z-index: 1;
}

.category-hero .hero-image {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    transform: scale(1.1);
}

/* Hero title styling */
.category-hero .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.category-hero .hero-subtitle {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.category-hero .hero-features {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.category-hero .hero-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-hero .hero-features .feature-item i {
    color: var(--primary-dark);
    margin-right: 0.5rem;
}

.category-hero .hero-buttons .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Ensure feature cards match index page */
.feature-card {
    background: var(--background-light);
    border: 1px solid rgba(167, 207, 104, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: scale(1.05);
}

.feature-card .feature-icon {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Category Hero Image Styles */
.category-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
}

.category-hero-image .image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-hero-image .hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 100%;
    object-fit: contain;
    z-index: 0;
}

/* Fade effect for category hero images - desktop only */
.category-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(to right, var(--background-dark) 0%, var(--background-dark) 10%, transparent 100%);
    z-index: 3;
}

/* Remove fade effect for mobile */
@media (max-width: 992px) {
    .category-hero-image::before {
        display: none;
    }
}

.category-hero-image .image-wrapper::before {
    display: none;
}

/* Medium and below: image behaves as a full-width banner */
@media (max-width: 992px) {
    .category-hero-image {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 200px;
        z-index: 0;
    }
}

/* Dark mode value propositions section*/
.value-propositions {
    background-color: var(--background-dark) !important;
}

.value-propositions h2 {
    color: var(--text-dark);
}

.value-propositions .card {
    background-color: var(--background-light);
    border: 1px solid rgba(167, 207, 104, 0.2);
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.value-propositions .card .card-title {
    color: var(--text-dark);
}
