/* ============================================
   HOMEPAGE STYLES — Natural Options Kenya
   ============================================ */

/* ---- Hero Section ---- */
.no-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--no-forest-dark, #0F281E);
}

.no-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.no-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.75) 0%, rgba(27, 67, 50, 0.35) 50%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 2;
}

.no-hero__content {
    position: relative;
    z-index: 3;
    max-width: 620px;
    padding: var(--space-4xl) 0;
}

.no-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--no-white);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.no-hero__badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--no-gold);
    border-radius: var(--radius-full);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.no-hero__title {
    font-family: var(--font-heading);
    font-size: var(--fs-5xl);
    font-weight: var(--fw-semibold);
    color: var(--no-white);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: var(--ls-tight);
}

.no-hero__title span {
    color: var(--no-gold-light);
}

.no-hero__text {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.9);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.no-hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ---- Shop by Category ---- */
.no-categories {
    background-color: var(--no-white);
}

.no-categories__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.no-category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    group: category;
}

.no-category-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.no-category-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 35%, #C9A96E 70%, #E5C388 100%);
    transition: transform var(--transition-slow);
}

.no-category-card:hover .no-category-card__img,
.no-category-card:hover .no-category-card__placeholder {
    transform: scale(1.05);
}

.no-categories__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    background-color: var(--no-cream, #FAF7F2);
    border-radius: var(--radius-lg);
    border: 2px dashed rgba(27, 67, 50, 0.2);
}

.no-categories__empty p {
    font-size: var(--fs-base);
    color: #666;
    margin-bottom: var(--space-lg);
}

.no-categories__empty .no-btn {
    display: inline-block;
}

.no-category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    transition: background var(--transition-base);
}

.no-category-card:hover .no-category-card__overlay {
    background: linear-gradient(to top, rgba(27, 67, 50, 0.8) 0%, rgba(27, 67, 50, 0.2) 60%, transparent 100%);
}

.no-category-card__name {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    color: var(--no-white);
    margin-bottom: 4px;
}

.no-category-card__count {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
}

.no-category-card__arrow {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--no-white);
    font-size: var(--fs-sm);
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--transition-base);
}

.no-category-card:hover .no-category-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ---- Products Section ---- */
.no-products-section {
    background-color: var(--no-cream);
}

.no-products-section--white {
    background-color: var(--no-white);
}

.no-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.no-products__actions {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ---- Promotional Banner ---- */
.no-promo-banner {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.no-promo-banner__bg {
    position: absolute;
    inset: 0;
}

.no-promo-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-promo-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(27, 67, 50, 0.85) 0%, rgba(27, 67, 50, 0.5) 50%, transparent 100%);
}

.no-promo-banner__content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.no-promo-banner__tag {
    display: inline-block;
    background-color: var(--no-gold);
    color: var(--no-white);
    padding: 6px 16px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-lg);
}

.no-promo-banner__title {
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    color: var(--no-white);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.no-promo-banner__text {
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    line-height: var(--lh-relaxed);
}

/* ---- Brand Story ---- */
.no-brand-story {
    background-color: var(--no-cream);
}

.no-brand-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.no-brand-story__img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.no-brand-story__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.no-brand-story__content {
    padding: var(--space-xl) 0;
}

.no-brand-story__tag {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--no-gold);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.no-brand-story__title {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-lg);
}

.no-brand-story__text {
    color: var(--no-gray);
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-xl);
}

/* ---- Why Shop Section ---- */
.no-why-shop {
    background-color: var(--no-white);
}

.no-why-shop__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.no-benefit-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    border-radius: var(--radius-lg);
    background-color: var(--no-cream);
    transition: all var(--transition-base);
}

.no-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.no-benefit-card__icon {
    width: 64px;
    height: 64px;
    background-color: var(--no-forest);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 28px;
    color: var(--no-white);
}

.no-benefit-card__title {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-sm);
}

.no-benefit-card__text {
    font-size: var(--fs-sm);
    color: var(--no-gray);
    line-height: var(--lh-relaxed);
}

/* ---- Testimonials ---- */
.no-testimonials {
    background-color: var(--no-cream);
}

.no-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.no-testimonial-card {
    background-color: var(--no-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.no-testimonial-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.no-testimonial-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-md);
    color: var(--no-gold);
    font-size: var(--fs-md);
}

.no-testimonial-card__text {
    font-size: var(--fs-base);
    color: var(--no-charcoal);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.no-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.no-testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: var(--no-forest);
    color: var(--no-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
}

.no-testimonial-card__name {
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
}

.no-testimonial-card__location {
    font-size: var(--fs-xs);
    color: var(--no-gray);
}

/* ---- Newsletter ---- */
.no-newsletter {
    background-color: var(--no-forest);
    color: var(--no-white);
}

.no-newsletter__inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.no-newsletter__title {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    color: var(--no-white);
    margin-bottom: var(--space-md);
}

.no-newsletter__text {
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
}

.no-newsletter__form {
    display: flex;
    gap: var(--space-sm);
    max-width: 480px;
    margin: 0 auto;
}

.no-newsletter__input {
    flex: 1;
    padding: 16px 20px;
    font-size: var(--fs-sm);
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
    color: var(--no-white);
    transition: all var(--transition-fast);
}

.no-newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.no-newsletter__input:focus {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    outline: none;
}

.no-newsletter__btn {
    padding: 16px 32px;
    background-color: var(--no-gold);
    color: var(--no-white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.no-newsletter__btn:hover {
    background-color: var(--no-gold-dark);
    transform: translateY(-1px);
}

/* ---- Product Carousel ---- */
.no-carousel {
    position: relative;
    overflow: hidden;
}

.no-carousel__track {
    display: flex;
    gap: var(--space-lg);
    transition: transform var(--transition-slow);
}

.no-carousel__track > * {
    min-width: calc(25% - var(--space-lg) * 3 / 4);
    flex-shrink: 0;
}

.no-carousel__nav {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.no-carousel__btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: var(--no-white);
    border: 1px solid var(--no-gray-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--no-charcoal);
    font-size: var(--fs-md);
    transition: all var(--transition-fast);
}

.no-carousel__btn:hover {
    background-color: var(--no-forest);
    color: var(--no-white);
    border-color: var(--no-forest);
}
