/* HOMEPAGE SPECIFIC STYLES */

/* HERO SECTION */
.me-hero-section {
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 90px 0;
    min-height: 540px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--me-border-color);
    position: relative;
}
.me-hero-container {
    width: 100%;
}
.me-hero-content {
    max-width: 540px;
    animation: fadeInUp 0.8s ease;
    position: relative;
    z-index: 2;
}
.me-hero-title {
    font-family: var(--me-font-heading);
    font-size: 3.8rem;
    line-height: 1.1;
    color: var(--me-text-primary);
    margin-bottom: 16px;
}
.me-hero-desc {
    font-size: 1rem;
    color: var(--me-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.me-shop-by-category-section {
    max-width: 100%;
    overflow-x: hidden;
}
.me-shop-by-category-section .me-container {
    overflow: hidden;
    min-width: 0;
}

/* Category Slider Row (Shop By Category) */
.me-category-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-width: 0;
}
.me-category-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 4px 20px 4px;
    scrollbar-width: none; /* Firefox */
    min-width: 0;
}
.me-category-slider::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}
.me-category-slider-item {
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: 0;
    box-sizing: border-box;
}

/* Category Card Item */
.me-category-card-item {
    display: block;
    position: relative;
    border-radius: var(--me-radius-md);
    overflow: hidden;
    background-color: var(--me-bg-card);
    border: 1px solid var(--me-border-color);
    text-decoration: none;
    transition: var(--me-transition-normal);
}
.me-category-card-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--me-shadow-md);
}
.me-category-card-media {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background-color: #f5f2eb;
}
.me-category-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.me-category-card-item:hover .me-category-card-img {
    transform: scale(1.06);
}
.me-category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.65) 100%);
    pointer-events: none;
}
.me-category-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 2;
    color: #ffffff;
}
.me-category-card-title {
    font-family: var(--me-font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
    line-height: 1.2;
}
.me-category-card-sub {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
}
.me-category-card-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--me-transition-fast);
    flex-shrink: 0;
}
.me-category-card-arrow svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
}
.me-category-card-item:hover .me-category-card-arrow {
    background: #ffffff;
}
.me-category-card-item:hover .me-category-card-arrow svg {
    stroke: var(--me-text-primary);
}

/* Slider Controls */
.me-slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: var(--me-bg-white);
    border: 1px solid var(--me-border-color);
    border-radius: var(--me-radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--me-text-primary);
    box-shadow: var(--me-shadow-sm);
    z-index: 10;
    transition: var(--me-transition-fast);
    cursor: pointer;
    padding: 0;
}
.me-slider-nav-btn:hover {
    background-color: var(--me-btn-bg);
    color: var(--me-text-white);
    border-color: var(--me-btn-bg);
}
.me-slider-nav-btn.prev {
    left: -22px;
}
.me-slider-nav-btn.next {
    right: -22px;
}
.me-slider-nav-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    display: block;
    pointer-events: none;
}

/* SECTION HEADER WITH LINK */
.me-section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}
.me-section-header-row .me-section-heading {
    text-align: left;
    margin-bottom: 0;
}
.me-section-header-row .me-section-title {
    font-size: 2.2rem;
    margin-bottom: 6px;
}
.me-section-header-row .me-section-subtitle {
    margin: 0;
}

/* INSTAGRAM OVERLAY EFFECT */
.me-instagram-item {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: var(--me-radius-md);
    overflow: hidden;
    border: 1px solid var(--me-border-color);
}
.me-instagram-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--me-transition-slow);
}
.me-instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(29, 26, 23, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--me-transition-normal);
    color: var(--me-text-white);
}
.me-instagram-overlay svg {
    width: 24px;
    height: 24px;
    transform: scale(0.8);
    transition: var(--me-transition-normal);
}
.me-instagram-item:hover .me-instagram-overlay {
    opacity: 1;
}
.me-instagram-item:hover .me-instagram-overlay svg {
    transform: scale(1);
}
.me-instagram-item:hover .me-instagram-img {
    transform: scale(1.05);
}



/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
