/* Hero Image Section Styles */
.hero-image-section {
    margin: 0 auto;
    padding: 0 50px;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .hero-image-section {
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .hero-image-section {
        padding: 0;
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .hero-image-container {
        max-width: 100vw;
        width: 100vw;
        box-sizing: border-box;
    }

    .hero-main-image {
        max-width: 100vw;
        width: 100vw;
        margin: 0;
        box-sizing: border-box;
    }
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-main-image {
    width: 100%;
    height: auto;
    aspect-ratio: 670/377;
    object-fit: cover;
    display: block;
    border-top-left-radius: 140px;
    border-top-right-radius: 140px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    background: #fff;
}

.hero-grain-overlay {
    position: absolute;
    display: none;
    /* legacy - image moved to centered overlay */
}

.hero-image-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 45px 30px 0 30px;
    gap: 20px;
    box-sizing: border-box;
}

/* Centered overlay + progress orbit */
.hero-overlay-center {
    position: fixed;
    /* sticky on viewport */
    right: 36px;
    /* distance from right edge - tweak as needed */
    top: 50%;
    transform: translateY(-50%);
    width: 73px;
    height: 73px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    z-index: 9999;
    background: #fff;
    border-radius: 50%;
}

.hero-overlay-icon {
    position: absolute;
    width: 55px;
    height: 55px;
    border-radius: 100%;
    object-fit: unset;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.hero-grain-icon {
    opacity: 1;
}

.hero-arrow-icon {
    opacity: 0;
    transform: rotate(180deg);
    width: 30px;
    height: 40px;
}

.hero-overlay-center:hover .hero-grain-icon {
    opacity: 0;
}

.hero-overlay-center:hover .hero-arrow-icon {
    opacity: 1;
}

.hero-overlay-center {
    cursor: pointer;
}

.hero-overlay-svg {
    position: absolute;
    width: 90px;
    height: 90px;
    z-index: 1;
}

/* Responsive: reduce size on small screens and hide on very small screens */
@media (max-width: 900px) {
    .hero-overlay-center {
        right: 20px;
        width: 96px;
        height: 96px;
    }

    .hero-overlay-icon {
        width: 56px;
        height: 56px;
    }

    .hero-arrow-icon {
        width: 35px;
        height: auto;
    }

    .hero-overlay-svg {
        width: 96px;
        height: 96px;
    }
}

@media (max-width: 480px) {

    /* Make overlay smaller on small phones */
    .hero-overlay-center {
        right: 12px;
        width: 56px;
        height: 56px;
    }

    .hero-overlay-icon {
        width: 40px;
        height: 40px;
    }

    .hero-arrow-icon {
        width: 22px;
        height: 30px;
    }

    .hero-overlay-svg {
        width: 70px;
        height: 70px;
    }
}

.hero-orbit-bg {
    fill: none;
    stroke: rgba(0, 0, 0, 0.06);
    stroke-width: 2.11px;
}

.hero-orbit-circle {
    fill: none;
    stroke: var(--Brown, #833C1E);
    stroke-width: 2.11px;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke-dasharray: 289;
    /* approximate circumference for r=46 -> 2*pi*46 ≈ 289 */
    stroke-dashoffset: 289;
    transition: stroke-dashoffset 0.1s linear;
}

.hero-info-left {
    display: flex;
    flex-direction: column;
    gap: 13px;
    min-width: 120px;
    width: 167px;
}

.hero-contact-number {
    color: #833C1E;
    font-family: "General Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    width: 100%;
    margin: 0;
}

.hero-contact-location {
    color: #181818;
    font-family: "General Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    width: 100%;
}

.hero-info-right {
    color: #B4B2AD;
    text-align: right;
    font-family: "General Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 24px;
    font-style: normal;
    margin: 0;
    font-weight: 400;
    line-height: 1.2;
    width: 417px;
    min-width: 200px;
}

@media (max-width: 1024px) {
    .hero-image-container {
        max-width: 100vw;
    }

    .hero-main-image {
        max-width: 100vw;
        border-top-left-radius: 80px;
        border-top-right-radius: 80px;
    }

    .hero-image-info {
        max-width: 98vw;
        padding: 32px 20px 0 20px;
        gap: 16px;
        box-sizing: border-box;
    }

    .hero-info-left {
        gap: 8px;
        width: 120px;
    }

    .hero-contact-number,
    .hero-contact-location {
        font-size: 18px;
    }

    .hero-info-right {
        font-size: 18px;
        width: 220px;
    }
}

@media (max-width: 600px) {
    .hero-image-container {
        max-width: 100vw;
    }

    .hero-main-image {
        max-width: 100vw;
        border-top-left-radius: 32px;
        border-top-right-radius: 32px;
    }

    .hero-image-info {
        align-items: flex-start;
        max-width: 98vw;
        padding: 20px 20px 0 20px;
        gap: 8px;
        box-sizing: border-box;
    }

    .hero-info-left {
        width: 100%;
        min-width: 0;
        gap: 4px;
    }

    .hero-contact-number,
    .hero-contact-location {
        font-size: 15px;
    }

    .hero-info-right {
        font-size: 13px;
        width: 100%;
        min-width: 0;
        text-align: left;
    }
}

/* Tablet Responsive Styles */
@media (min-width: 769px) and (max-width: 1024px) {

    .hero-image-section {
        padding: 0 13px;
    }

    .hero-grain-overlay {
        width: 60px;
        height: 60px;
    }

    .hero-image-info {
        padding: 35px 20px 0;
        text-align: right;
    }

    .hero-contact-number,
    .hero-contact-location,
    .hero-info-right {
        font-size: 20px;
    }
}

/* Small mobile */
@media (max-width: 360px) {


    .hero-grain-overlay {
        width: 40px;
        height: 40px;
        right: 20px;
        bottom: 40px;
        top: auto;
    }

    .hero-contact-number,
    .hero-contact-location {
        font-size: 14px;
    }

    .hero-info-right {
        font-size: 12px;
    }
}