/* ---------- HERO SECTION ---------- */

.hero {
    position: relative;
    margin: 20px var(--container-pad);
    min-height: 520px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #e8e3dc;
}

/* ---------- HERO BACKGROUND ---------- */

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/mall (4).jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(0.9) brightness(1.02);
    transition: transform 0.6s ease;
}

/* Soft Overlay */
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to right,
            rgba(245, 242, 238, 0.92) 0%,
            rgba(245, 242, 238, 0.82) 22%,
            rgba(245, 242, 238, 0.60) 45%,
            rgba(245, 242, 238, 0.35) 70%,
            rgba(245, 242, 238, 0.18) 100%
        );
}

.hero:hover .hero-bg {
    transform: scale(1.03);
}

/* ---------- HERO CONTENT ---------- */

.hero-content {
    position: relative;
    z-index: 2;
    padding: 70px 80px;
    max-width: 580px;
    animation: fadeInUp 0.8s ease both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.05;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.hero-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 400;
    color: #6f6254;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1rem;
    color: #5f5f5f;
    line-height: 1.9;
    margin-bottom: 32px;
    max-width: 430px;
}

/* ---------- HERO INFO ---------- */

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.hero-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-mid);
}

.hero-info svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-dark);
}

/* ============================================================
   MAIN CONTENT SPLIT
   ============================================================ */

.main-content-split {
    display: grid;
    grid-template-columns: 1fr 400px;
    margin: 32px var(--container-pad);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

/* ============================================================
   DISCOVER SECTION
   ============================================================ */

.discover-section {
    padding: 44px 40px;
    border-right: 1px solid var(--color-border);
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.discover-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.discover-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.discover-card > img {
    width: 100%;
    height: 155px;
    object-fit: cover;
}

.card-body {
    padding: 18px;
}

.card-icon-wrap {
    width: 38px;
    height: 38px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.card-icon-wrap svg {
    width: 18px;
    height: 18px;
    color: var(--color-dark);
}

.discover-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.discover-card p {
    font-size: 0.78rem;
    color: var(--color-mid);
    line-height: 1.55;
    margin-bottom: 16px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-dark);
    border-bottom: 1px solid transparent;
    transition:
        gap var(--transition),
        border-color var(--transition);
}

.learn-more:hover {
    gap: 9px;
    border-bottom-color: var(--color-dark);
}

/* ============================================================
   EVENTS SECTION
   ============================================================ */

.events-section {
    padding: 44px 32px;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.event-item {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 16px;
    align-items: start;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--color-border);
    transition: opacity var(--transition);
}

.event-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.event-item:hover {
    opacity: 0.82;
}

.event-item img {
    width: 82px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.event-details h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.event-date {
    display: block;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-light);
    margin-bottom: 6px;
}

.event-details p {
    font-size: 0.78rem;
    color: var(--color-mid);
    line-height: 1.55;
}

/* ============================================================
   ANIMATION
   ============================================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   MOBILE RESPONSIVE
   max-width: 540px
   ============================================================ */

@media screen and (max-width: 540px) {

    .hero {
        margin: 16px;
        min-height: auto;
        border-radius: var(--radius-md);
        align-items: flex-end;
    }

    .hero-content {
        padding: 50px 30px;
        max-width: 100%;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-tagline {
        font-size: 1rem;
    }
    .hero-desc {
        font-size: 0.9rem;
    }
    .hero-info p {
        font-size: 0.85rem;
    }
    .main-content-split {
        grid-template-columns: 1fr;

        margin: 16px;
    }
    .discover-section {
        padding: 28px 20px;

        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
    .discover-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }
    .discover-card > img {
        height: 180px;
    }
    .events-section {
        padding: 28px 20px;
    }
    .event-item {
        grid-template-columns: 70px 1fr;

        gap: 12px;
    }
    .event-item img {
        width: 70px;
        height: 64px;
    }
}

/* ============================================================
   TABLET RESPONSIVE
   ============================================================ */

@media screen and (min-width: 541px) and (max-width: 1024px) {
    .main-content-split {
        grid-template-columns: 1fr;
    }
    .discover-section {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
    .discover-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}