/* ================= Hero section ================= */
.hero-section {
    margin-top: 3rem;
    position: relative;
    color: #fff;
    min-height: 45vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-items: flex-start;
    padding: 0 15rem;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-bg {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem 2rem;
    border-radius: 6px;
    max-width: 600px;
}


.hero-text-bg p {
    margin-top: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-buttons a {
    padding: .5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
}

.btn-light {
    background: #f5f5f5;
    color: #363636;
}

.btn-danger {
    background: #ff3860;
    color: #fff;
}

/* ================= Sections ================= */
.section-custom {
    padding: 1rem 0;
    background: #23252b;
}

.section-inner {
    max-width: 1600px;
    margin: 0 auto 1rem;
    padding: 0 1.5rem;
}

.section-header {
    text-align: left;
    margin-bottom: 1rem;
}

.section-description {
    color: #fff;
    margin-bottom: 1rem;
}

.see-all-link {
    display: inline-block;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 1rem;
}

.see-all-link::after {
    content: '→';
    margin-left: 5px;
}

.carousel-link {
    display: block;
}

/* Card overlay */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: .5rem;
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    color: #fff;
}

.card-title {
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 .3rem;
}

.card-subtitle {
    font-size: .875rem;
    margin: 0;
}

@media (max-width: 768px) {
    .section-inner {
        padding: 0 1rem;
    }
    .hero-section {
        padding: 2rem;
    }
    .section-header {
        text-align: center;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
  }