.hero{
  display: flex;
  background: var(--bg-primary-light);
}
.hero-split {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    margin-top: 11rem;
    padding: 2rem;
    column-gap: 4rem;
}

.hero-split .hero-text {
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-split h1 {
    color: var(--text-on-primary-light);
    margin-bottom: 1rem;
}

.hero-split p {
    color: var(--text-on-secondary);
    margin-bottom: 2rem;
}

.hero-split .hero-image img {
    max-height: 70dvh;
    max-width: 100%;
    width: auto;
    background-color: var(--white);
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 8px 24px rgba(255,100,20,0.5);
    transition: all 0.4s ease;
}
.hero-split .hero-image img:hover{
  transform: scale(1.05);
}

/* Button */
.hero-split .btn-primary {
    background-color: var(--bg-primary);
    color: var(--text-on-primary);
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-split .btn-primary:hover {
    background-color: var(--bg-primary-dark);
    color: var(--text-on-primary-dark);
}


#scroll-locate {
  scroll-margin-top: 80px; /* your fixed navbar height */
}

/* mobile Layout */
@media(min-width:768px) {
    .hero-split {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }

    .hero-split .hero-text {
        margin-bottom: 0;
    }
}
