/* Roboto Font Face Definitions */
@font-face {
    font-family: 'Roboto';
    src: url('Roboto/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: 75% 100%;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: 75% 100%;
    font-style: italic;
}

:root {
    --ley-yellow: #dcdc22;
    --ley-yellow-alt: #eced27;
    --ley-black: #1a1a1a;
    --ley-dark: #2d2d2d;
    --ley-white: #ffffff;
    --ley-gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--ley-black);
    line-height: 1.6;
    background-color: var(--ley-gray);
}

.job-posting {
    max-width: 800px;
    margin: 20px auto;
    background: var(--ley-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Header Section */
.header {
    width: 100%;
    overflow: hidden;
}

.header img {
    width: 100%;
    height: auto;
    display: block;
}

/* Job Title Section */
.job-title-section {
    background: var(--ley-yellow);
    padding: 30px 50px 15px 50px;
}

.job-intro {
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 22px;
}

.job-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 60px;
}

.job-meta {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 20px;
}

.job-meta span {
    margin: 0 8px;
}

/* Tasks Section */
.tasks-section {
    background: var(--ley-yellow);
    padding: 15px 50px 30px 50px;
}

.section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.task-list {
    list-style: none;
}

.task-list li {
    padding-left: 12px;
    position: relative;
    font-size: 20px;
    line-height: 26px;
}

.task-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* Requirements Section */
.requirements-section {
    background: var(--ley-yellow-alt);
    padding: 30px 50px;
}

.requirements-list {
    list-style: none;
}

.requirements-list li {
    padding-left: 12px;
    position: relative;
    font-size: 20px;
    line-height: 26px;
}

.requirements-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* Benefits Section */
.benefits-section {
    background: var(--ley-yellow);
    padding: 30px 50px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding-left: 12px;
    position: relative;
    font-size: 20px;
    line-height: 26px;
}

.benefits-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--ley-black);
    color: var(--ley-white);
    padding: 15px 40px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 2px solid var(--ley-black);
    border-radius: 4px;
}

.cta-button:hover {
    background: transparent;
    color: var(--ley-black);
}

/* Contact Section */
.contact-section {
    background: var(--ley-yellow);
    padding: 0 0 50px 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: end;
}

.contact-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-info h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-top: 20px;
    line-height: 22px;
}

.contact-info h4:first-child {
    margin-top: 0;
}

.contact-info p {
    font-size: 18px;
    line-height: 22px;
}

.contact-info p a {
    color: var(--ley-black);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.7;
}

/* Image Slider */
.image-slider {
    width: 420px;
    height: 310px;
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide:nth-child(1) {
    background-image: url('img/slide1.jpg');
}

.slide:nth-child(2) {
    background-image: url('img/slide2.jpg');
}

.slide:nth-child(3) {
    background-image: url('img/slide3.jpg');
}

.slide:nth-child(4) {
    background-image: url('img/slide4.jpg');
}

/* Slider Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background: var(--ley-yellow);
    transform: scale(1.2);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--ley-yellow);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--ley-black);
}

.slider-arrow.prev {
    left: 5px;
}

.slider-arrow.next {
    right: 5px;
}
.iframe-wrapper {    
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* Responsive Design */
@media (max-width: 800px) {
    .requirements-section,
    .benefits-section,
    .contact-section {
        padding: 25px 20px;
    }

    .job-title-section{
        padding: 25px 20px 10px 20px;
    }

    .tasks-section{
        padding: 10px 20px 25px 20px;
    }

    .job-posting {
        margin: 0 auto;
    }

    .job-title {
        font-size: 28px;
        line-height: 40px;
    }

    .job-intro {
        font-size: 1.1rem;
    }

    .job-meta {
        font-size: 16px;
        line-height: 20px;
    }
    
    .job-meta span {
        margin: 0 8px;
        display: block;
        height: 0;
        opacity: 0;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .image-slider {
        order: -1;
        height: 260px;
        width: 100%;
    }

    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .contact-info-text{
        margin-top: 30px;
    }

    .task-list li,
    .requirements-list li,
    .benefits-list li {
        font-size: 18px;
        line-height: 22px;
    }
}

@media (max-width: 500px) {

    .job-title {
        font-size: 22px;
    }

}