/* ========================================
   INDEX PAGE SPECIFIC STYLES
   Components: Hero, Section, Featured Banner, Event Cards, CTA
   ======================================== */

/* ===== HERO SECTION ===== */
.lakum-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    contain: layout style paint;
    margin: 0;
}

.lakum-hero__image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.lakum-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lakum-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 2;
}

.lakum-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    max-width: 1400px;
    width: 90%;
    padding: 0 20px;
}

.lakum-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 24px 0;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.lakum-hero__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    line-height: 1.6;
    color: #fff;
    text-align: center;
}

/* ===== SECTION STYLES ===== */
.lakum-section {
    padding: 80px 0;
    width: 100%;
    contain: layout style paint;
}

.lakum-section--upcoming {
    background: #f6f6eb;
    padding: 60px 0;
}

.lakum-section--exhibitions {
    background: #ffffff;
    padding: 80px 0;
}

.lakum-section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.lakum-section-header__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.lakum-section-header__subtitle {
    font-size: 1.1rem;
    color: #525252;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
}

.lakum-section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    width: 100%;
}

.lakum-section-divider__line {
    flex: 1;
    height: 1px;
    background: #d1d1d1;
}

.lakum-section-divider__title {
    font-size: 2rem;
    font-weight: 300;
    color: #1a1a1a;
    margin: 0;
    white-space: nowrap;
}

/* ===== FEATURED BANNER ===== */
.lakum-featured-banner {
    padding: 0;
    background: #edecdf;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin: 0;
    contain: layout style paint;
    max-height: 450px;
}

.lakum-featured-banner__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    width: 100%;
    min-height: 450px;
    max-height: 450px;
    height: 450px;
}

.lakum-featured-banner__image {
    width: 100%;
    height: 100%;
    max-height: 450px;
    overflow: hidden;
    border-radius: 0;
}

.lakum-featured-banner__image img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
}

.lakum-featured-banner__text {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-height: 450px;
    overflow: hidden;
}

.lakum-featured-banner__date {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
}

.lakum-featured-banner__title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.3;
}

.lakum-featured-banner__description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
    word-break: break-word;
}

/* ===== UPCOMING & EXHIBITION GRIDS ===== */
.lakum-upcoming-grid,
.lakum-exhibition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    margin: 0 0 40px 0;
}

.lakum-section-cta {
    text-align: center;
    width: 100%;
}

/* ===== EVENT CARD ===== */
.lakum-event-card {
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
}

.lakum-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.lakum-event-card__image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #edecdf;
    object-fit: cover;
}

.lakum-event-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    max-height: 320px;
}

.lakum-event-card__date {
    position: absolute;
    top: var(--spacing-lg, 1.5rem);
    left: var(--spacing-lg, 1.5rem);
    background: rgba(246,246,235,0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md, 1rem) var(--spacing-lg, 1.5rem);
    border-radius: var(--radius-sm, 2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.lakum-event-card__date-month {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #525252;
}

.lakum-event-card__date-day {
    font-size: 2rem;
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1;
}

.lakum-event-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lakum-event-card__title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.lakum-event-card__time {
    font-size: 0.9rem;
    color: #ff6b35;
    margin-bottom: 12px;
}

.lakum-event-card__link {
    font-size: 0.9rem;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
}

.lakum-event-card__link:hover {
    color: #8a7968;
}

/* ===== SKELETON CARD (LOADING STATE) ===== */
.lakum-skeleton-card {
    background: linear-gradient(90deg, #e8e8e8 25%, #f0f0f0 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    height: 400px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===== CTA SECTIONS ===== */
.lakum-cta {
    padding: 80px 0;
    width: 100%;
    text-align: center;
}

.lakum-cta--primary {
    background: #f6f6eb;
}

.lakum-cta--dark {
    position: relative;
    background: #1a1a1a;
    color: #fff;
    overflow: hidden;
}

.lakum-cta__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.lakum-cta__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.lakum-cta__title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 300;
    margin-bottom: 20px;
    color: inherit;
    letter-spacing: -0.02em;
}

.lakum-cta__text {
    font-size: 1.1rem;
    color: inherit;
    margin-bottom: 40px;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
}

/* ===== BUTTONS ===== */
.lakum-btn {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 16px 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border-radius: 4px !important;
    min-height: 48px;
    min-width: 120px;
}

.lakum-btn:hover {
    background: #333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
}

.lakum-btn:active {
    transform: translateY(0) !important;
}

.lakum-btn--primary {
    background: #000 !important;
    color: #fff !important;
}

.lakum-btn--outline {
    background: transparent !important;
    color: #1a1a1a !important;
    border: 2px solid #d1d1d1 !important;
}

.lakum-btn--outline:hover {
    background: #1a1a1a !important;
    color: #fff !important;
    border-color: #1a1a1a !important;
}

/* ===== CONTAINER ===== */
.lakum-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
    width: 100%;
    box-sizing: border-box;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1024px) {
    .lakum-featured-banner__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lakum-featured-banner__image {
        height: 300px;
    }

    .lakum-featured-banner__text {
        padding: 50px;
    }

    .lakum-section {
        padding: 60px 0;
    }

    .lakum-cta {
        padding: 60px 0;
    }

    .lakum-cta__title {
        font-size: clamp(1.5rem, 4vw, 2.3rem);
    }
}

@media (max-width: 768px) {
    .lakum-hero {
        height: 55vh;
        min-height: 400px;
    }

    .lakum-hero__title {
        font-size: clamp(1.75rem, 5vw, 2.8rem);
    }

    .lakum-featured-banner__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lakum-featured-banner__image {
        height: 300px;
    }

    .lakum-featured-banner__text {
        padding: 40px 30px;
    }

    .lakum-featured-banner__title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .lakum-featured-banner__description {
        font-size: 1rem;
        -webkit-line-clamp: 2;
    }

    .lakum-section {
        padding: 40px 0;
    }

    .lakum-section--upcoming {
        padding: 40px 0;
    }

    .lakum-section-header {
        margin-bottom: 40px;
    }

    .lakum-section-header__title {
        font-size: clamp(1.5rem, 4vw, 2.3rem);
    }

    .lakum-section-header__subtitle {
        font-size: 1rem;
    }

    .lakum-upcoming-grid,
    .lakum-exhibition-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .lakum-event-card__image {
        height: 240px;
    }

    .lakum-cta {
        padding: 50px 0;
    }

    .lakum-cta__title {
        font-size: clamp(1.25rem, 3vw, 1.8rem);
    }

    .lakum-cta__text {
        font-size: 1rem;
    }

    .lakum-section-divider {
        gap: 15px;
        margin-bottom: 40px;
    }

    .lakum-section-divider__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .lakum-hero {
        height: 45vh;
        min-height: 350px;
    }

    .lakum-hero__title {
        font-size: clamp(1.25rem, 4vw, 1.8rem);
        margin-bottom: 16px;
    }

    .lakum-hero__subtitle {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }

    .lakum-featured-banner__image {
        height: 280px;
    }

    .lakum-featured-banner__text {
        padding: 30px 20px;
    }

    .lakum-featured-banner__title {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .lakum-featured-banner__description {
        font-size: 0.95rem;
        -webkit-line-clamp: 2;
        margin-bottom: 20px;
    }

    .lakum-section {
        padding: 30px 0;
    }

    .lakum-section--upcoming {
        padding: 30px 0;
    }

    .lakum-section-header {
        margin-bottom: 30px;
    }

    .lakum-section-header__title {
        font-size: clamp(1.25rem, 3vw, 1.75rem);
    }

    .lakum-section-header__subtitle {
        font-size: 0.95rem;
    }

    .lakum-upcoming-grid,
    .lakum-exhibition-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lakum-event-card {
        height: auto;
    }

    .lakum-event-card__image {
        height: 200px;
    }

    .lakum-event-card__content {
        padding: 16px;
    }

    .lakum-event-card__title {
        font-size: 1.1rem;
    }

    .lakum-btn {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
        min-width: 100px;
    }

    .lakum-cta {
        padding: 40px 0;
    }

    .lakum-cta__title {
        font-size: clamp(1.1rem, 3vw, 1.5rem);
        margin-bottom: 16px;
    }

    .lakum-cta__text {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .lakum-section-divider {
        gap: 12px;
        margin-bottom: 30px;
    }

    .lakum-section-divider__title {
        font-size: 1.25rem;
    }

    .lakum-container {
        padding: 0 16px;
    }
}

/* ===== RTL SUPPORT ===== */
[dir="rtl"] .lakum-featured-banner__content {
    direction: rtl;
}

[dir="rtl"] .lakum-featured-banner__text {
    text-align: right;
    align-items: flex-start;
}

[dir="rtl"] .lakum-event-card__link {
    align-self: flex-start;
}

[dir="rtl"] .lakum-cta__content {
    text-align: center;
}

[dir="rtl"] .lakum-cta__title,
[dir="rtl"] .lakum-cta__text {
    text-align: center;
}
