:root {
    --municipality-teal: #3b939b;
    --municipality-dark: #2d3e4a;
}

.container-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Regions Section */
.regions-section {
    padding: 40px 0;
}

.regions-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: start;
    margin-bottom: 60px;
    color: #000;
}

/* Horizontal Scroll Wrapper */
.regions-scroll-wrapper {
    overflow-x: auto;
    display: flex;
    gap: 25px;
    padding: 20px 5px 40px 5px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar for X-axis */
.regions-scroll-wrapper::-webkit-scrollbar {
    height: 10px;
}

.regions-scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.regions-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--municipality-teal);
    border-radius: 10px;
}

.region-item {
    flex: 0 0 320px;
    /* Fixed width for each card */
    display: flex;
    flex-direction: column;
}

.region-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--municipality-dark);
    height: 520px;
    overflow: visible;
    background: white;
    transition: transform 0.3s ease;
}

.region-card:hover {
    transform: translateY(-5px);
}

.region-banner {
    background-color: var(--municipality-teal);
    color: white;
    padding: 25px 10px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.region-image {
    flex-grow: 1;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

/* Rhombus element */
.rhombus {
    position: absolute;
    width: 44px;
    height: 44px;
    background-color: var(--municipality-teal);
    transform: rotate(45deg);
    z-index: 3;
    left: 20px;
    border: 2px solid var(--municipality-dark);
}

/* Layout variants */
.region-card.banner-top .region-banner {
    order: 1;
    border-bottom: 2px solid var(--municipality-dark);
}

.region-card.banner-top .region-image {
    order: 2;
}

.region-card.banner-top .rhombus {
    top: 76px;
}

.region-card.banner-bottom .region-banner {
    order: 2;
    border-top: 2px solid var(--municipality-dark);
}

.region-card.banner-bottom .region-image {
    order: 1;
}

.region-card.banner-bottom .rhombus {
    bottom: 76px;
}

.region-card-footer {
    text-align: left;
    margin-top: 15px;
}

.btn-more-link {
    color: var(--municipality-teal);
    text-decoration: underline;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Instructions for user */
.scroll-hint {
    text-align: center;
    color: #888;
    margin-top: 20px;
    font-size: 0.9rem;
}
