/* Content van API */
.homepage_content{
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-size: 18px;
    line-height: 1.6;
}

/* About sectie */
.about_section {
    padding: 80px 0;
    background: white;
}

.about_content_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 100px;
}

.about_images {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.about_images > :nth-child(2){
    position: absolute;
    width: 300px;
    height: auto;
    bottom: -50px;
    right: -50px;
}

.about_images img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.about_text {
    flex: 1;
}

.section_label {
    color: var(--red-primary);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about_text h2 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about_text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 16px;
}

@media (max-width: 900px) {
    .about_content_wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 0 10px;
    }

    .about_images {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 0;
        align-items: flex-start;
        padding-left: 0;
        overflow: hidden;
    }

    .about_images > * {
        width: 50%;
        height: auto;
        position: static;
        display: block;
    }

    .about_text {
        width: 100%;
        flex: unset;
        padding-left: 0;
    }

    .about_images > :nth-child(2){
        right: 0;
    }
}

@media (max-width: 600px) {
    .about_text{
        padding: 0 10px;
    }

    .about_section {
        padding: 40px 0;
    }
    .about_text h2 {
        font-size: 26px;
    }
    .about_text p {
        font-size: 16px;
    }
    .about_content_wrapper {
        gap: 24px;
        padding: 0 10px;
    }

    .about_images{
        padding: 0 10px;
        overflow: hidden;
    }
}

@media (max-width: 425px) {
    .about_images{
        overflow: hidden;
    }

    .about_section {
        padding: 24px 0;
    }
    .about_text h2 {
        font-size: 20px;
    }
    .about_text p {
        font-size: 14px;
    }
    .about_content_wrapper {
        gap: 12px;
        padding: 0 4px;
    }
    .about_images > :nth-child(2) {
        width: 150px;
        right: 10px;
        bottom: -10px;
    }
}

/* Services section */
.services_section {
    padding: 80px 10px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services_header .section_label {
    color: var(--red-primary);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 10px;
}

.services_header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--black);
}

.services_cards {
    display: flex;
    justify-content: space-between;
    gap: var(--card-spacing);
    flex-wrap: wrap;
}

.service_card {
    flex: 1;
    min-width: 280px;
    background: var(--white);
    padding: 30px 20px;
    border-radius: 6px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.3s ease;
}

.service_card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.service_card.red {
    background-color: var(--red-primary);
    color: var(--white);
}

.service_card.white {
    background-color: var(--white);
    color: var(--black);
    border: 1px solid #eee;
}

.service_card .icon {
    margin-bottom: 20px;
    height: 50px;
}

.service_card .icon img {
    max-height: 100%;
}

.service_card .icon.red-bg {
    background-color: var(--red-primary);
    display: inline-block;
    padding: 10px;
    border-radius: 4px;
}

.service_card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service_card p {
    font-size: 14px;
    color: inherit;
    line-height: 1.6;
    flex-grow: 1;
}

.service_card .card_link {
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
    font-size: 14px;
    color: inherit;
    text-decoration: none;
}

.service_card .card_link:hover {
    text-decoration: underline;
}

.services_button {
    margin-top: 50px;
}

.button.red {
    background-color: var(--red-primary);
    color: var(--white);
    padding: 12px 30px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: background 0.3s ease;
}

.button.red:hover {
    background-color: #831a10;
}

/* Media queries */
@media (max-width: 1024px) {
    .services_cards {
      gap: 20px;
    }

    .service_card {
      padding: 25px 18px;
    }

    .services_header h2 {
      font-size: 30px;
    }
}

@media (max-width: 768px) {
    .services_cards {
      flex-direction: column;
      align-items: center;
    }

    .service_card {
      max-width: 100%;
    }

    .services_header h2 {
      font-size: 26px;
    }
}

@media (max-width: 480px) {
    .services_section {
      padding: 60px 15px;
    }

    .services_header h2 {
      font-size: 22px;
    }

    .service_card h3 {
      font-size: 18px;
    }

    .service_card p {
      font-size: 13px;
    }

    .button.red {
      font-size: 13px;
      padding: 10px 20px;
    }
}

@media (max-width: 360px) {
    .services_section {
      padding: 50px 10px;
    }

    .services_header h2 {
      font-size: 20px;
    }

    .card_link {
      font-size: 12px;
    }
}

/* Small heading + web_album */
.small_heading_section{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.small_heading_wrapper{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.small_heading_wrapper > h2{
    font-size: 36px;
    margin-bottom: 20px;
    color: black;
    font-weight: bold;
}

.album_container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 40px 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.album_container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

@media screen and (max-width: 900px) {
    .small_heading_wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .small_heading_wrapper > h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .album_container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 500px) {
    .album_container {
        grid-template-columns: repeat(1, 1fr);
    }
}