/* Hero section */
.hero-section {
    width: 100%;
    height: 1158px;
    background-image: url('../assets/images/images/677d72ad-4c9c-4f24-a4f7-b658353fe4e1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 72px 72px 0 72px;
    position: relative;
}

.hero-title {
    font-family: 'Grape Nuts';
    font-weight: 400;
    font-size: 32px;
    line-height: 35px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: rgba(0,0,0,1);
    max-width: 490px;
}

.hero-subtitle {
    font-family: 'Iowan Old Style', serif;
    font-size: 32px;
    text-align: right;
    color: rgba(0,0,0,1);
    line-height: 50px;
    font-weight: 400;
    margin-left: auto;
    flex-shrink: 0;
}

.hero-subtitle .bold {
    font-weight: 700;
}

/* Discover section */
.discover-section {
    position: absolute;
    bottom: 0;
    left: 2px;
    width: 802px;
    height: 240px;
    background: rgba(255,254,254,0.71);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.discover-box {
    width: 750px;
    height: 128px;
    background: rgba(248,241,238,1);
    margin-right: 24px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 52px;
    cursor: pointer;
}

.discover-text {
    font-family: 'Iowan Old Style', serif;
    font-size: 48px;
    color: rgba(30,27,27,1);
    font-weight: 700;
}

.discover-arrow {
    width: 16.72px;
    height: 29.46px;
    margin-left: auto;
}

/* Features section */
.features-section {
    width: 100%;
    padding: 78px 16px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.features-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 58px;
    max-width: 800px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-image {
    width: 90px;
    height: 90px;
    margin-bottom: 8px;
}

.feature-text {
    font-family: 'Iowan Old Style', serif;
    font-size: 13px;
    text-align: center;
    color: rgba(54,60,62,1);
    line-height: 20px;
    font-weight: 400;
    max-width: 104px;
}

/* Responsive design for homepage */
@media (max-width: 390px) {
    .hero-section {
        height: 600px;
    }

    .hero-content {
        flex-direction: column;
        padding: 40px 20px 0 20px;
        gap: 20px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 28px;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 20px;
        line-height: 30px;
        text-align: left;
    }

    .discover-section {
        width: 100%;
        height: 160px;
        left: 0;
    }

    .discover-box {
        width: 90%;
        height: 80px;
        padding: 0 20px;
    }

    .discover-text {
        font-size: 28px;
    }

    .features-section {
        padding: 40px 10px 10px;
    }

    .features-container { 
        gap: 30px;
        align-items: center;
    }

    .feature-item {
        align-items: center;
    }

    .feature-image {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .feature-text {
        font-size: 12px;
        line-height: 16px;
        max-width: 120px;
    }
}
