/* 
 * Bento-style Insights Layout
 * Simple, responsive grid for better accessibility
 */

 .container > * {
    max-width: 100%;
    padding: 0 0.5rem;
}

/* Day Section Container */
.day-section {
    background: var(--theme-bg-primary);
    border-radius: 30px;
    margin: 0.5rem 0.5rem;
    padding: 1rem;
    max-width: 100%;
    box-shadow: var(--shadow-md);
}

/* Day Header */
.day-header {
    font-family: var(--font-primary);
    color: var(--theme-accent);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 4px solid var(--theme-accent);
    letter-spacing: 0.02em;
}

/* Venue Information */
.venue-info {
    background: var(--theme-bg-secondary);
    border-radius: 25px;
    padding: 2rem;
    margin: 1rem 0;
    border: 2px solid var(--theme-card-border);
}

.venue-info h3 {
    color: var(--theme-accent);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
    letter-spacing: 0.02em;
}

.venue-info p {
    color: var(--theme-text-primary);
    line-height: 1.8;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Bento Grid Layout */
.insights-container {
    margin: 1rem 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 0 auto;
}

/* Insight Cards */
.insight-card {
    background: rgba(20, 20, 20, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Glassy border effect */
.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.05) 50%,
            transparent 50%,
            transparent);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Card hover effect */
.insight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Card headers */
.insight-card h3 {
    color: #80be78;
    /* Bright green from your screenshot */
    margin-bottom: 1.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    font-family: var(--font-primary);
    position: relative;
}

/* Decorative underline for headers */
.insight-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.6rem;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right,
            #80be78,
            rgba(128, 190, 120, 0.2));
}

/* Card content */
.insight-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 1.15rem;
    line-height: 1.7;
    font-family: var(--font-body);
    font-weight: 300;
}

/* Subtle hover state for text */
.insight-card:hover p {
    color: rgba(255, 255, 255, 1);
}

/* Last paragraph in card */
.insight-card p:last-child {
    margin-bottom: 0;
}

/* Gallery Section */
.day-gallery {
    margin: 1rem 0;
    border-radius: 25px;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 2rem 0;
}

.gallery-item {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .insight-card {
        padding: 1.75rem;
    }

    .insight-card h3 {
        font-size: 1.5rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .day-section {
        margin: 0.25rem;
        padding: 0.75rem;
    }

    .insights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .insight-card {
        padding: 1rem;
    }

    .insight-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .insight-card p {
        font-size: 1.1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .day-header {
        font-size: 2rem;
    }

    .venue-info {
        padding: 1rem;
    }

    .venue-info h3 {
        font-size: 1.8rem;
    }

    .venue-info p,
    .insight-card p {
        font-size: 1.1rem;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .insight-card {
        background: rgba(0, 0, 0, 0.95);
        border: 2px solid #80be78;
    }

    .insight-card::before {
        display: none;
    }

    .insight-card p {
        color: white;
    }
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {

    .insight-card,
    .gallery-item {
        transition: none;
    }

    .insight-card:hover,
    .gallery-item:hover {
        transform: none;
    }
}