/* Robotik Page Styles */

/* Header Section */
.robotik-header {
    background-color: var(--background-light);
    margin-top: 10rem;
    padding: 3rem 0;
}

.robotik-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Content Section */
.robotik-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: var(--background-white);
    margin-top: 3rem;
}

.video-column {
    display: flex;
    justify-content: center;
}

.robotik-video {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.text-column h2 {
    font-family: var(--heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.text-column p {
    line-height: 1.7;
    color: var(--text-light);
    text-align: justify;
}

/* Process Sections */
.robotik-process {
    margin-bottom: 6rem;
}

.robotik-process .robotik-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.robotik-process .robotik-grid.reverse {
    direction: rtl;
}

.robotik-process .robotik-grid.reverse .text-column {
    direction: ltr;
}

.robotik-process .video-column {
    display: flex;
    justify-content: center;
}

.robotik-process .robotik-video {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 16/9;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.robotik-process .text-column h2 {
    font-family: var(--heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.robotik-process .text-column p {
    line-height: 1.7;
    color: var(--text-light);
    text-align: justify;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .robotik-content {
        padding: 2rem 0;
    }

    .robotik-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-column {
        order: 2; /* Video below text on mobile */
    }

    .text-column {
        order: 1;
    }

    .robotik-video {
        max-width: 100%;
        aspect-ratio: 9/16;
    }

    .text-column h2 {
        font-size: 1.5rem;
    }

    .robotik-process .robotik-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .robotik-process .robotik-grid.reverse {
        direction: ltr;
    }

    .robotik-process .robotik-video {
        max-width: 100%;
        aspect-ratio: 16/9;
    }

    .robotik-process .text-column h2 {
        font-size: 1.5rem;
    }
}

/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .robotik-grid {
        gap: 2rem;
    }

    .robotik-video {
        max-width: 350px;
        aspect-ratio: 9/16;
    }

    .robotik-process .robotik-grid {
        gap: 2rem;
    }

    .robotik-process .robotik-video {
        max-width: 350px;
        aspect-ratio: 16/9;
    }
}