


/* dilla-slider.css */
.dilla-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
}

.dilla-slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.dilla-slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.dilla-slide-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
}

@media (min-width: 1024px) {
    .dilla-slide-inner {
        flex-direction: row;
        padding: 0 4rem;
    }
}

/* Image side 
.dilla-slide-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .dilla-slide-image {
        width: 50%;
    }
}

.dilla-slide-image.curved {
    border-radius: 0 100% 100% 0 / 0 50% 50% 0;
    overflow: hidden;
}

.dilla-slide-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
*/

/* Image side - fixed aspect ratio for consistent curve */
.dilla-slide-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1; /* Adjust as needed: 16/9, 1/1, 4 / 3 etc. */
}

@media (min-width: 1024px) {
    .dilla-slide-image {
        width: 70%;
    }
}

.dilla-slide-image.curved {
   /* border-radius: 0 100% 100% 0 / 0 50% 50% 0;  Keeps the original curve */
   border-radius: 0 80% 80% 0;
    overflow: hidden;
}

.dilla-slide-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Ensures image fills the container without distortion */
}




/* Content side */
.dilla-slide-content {
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1024px) {
    .dilla-slide-content {
        width: 50%;
        padding: 3rem;
    }
}

.slide-headline {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .slide-headline {
        font-size: 2.5rem;
    }
}

.slide-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.slide-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.slide-buttons .button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.button-primary {
    background-color: #fff;
    color: #2C5234;
    border: 2px solid #2C5234;
}

.button-primary:hover {
    background-color: #8FBC8F;
    color: #fff;
    border-color: #8FBC8F;
}

.button-secondary {
    background-color: transparent;
    color: inherit;
    border: 2px solid currentColor;
}

.button-secondary:hover {
    background-color: rgba(255,255,255,0.2);
}

.arrow {
    transition: transform 0.2s;
    display: inline-block;
}

.button:hover .arrow {
    transform: translate(3px, -3px);
}

/* Navigation arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2C5234;
    transition: background 0.3s;
}

.slider-nav:hover {
    background: #fff;
}

.slider-nav.prev {
    left: 1rem;
}

.slider-nav.next {
    right: 1rem;
}

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dots .dot.active {
    background: #2C5234;
}

/* Mobile adjustments */
@media (max-width: 1023px) {
    .dilla-slide {
        min-height: auto;
        padding: 2rem 0;
    }
    .dilla-slide-image.curved {
        border-radius: 0;
        margin-bottom: 1rem;
    }
    .slide-buttons {
        justify-content: center;
    }
}