* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Avenir', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

h1 {
    position: absolute;
    font-size: 600%;
    z-index: 1;
    top: 45%;
    left: 20%;
    background: linear-gradient(to right, #fff, #89351d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

h2,b {
    font-family: 'AvenirB', Arial, sans-serif;    
}

h2 {
    font-size: 300%;
}

h2 span {
    color:#89351d;
    display: inline-block;
    margin-left: 0.25em;
}

b {
    font-size: 125%;
    line-height: 1.1;
    margin-bottom: 1em;
    display: block;
}

a {
    color:#89351d;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Row 1 - Image Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    background: #f0f0f0;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

ul.slider_ul {
    display: flex;
    gap: 0.5em;
    position: absolute;
    bottom: 1.5em;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
}

ul.slider_ul li {
    width: 1em; 
    height: 1em;
    border-radius: 50%;
    background: #fff;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.8s;
}

ul.slider_ul li.active {
    background: #89351d;
    border-color: #fff;
}

.arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    transition: background 0.3s;
}

.arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}

/* Row 2 - Three Columns */
.row-2 {
    padding: 60px 0;
    background: #f8f9fa;
    position: relative;
}

/*
.row-2::before,
.row-2::after {
    display: block;
    width: 100%;
    height: 7.1em;
    background: url(cloop-welle.png);
    background-size: 100%;
    position: absolute;
    content: '';
    bottom: 100%;
}

.row-2::after {
    bottom: -7.1em;
    transform: rotate(180deg);
}
    */

.three-columns {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 6em;
    align-items: center;
}

.button-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    padding: 0.5em 1em;
    background: #D06926;
    color: white;
    border: none;
    width:10em;
    cursor: pointer;
    font-size: 100%;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    font-family: 'Avenir', Arial, sans-serif;
    border-radius: 0.25em;
}

.btn:hover {
    background: #89351d;
    border-radius: 0.5em;
}

.middle-column h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #222;
}

.middle-column p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.middle-column img {
    max-width: 200px;
    height: auto;
    display: block;
}

.image-anchor {
    display: block;
}

.image-anchor img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
    border-radius: 3em;
    margin-bottom: 0.35em;
}

.image-anchor:hover img {
    transform: scale(1.05);
}

/* Row 3 - Two Columns with Large Images */
.row-3 {
    padding: 6em 0;
    padding-top: 9em;
}

.two-columns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6em;
}

.large-image img {
    display: block;
}

.large-image img.abso {
    position: absolute;
    width: 5em;
    bottom: -1em;
    right: 1em;
}

div.large-image {
    text-align: center;
    position: relative;
}

/* Row 4 - Two Columns (Text + Image with Text) */
.row-4 {
    padding: 60px 0;
    background: #f8f9fa;
    font-size: 85%;
}

.row-4 .two-columns {
    align-items: flex-start;
}

.text-column {
    width: 20em;
    text-align: right;
}

.text-column h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.text-column p {
    font-size: 1.1em;
    line-height: 1.8;
}

.image-text-column {
    width: 20em;
}

.image-text-column img {
    max-width: 300px;
    height: auto;
    margin-bottom: 15px;
    display: block;
}

.image-text-column p {
    font-size: 1em;
    line-height: 1.6;
}

.row-4 img {
    width: 10em;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 1023px) {
    body {
        font-size: 12px;
    }
    .slider-container {
        height: 45vh;
    }
    .three-columns {
        align-items: center;
    }
    .large-image img {
        max-width: 80%; 
    }
    h1 {
        top: 49%;
        left: 6%;
    }
    div.large-image {
        max-width: 30%;
    }
    .two-columns {
        gap: 4em;
    }
}

@media (max-width: 767px) {
    .slider-container {
        height: 300px;
    }

    .arrow {
        padding: 10px 15px;
        font-size: 18px;
    }

    .three-columns,
    .two-columns {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3em;
    }

    .middle-column h1 {
        font-size: 2em;
    }

    .text-column h2 {
        font-size: 1.5em;
    }
    .row-2::before {
        height: 6em;
    }
    .row-2::after {
        bottom: -6em;
    }
    .text-column,
    .image-text-column {
        width: 100%;
        text-align: center;
    }
    h1 {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 450%;
    }
    .button-column {
        flex-direction: row;
        gap: 0.5em;
    }
    .btn {
        width: auto;
    }
    div.large-image {
        max-width: 80%;
        margin: 0 auto;
    }

}

@font-face {
  font-family: Avenir;
  src: url('Avenir\ LT\ 45\ Book\ Regular.ttf');
}

@font-face {
  font-family: AvenirB;
  src: url('Avenir\ LT\ Std\ 45\ Book.otf');
}