/* ============================================================================
   LANDING-PAGE.CSS - Styles specific to the landing page
   
   Contains:
   - Platform section
   - Timeline/CTA sections
   - Carousel
   - Feature showcase sections
   
   Only include this file on the landing page (index.html)
   ============================================================================ */


/* === FEATURE BLOCKS === */
.feature-list {
    list-style: none;
    max-width: var(--content-narrow);
    margin: 0 auto;
}

.feature-list li {
    font-size: var(--text-md);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}


/* === TIMELINE / CTA SECTIONS === */
.timeline-section,
.cta-section {
    text-align: center;
    padding: var(--space-sm);
}

.timeline-section h2,
.cta-section h2 {
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    /* text-transform: uppercase;*/
    font-weight: 400;
    margin: var(--space-md) 0 var(--space-sm);
    color: var(--color-text);
}

/* === VIDEO EMBED === */
.banner-movie {
    padding: 0 var(--space-lg) var(--space-lg);
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

/* === FEATURE SHOWCASE SECTIONS === */
.feature-intro {
    max-width: var(--content-width);
    margin: 0 auto;
    text-align: center;
}

.feature-intro p {
    font-size: var(--text-lg);
}

.features-section {
    max-width: var(--content-narrow);
    margin: 0 auto;
}

.features-section ul {
    list-style: none;
}

.features-section li {
    font-size: var(--text-md);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
    position: relative;
}

.features-section li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* === FEATURE ROW (Image + Text side-by-side) === */
.feature-row {
    display: flex;
    gap: var(--space-lg);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-xl);
    align-items: center;
}

.feature-row > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-row img {
    width: 90%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-row h3 {
    margin-bottom: var(--space-sm);
}

.feature-row p {
    font-size: var(--text-md);
}

/* === CAROUSEL === */
.carousel-section {
    padding: var(--space-lg) 0 var(--space-xl);
    overflow: hidden;
}

.carousel-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    padding: 0 var(--space-md);
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: var(--space-md);
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 calc(50% - var(--space-sm));
    min-width: calc(50% - var(--space-sm));
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.carousel-btn {
    background: var(--color-accent);
    color: var(--color-bg);  /* fg color for button "icon" */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #555;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: scale(1);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 calc(100% - var(--space-sm));
        min-width: calc(100% - var(--space-sm));
    }

    .feature-row {
        flex-direction: column;
        gap: var(--space-md);
        padding: var(--space-lg) var(--space-md);
    }

    /* Force text above images on mobile */
    .feature-row > div:has(h3) {
        order: 1;
    }

    .feature-row > div:has(img) {
        order: 2;
    }

    .feature-intro p,
    .features-section li {
        font-size: var(--text-base);
    }
}
