/* ==========================================================================
   TRANSPARENCY SECTION STYLES
   --------------------------------------------------------------------------
   This section handles the visual presentation of the Transparency area.
   It features a 2-column grid layout where each item displays a media 
   element (image or video) next to a text block.
   Uses a dark theme with a grid background for a tech-focused aesthetic.
   ========================================================================== */

/* 
 * Section container styling 
 * background-color: Dark grey base (#333333).
 * background-image: Subtle grid pattern created using linear gradients.
 * background-size: Defines the scale of the grid (50px squares).
 * padding: Internal spacing to ensure content doesn't touch the edges.
 */
.transparency-section {
    font-family: 'ABC Normal', 'IBM Plex Sans';
    background-color: #242424FF;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    color: #fff;
    padding: 100px 20px;
    background-attachment: fixed;
}

.transparency-container {
    max-width: 1300px;
    margin: 0 auto;
}

.transparency-header {
    text-align: left;
    max-width: 1300px;
    margin: 0 auto 80px;
}

.transparency-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-align: center;
}

.transparency-subtitle {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.6;
    text-align: center;
}

/* 
 * Grid Layout for Transparency Items
 * grid-template-columns: 1fr 1fr; creates two equal-width columns.
 * gap: Spacing between rows and columns (60px vertically, 40px horizontally).
 */
.transparency-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px 100px;
}

/* Item layout: Image left, text right */
.transparency-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.transparency-item-image {
    flex: 0 0 280px;
    /* Exact size or proportional */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* 
 * Media Styling (Images/Videos)
 * height: Fixed height of 200px to maintain consistency across items.
 * object-fit: cover; ensures the media fills the container without distortion.
 */
.transparency-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.transparency-item-content {
    flex: 1;
}

.transparency-item-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.transparency-item-description {
    font-size: 1rem;
    color: #fff;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .transparency-item {
        flex-direction: column;
        gap: 20px;
    }

    .transparency-item-image {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .transparency-img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .transparency-item-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .transparency-section {
        padding: 50px 15px;
    }

    .transparency-header {
        margin-bottom: 40px;
    }

    .transparency-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .transparency-title {
        font-size: 1.85rem;
        margin-bottom: 16px;
        text-align: left;
    }

    .transparency-subtitle {
        font-size: 1.1rem;
        text-align: left;
    }

    .transparency-item-image {
        max-width: 100%;
    }

    .transparency-item-title {
        font-size: 1.35rem;
        margin-bottom: 10px;
        text-align: left;
    }

    .transparency-item-description {
        font-size: 0.95rem;
        text-align: left;
    }
}